|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.wisc.trace.urcsdk.client.uisocket.types.AbstractUISocketElement
public abstract class AbstractUISocketElement
AbstractUISocketElement is an abstract implementation of the
IUISocketElement interface. It provides for the common functionality all
UI Socket Elements require.
Created on: Sep 7, 2004
| Field Summary | |
|---|---|
protected java.util.Set<IUISocketElement> |
dependents
|
protected java.lang.String |
id
|
protected IInteractor |
interactor
|
protected java.util.List<ISocketElementListener> |
listeners
List of ISocketElementListener's |
protected java.util.logging.Logger |
logger
|
protected UISocketDocument |
parent
|
protected ElementRef |
ref
|
protected boolean |
secret
|
protected boolean |
sensitive
|
protected ClientSession |
session
|
protected java.lang.String |
sessionId
|
protected XSDSimpleType |
simpleType
|
protected UISocketMirror |
socket
|
protected SocketDependency |
socketDependency
|
protected java.util.Set<IUISocketElement> |
supports
|
protected boolean |
timeout
|
protected java.lang.String |
type
|
protected java.lang.Object |
value
|
| Constructor Summary | |
|---|---|
AbstractUISocketElement()
Creates a new AbstractUISocketElement instance. |
|
AbstractUISocketElement(UISocketDocument parent,
UISocketMirror socket,
org.w3c.dom.Element rootElement)
Creates a new AbstractUISocketElement instance. |
|
AbstractUISocketElement(UISocketMirror socket)
Creates a new AbstractUISocketElement instance. |
|
| Method Summary | |
|---|---|
void |
checkDependencies()
|
void |
checkDependents()
|
java.lang.Object |
clone()
Returnes a copy of the object |
IResource |
getAccessKey(UserPreferences prefs)
|
java.util.Set<IUISocketElement> |
getDependents()
|
IResource |
getHelp()
|
java.lang.String |
getId()
Returns the Id of the UISocketElement |
IInteractor |
getInteractor()
|
java.util.List<java.lang.String> |
getKeywords(UserPreferences prefs)
|
IResource |
getLabel()
|
UISocketDocument |
getParent()
|
ElementRef |
getRef()
|
IResource |
getResource(java.lang.String name)
|
boolean |
getSecret()
|
ClientSession |
getSession()
|
UISocketMirror |
getSocket()
|
SocketDependency |
getSocketDependency()
|
java.util.Set<IUISocketElement> |
getSupports()
|
java.lang.String |
getType()
Returns the type of this element. |
java.lang.Object |
getValue()
Returns the current value of this element. |
XSDSimpleType |
getXSDSimpleType()
|
abstract boolean |
isWritable()
Returns true if this element is writable. |
void |
parse(org.w3c.dom.Element rootElement)
Parses the given element for the data required to create a |
void |
registerDependent(IUISocketElement socketElement)
|
void |
registerSupport(IUISocketElement socketElement)
|
void |
setInteractor(IInteractor interactor)
|
void |
setListener(ISocketElementListener listener)
|
void |
setParent(UISocketDocument parent)
|
void |
setSession(ClientSession session)
|
void |
setSessionId(java.lang.String sessionId)
|
void |
setSocket(UISocketMirror socket)
|
void |
setValue(java.lang.String value)
|
boolean |
setValueRequest(java.lang.String value)
|
void |
setXSDSimpleType(XSDSimpleType simpleType)
|
java.lang.String |
toString()
Returns a String representation of this object. |
void |
updateValue()
|
abstract java.lang.Object |
validate(java.lang.String value)
|
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface edu.wisc.trace.urcsdk.client.uisocket.types.IUISocketElement |
|---|
isExecutable, isReadable |
| Field Detail |
|---|
protected java.util.Set<IUISocketElement> dependents
protected java.lang.String id
protected java.util.List<ISocketElementListener> listeners
List of ISocketElementListener's
protected java.util.logging.Logger logger
protected UISocketDocument parent
protected ElementRef ref
protected boolean secret
protected boolean sensitive
protected ClientSession session
protected java.lang.String sessionId
protected UISocketMirror socket
protected SocketDependency socketDependency
protected java.util.Set<IUISocketElement> supports
protected boolean timeout
protected java.lang.String type
protected java.lang.Object value
protected XSDSimpleType simpleType
protected IInteractor interactor
| Constructor Detail |
|---|
public AbstractUISocketElement()
AbstractUISocketElement instance.
public AbstractUISocketElement(UISocketMirror socket)
AbstractUISocketElement instance.
socket - an UISocket value
public AbstractUISocketElement(UISocketDocument parent,
UISocketMirror socket,
org.w3c.dom.Element rootElement)
throws UrcException
AbstractUISocketElement instance.
parent - an UISocketDocument valuesocket - an UISocket valuerootElement - an Element value
UrcException - if an error occurs| Method Detail |
|---|
public java.lang.Object clone()
IUISocketElement
clone in interface IUISocketElementclone in class java.lang.ObjectObject valuepublic IResource getAccessKey(UserPreferences prefs)
public java.util.Set<IUISocketElement> getDependents()
public IResource getHelp()
public java.lang.String getId()
IUISocketElementUISocketElement
getId in interface IUISocketElementString valuepublic java.util.List<java.lang.String> getKeywords(UserPreferences prefs)
public IResource getLabel()
public UISocketDocument getParent()
public ElementRef getRef()
public IResource getResource(java.lang.String name)
public UISocketMirror getSocket()
public SocketDependency getSocketDependency()
public java.util.Set<IUISocketElement> getSupports()
public java.lang.String getType()
IUISocketElement
getType in interface IUISocketElementString valuepublic java.lang.Object getValue()
IUISocketElement
getValue in interface IUISocketElementObject valuepublic abstract boolean isWritable()
IUISocketElement
isWritable in interface IUISocketElementboolean value
public void parse(org.w3c.dom.Element rootElement)
throws UrcException
IUISocketElement
parse in interface IUISocketElementrootElement - the Element object to parse
UrcException - if an error occurspublic void registerDependent(IUISocketElement socketElement)
public void registerSupport(IUISocketElement socketElement)
public void setListener(ISocketElementListener listener)
public void setParent(UISocketDocument parent)
public void setSessionId(java.lang.String sessionId)
public void setSocket(UISocketMirror socket)
public void setValue(java.lang.String value)
public void updateValue()
throws UrcException
UrcExceptionpublic abstract java.lang.Object validate(java.lang.String value)
public boolean setValueRequest(java.lang.String value)
throws UrcException
UrcExceptionpublic void checkDependencies()
public java.lang.String toString()
IUISocketElementString representation of this object.
toString in interface IUISocketElementtoString in class java.lang.ObjectString valuepublic void checkDependents()
public ClientSession getSession()
public void setSession(ClientSession session)
public boolean getSecret()
public void setXSDSimpleType(XSDSimpleType simpleType)
public XSDSimpleType getXSDSimpleType()
public IInteractor getInteractor()
public void setInteractor(IInteractor interactor)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||