|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.wisc.trace.urcsdk.client.uisocket.UISocketMirror
public class UISocketMirror
UISocketMirror is the object representation of a Target's Socket.
It provides functionality for opening new sessions and for propagating
global variable changes.
| Constructor Summary | |
|---|---|
UISocketMirror(TargetMirror parentTarget,
UISocketDescription socketDescription)
Creates a new UISocket instance. |
|
| Method Summary | |
|---|---|
ClientSession |
addSession(ClientSession session)
addSession |
java.lang.String |
getAccessKey(UserPreferences prefs)
Describe getAccessKey method here. |
java.util.List<IInteractor> |
getAllInteractors()
getAllInteractors all interactors for this UISocket |
IResource |
getElementHelp(ElementRef ref,
Constants.ResourceRole helpType,
UserPreferences prefs)
getElementHelp help text for the specified element |
IResource |
getElementLabel(ElementRef ref,
java.lang.String valueRef,
UserPreferences prefs)
getElementLabel returns a value-specific label for an element |
IResource |
getElementLabel(ElementRef ref,
UserPreferences prefs)
getElementLabel a label for the specified element |
java.lang.String |
getHelpEffect()
getHelpEffect gets the effect of the socket |
java.lang.String |
getHelpPurpose()
getHelpPurpose gets the purpose of a socket |
IResource |
getIcon(UserPreferences prefs)
getIcon returns an image |
java.lang.String |
getID()
getID gets the socket description's id attribute |
java.lang.String[] |
getKeywords()
getKeywords returns keywords for the socket |
IResource |
getLabel(UserPreferences prefs)
getLabel returns a label for the UISocket |
java.lang.String |
getName()
getName returns the name of the socket description |
ClientSession |
getSession(java.lang.String sessionId)
getSession returns a specific session on this socket |
java.util.List<ClientSession> |
getSessions()
getSessions returns all open sessions on this socket. |
TargetMirror |
getTarget()
getTarget returns the associated Target |
UiidDocument |
getUiidDocument()
getUiidDocument returns the Uiid document associated with this socket |
IUISocketElement |
getUISocketElementbyId(java.lang.String elementId)
getUISocketElementById returns an IUISocketElement for the specified element |
IUISocketElement |
getUISocketElementByRef(ElementRef ref)
getUISocketElementByRef returns an IUISocketElement for the specified element |
java.util.List<IUISocketElement> |
getUISocketElements()
getSocketElements all socket elements for this socket |
java.util.List<IUISocketElement> |
getUISocketElementsForSession(ClientSession session)
getSocketElementsForSession returns all elements needed for a new Session. |
XPathImpl |
getXPathParser()
getXPathParser the parser used by this UISocket |
ClientSession |
removeSession(ClientSession session)
removeSession |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UISocketMirror(TargetMirror parentTarget,
UISocketDescription socketDescription)
throws UrcException
UISocket instance.
parentTarget - a Target valuesocketDescription - an UISocketDescription value
UrcException| Method Detail |
|---|
public java.lang.String getAccessKey(UserPreferences prefs)
getAccessKey method here.
String valuepublic XPathImpl getXPathParser()
getXPathParser the parser used by this UISocket
XPathImplpublic java.util.List<IInteractor> getAllInteractors()
getAllInteractors all interactors for this UISocket
List of all interactors for this UISocket
public IResource getElementHelp(ElementRef ref,
Constants.ResourceRole helpType,
UserPreferences prefs)
getElementHelp help text for the specified element
ref - a String valuehelpType - a String value
IResource value
public IResource getElementLabel(ElementRef ref,
UserPreferences prefs)
getElementLabel a label for the specified element
ref - a String value
IResource value
public IResource getElementLabel(ElementRef ref,
java.lang.String valueRef,
UserPreferences prefs)
getElementLabel returns a value-specific label for an element
ref - String specifies the element refvalueRef - String will get a value-specific label
IResource valuepublic java.lang.String getHelpEffect()
getHelpEffect gets the effect of the socket
String valuepublic java.lang.String getHelpPurpose()
getHelpPurpose gets the purpose of a socket
String valuepublic IResource getIcon(UserPreferences prefs)
getIcon returns an image
IResource valuepublic java.lang.String getID()
getID gets the socket description's id attribute
String valuepublic java.lang.String[] getKeywords()
getKeywords returns keywords for the socket
String[] valuepublic IResource getLabel(UserPreferences prefs)
getLabel returns a label for the UISocket
IResource valuepublic java.lang.String getName()
getName returns the name of the socket description
String valuepublic java.util.List<ClientSession> getSessions()
getSessions returns all open sessions on this socket.
List of all open sessionspublic ClientSession getSession(java.lang.String sessionId)
getSession returns a specific session on this socket
sessionId -
ClientSession with the corresponding sessionIDpublic IUISocketElement getUISocketElementByRef(ElementRef ref)
getUISocketElementByRef returns an IUISocketElement for the specified element
ref - a String value
IUISocketElement valuepublic IUISocketElement getUISocketElementbyId(java.lang.String elementId)
getUISocketElementById returns an IUISocketElement for the specified element
elementId - a String value
IUISocketElement valuepublic java.util.List<IUISocketElement> getUISocketElementsForSession(ClientSession session)
getSocketElementsForSession returns all elements needed for a new Session.
List of all elements needed for a new Sessionpublic TargetMirror getTarget()
getTarget returns the associated Target
Targetpublic UiidDocument getUiidDocument()
getUiidDocument returns the Uiid document associated with this socket
public ClientSession addSession(ClientSession session)
throws UrcException
addSession
Session value
UrcExceptionpublic ClientSession removeSession(ClientSession session)
removeSession
Session value
UrcException
public java.util.List<IUISocketElement> getUISocketElements()
throws UrcException
getSocketElements all socket elements for this socket
List of all socket elements for this socket
UrcException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||