|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
All the components implement this interface
| Method Summary | |
void |
addFormKeyChangeListener(FormKeyChangeListener listener)
Registers listener so that it will receive FormKeyChangeEvents. |
FormKey |
display()
Returns a FormKey, which has the componentId & the formName to which control should be passed |
ComponentDefinition |
getComponentDefinition()
Returns the ComponentDefinition based on which this Component was created |
String |
getComponentId()
Returns the Id for the component |
FormKey |
getContainerFormKey()
Getter for property containerFormKey. |
FormKeyChangeListener[] |
getFormKeyChangeListeners()
Returns an array of all the FormKeyChangeListeners registered on this component. |
FormKey |
getReturnToFormKey()
Getter for property returnToFormKey. |
String |
getToken()
Getter for property token. |
UserSession |
getUserSession()
Returns the UserSession, under which the Component was created |
boolean |
isActive()
Returns a true if the component is still active. |
void |
quit()
This will kill all the Forms Finally de-register itself from the UserSession |
FormKey |
quitAndReturnToCallingScreen()
This should invoke the quit() method, and then return the FormKey for the calling screen. |
void |
removeFormKeyChangeListener(FormKeyChangeListener listener)
Unregisters listener so that it will no longer receive FormKeyChangeEvents. |
void |
setContainerFormKey(FormKey containerFormKey)
Setter for property containerFormKey. |
void |
setReturnToFormKey(FormKey returnToFormKey)
Setter for property returnToFormKey. |
void |
setToken(String token)
Setter for property token. |
| Method Detail |
public FormKey display()
throws FrameworkException,
ApplicationExceptions
FrameworkException - if any framework error occurs.
ApplicationExceptions - if any application error occurs.public void quit()
public FormKey quitAndReturnToCallingScreen()
public String getComponentId()
public ComponentDefinition getComponentDefinition()
public UserSession getUserSession()
public FormKey getReturnToFormKey()
public void setReturnToFormKey(FormKey returnToFormKey)
returnToFormKey - New value of property returnToFormKey.public FormKey getContainerFormKey()
public void setContainerFormKey(FormKey containerFormKey)
containerFormKey - New value of property containerFormKey.public void addFormKeyChangeListener(FormKeyChangeListener listener)
listener - the FormKeyChangeListener to register.public void removeFormKeyChangeListener(FormKeyChangeListener listener)
listener - the FormKeyChangeListener to be removed.public FormKeyChangeListener[] getFormKeyChangeListeners()
public boolean isActive()
public String getToken()
public void setToken(String token)
token - New value of property token.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||