|
||||||||||
| 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
edu.wisc.trace.urcsdk.client.uisocket.types.UISocketCommand
edu.wisc.trace.urcsdk.client.uisocket.types.BasicCommand
public class BasicCommand
BasicCommand is the variant of UISocketCommand that
provides four separate states: ready, done, in-progress, and error.
Created on: Apr 28, 2005
Known bugs: None
Thread safe: Yes
| Field Summary |
|---|
| Fields inherited from class edu.wisc.trace.urcsdk.client.uisocket.types.AbstractUISocketElement |
|---|
dependents, id, interactor, listeners, logger, parent, ref, secret, sensitive, session, sessionId, simpleType, socket, socketDependency, supports, timeout, type, value |
| Constructor Summary | |
|---|---|
BasicCommand()
|
|
BasicCommand(UISocketDocument parent,
UISocketMirror socket,
org.w3c.dom.Element rootElement)
Creates a new BasicCommand instance with state READY. |
|
BasicCommand(UISocketMirror socket)
Creates a new BasicCommand instance with state READY. |
|
| Method Summary | |
|---|---|
BasicCommand |
clone()
Describe clone method here. |
IInteractor |
getInteractor()
|
java.lang.String |
invokeCommandRequest()
Attempts to invoke the target command bound to this element. |
boolean |
isExecutable()
|
boolean |
isReadable()
|
void |
setInteractor(IInteractor interactor)
|
| Methods inherited from class edu.wisc.trace.urcsdk.client.uisocket.types.UISocketCommand |
|---|
hasSelection, isWritable, parse, validate |
| Methods inherited from class edu.wisc.trace.urcsdk.client.uisocket.types.AbstractUISocketElement |
|---|
checkDependencies, checkDependents, getAccessKey, getDependents, getHelp, getId, getKeywords, getLabel, getParent, getRef, getResource, getSecret, getSession, getSocket, getSocketDependency, getSupports, getType, getValue, getXSDSimpleType, registerDependent, registerSupport, setListener, setParent, setSession, setSessionId, setSocket, setValue, setValueRequest, setXSDSimpleType, toString, updateValue |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BasicCommand(UISocketMirror socket)
BasicCommand instance with state READY.
socket - a UISocket object
public BasicCommand(UISocketDocument parent,
UISocketMirror socket,
org.w3c.dom.Element rootElement)
throws UrcException
BasicCommand instance with state READY.
parent - a UISocketDocument object.socket - a UISocket object.rootElement - a Element object.
UrcException - if parse fails.public BasicCommand()
| Method Detail |
|---|
public boolean isExecutable()
public boolean isReadable()
public IInteractor getInteractor()
getInteractor in class AbstractUISocketElementpublic void setInteractor(IInteractor interactor)
setInteractor in class AbstractUISocketElementpublic BasicCommand clone()
clone method here.
clone in interface IUISocketElementclone in class UISocketCommandBasicCommand value
public java.lang.String invokeCommandRequest()
throws UrcException
UISocketCommand
invokeCommandRequest in class UISocketCommandString variable indicating true on success and false on failure.
UrcException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||