|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IUISocketElement
IUISocketElement is the interface used for creating
UI Socket Elements. All socket element implementations must derive
from this class to be compliant.
Created on: Aug 27, 2004
| Method Summary | |
|---|---|
void |
checkDependencies()
checkDependencies checks to see whether a write is accepted based on XPath. |
IResource |
getAccessKey(UserPreferences prefs)
getAccessKey returns an access key for the socket element. |
java.util.Set<IUISocketElement> |
getDependents()
getDependents gets all the dependents of this socket element |
IResource |
getHelp()
getHelp returns a help item for the socket element |
IInteractor |
getInteractor()
getInteractor returns the current IInteractor for this element. |
java.util.List<java.lang.String> |
getKeywords(UserPreferences prefs)
getKeywords |
IResource |
getLabel()
getLabel returns the label associated with the socket element |
ElementRef |
getRef()
getRef returns the ref of the socket element |
IResource |
getResource(java.lang.String name)
getResource |
boolean |
getSecret()
getSecret returns true if socket element is secret |
ClientSession |
getSession()
getSession gets the current Session |
UISocketMirror |
getSocket()
getSocket returns the socket element's UISocket |
SocketDependency |
getSocketDependency()
getSocketDependency gets the current SocketDependency for this element. |
XSDSimpleType |
getXSDSimpleType()
getXSDSimpleType returns the simpleType associated with a variable, if any |
boolean |
isExecutable()
Returns true if the element's value is executable |
boolean |
isReadable()
isReadable returns true if the element's value can be read |
void |
registerDependent(IUISocketElement e)
registerDependent registers another socket element as having an XPath dependency on this one. |
void |
registerSupport(IUISocketElement se)
|
void |
setInteractor(IInteractor interactor)
setInteractor sets the IInteractor for this element. |
void |
setListener(ISocketElementListener socketElementListener)
setListener set the SocketElementListener for this element. |
void |
setParent(UISocketDocument parent)
setParent sets which UISocketDocument this element is part of. |
void |
setSession(ClientSession session)
setSession sets the Session for this socket element. |
void |
setSocket(UISocketMirror socket)
setSocket sets which UISocket this socket element is part of. |
void |
setValue(java.lang.String value)
setValue sets the value of the element |
boolean |
setValueRequest(java.lang.String value)
setValueRequest is called by the Urc to request a change to the socket element. |
void |
setXSDSimpleType(XSDSimpleType simpleType)
Adds xsd:simpleType information to base types for XSD support |
void |
updateValue()
updateValue updates the value of the socket element |
| Methods inherited from interface edu.wisc.trace.urcsdk.base.IUISocketElement |
|---|
clone, getId, getType, getValue, isWritable, parse, toString |
| Method Detail |
|---|
IResource getAccessKey(UserPreferences prefs)
getAccessKey returns an access key for the socket element.
IResource valueIResource getHelp()
getHelp returns a help item for the socket element
IResource valuejava.util.List<java.lang.String> getKeywords(UserPreferences prefs)
getKeywords
List valueIResource getLabel()
getLabel returns the label associated with the socket element
IResource valueElementRef getRef()
getRef returns the ref of the socket element
String valueIResource getResource(java.lang.String name)
getResource
name - a String value
IResource valueUISocketMirror getSocket()
getSocket returns the socket element's UISocket
UISocket value
void updateValue()
throws UrcException
updateValue updates the value of the socket element
UrcExceptionboolean isReadable()
isReadable returns true if the element's value can be read
boolean valuevoid setValue(java.lang.String value)
setValue sets the value of the element
value - boolean isExecutable()
boolean valuevoid setParent(UISocketDocument parent)
setParent sets which UISocketDocument this element is part of.
parent - an UISocketDocument valuevoid setSocket(UISocketMirror socket)
setSocket sets which UISocket this socket element is part of.
socket - an UISocket value
boolean setValueRequest(java.lang.String value)
throws UrcException
setValueRequest is called by the Urc to request a change to the socket element.
value - a String value
boolean value
UrcExceptionvoid setListener(ISocketElementListener socketElementListener)
setListener set the SocketElementListener for this element.
socketElementListener - void setInteractor(IInteractor interactor)
setInteractor sets the IInteractor for this element.
interactor - IInteractor getInteractor()
getInteractor returns the current IInteractor for this element.
IInteractor for this elementSocketDependency getSocketDependency()
getSocketDependency gets the current SocketDependency for this element.
SocketDependency for the elementvoid registerDependent(IUISocketElement e)
registerDependent registers another socket element as having an XPath dependency on this one.
e - void registerSupport(IUISocketElement se)
se - void checkDependencies()
checkDependencies checks to see whether a write is accepted based on XPath.
void setSession(ClientSession session)
setSession sets the Session for this socket element.
session - java.util.Set<IUISocketElement> getDependents()
getDependents gets all the dependents of this socket element
Set of of all of the dependents of this socket elementClientSession getSession()
getSession gets the current Session
ClientSession objectboolean getSecret()
getSecret returns true if socket element is secret
void setXSDSimpleType(XSDSimpleType simpleType)
XSDSimpleType getXSDSimpleType()
getXSDSimpleType returns the simpleType associated with a variable, if any
XSDSimpleType associtated with the variable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||