display() Returns a FormKey, which has the componentId & the formName to which control should be passed
throws: FrameworkException - if any framework error occurs. throws: ApplicationExceptions - if any application error occurs.
getContainerFormKey() Getter for property containerFormKey.
This property is useful when this component is being rendered as a tile inside another component.
The outer component is expected to set this property on this component.
The outer component is also expected to register the FormKeyChangeListener on this component.
The ActionBase will intercept all FormKeys for this component.
quitAndReturnToCallingScreen() This should invoke the quit() method, and then return the FormKey for the calling screen.
The FormKey should have been set by a call to setReturnToFormKey().
The FormKey for the caling screen.
setContainerFormKey(FormKey containerFormKey) Setter for property containerFormKey.
This property is useful when this component is being rendered as a tile inside another component.
The outer component is expected to set this property on this component.
The outer component is also expected to register the FormKeyChangeListener on this component.
The ActionBase will intercept all FormKeys for this component.
Registers listener so that it will receive FormKeyChangeEvents.
The ActionBase typically creates the FormKeyChangeEvent object, when processing an event for a component, that has a ContainerFormKey.
It will then fire the FormKeyChangeListener registered with the component, passing the FormKeyChangeEvent object.
The Component will fire the FormKeyChangeEvents on the listeners during the quit(), passing the ReturnToFormKey.
Parameters: listener - the FormKeyChangeListener to register.
Returns a FormKey, which has the componentId & the formName to which control should be passed
throws: FrameworkException - if any framework error occurs. throws: ApplicationExceptions - if any application error occurs. the FormKey object
Getter for property containerFormKey.
This property is useful when this component is being rendered as a tile inside another component.
The outer component is expected to set this property on this component.
The outer component is also expected to register the FormKeyChangeListener on this component.
The ActionBase will intercept all FormKeys for this component. It will then fire the FormKeyChangeEvents on the listeners. The ActionBase will then return the ContainerFormKey.
The Component will fire the FormKeyChangeEvents on the listeners during the quit(), passing the ReturnToFormKey.
All this helps render the tiles correctly.
Value of property containerFormKey.
Returns an array of all the FormKeyChangeListeners registered on this component.
all of the component's FormKeyChangeListeners or a null if no ancestor listeners are currently registered.
Returns a true if the component is still active. The component should be set to inactive status after a quit().
a true if the component is still active.
This should invoke the quit() method, and then return the FormKey for the calling screen.
The FormKey should have been set by a call to setReturnToFormKey().
The FormKey for the caling screen. A null will be returned, if no calling screen was specified.
Unregisters listener so that it will no longer receive FormKeyChangeEvents.
Parameters: listener - the FormKeyChangeListener to be removed.
setContainerFormKey
public void setContainerFormKey(FormKey containerFormKey)(Code)
Setter for property containerFormKey.
This property is useful when this component is being rendered as a tile inside another component.
The outer component is expected to set this property on this component.
The outer component is also expected to register the FormKeyChangeListener on this component.
The ActionBase will intercept all FormKeys for this component. It will then fire the FormKeyChangeEvents on the listeners. The ActionBase will then return the ContainerFormKey.
The Component will fire the FormKeyChangeEvents on the listeners during the quit(), passing the ReturnToFormKey.
All this helps render the tiles correctly.
Parameters: containerFormKey - New value of property containerFormKey.
setReturnToFormKey
public void setReturnToFormKey(FormKey returnToFormKey)(Code)
Setter for property returnToFormKey.
This FormKey determines the screen to display when quitting from a component.
Parameters: returnToFormKey - New value of property returnToFormKey.