|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IInteractor
IInteractor is an interface for implementing
new interactors that can be bound to socket elements in
the PreT document.
| Method Summary | |
|---|---|
int |
getNavindex()
Returns the int value indicating this interactor's navindex (set by setNavindex). |
IUISocketElement |
getSocketElement()
getSocketElement returns the interactor's bound socket element. |
java.lang.Object |
getUIComponent()
getUIComponent returns the UI component that represents this
interactor. |
void |
parse()
Parses the interactor starting from the root element (specified by called setRootElement). |
void |
setID(java.lang.String id)
Set this interactor's ID. |
void |
setNavindex(int i)
Sets the navindex for this interactor. |
void |
setRootElement(org.w3c.dom.Element rootElement)
Sets the root element of this interactor for parsing purposes. |
void |
setSocketElement(IUISocketElement socketElement)
setIUISocketElement sets the interactor's bound socket element. |
void |
setWidget(Widget w)
Sets this interactor's renderable widget to the value specified. |
| Method Detail |
|---|
java.lang.Object getUIComponent()
getUIComponent returns the UI component that represents this
interactor. For example, if the UI is Swing, the returned component would be
a Swing component such as a JPanel.
Object value that is the UI component to be rendered.IUISocketElement getSocketElement()
getSocketElement returns the interactor's bound socket element.
IUISocketElement value; the bound socket element.void setSocketElement(IUISocketElement socketElement)
setIUISocketElement sets the interactor's bound socket element.
socketElement - the socket element that is to be bound to this interactor.void setNavindex(int i)
i - an int value indicating this interactor's place in the tabbing order.void setID(java.lang.String id)
id - a String value indicating this interactor's ID.void setWidget(Widget w)
w - a Widget value that is the renderable UI component of this interactor.void setRootElement(org.w3c.dom.Element rootElement)
rootElement - a Element object that represents the XML element.
void parse()
throws UrcException
setRootElement).
UrcExceptionint getNavindex()
int value indicating this interactor's navindex (set by setNavindex).
int indicating this interactor's navindex (set by setNavindex).
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||