|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectariba.ui.wizard.core.WizardFrame
public final class WizardFrame
Field Summary | |
---|---|
static java.lang.String |
ActionParamKey
|
Constructor Summary | |
---|---|
WizardFrame(WizardFrameMeta frameMeta,
WizardStep step,
Wizard wizard)
|
|
WizardFrame(Wizard wizard,
java.lang.String name,
java.lang.String label,
java.lang.String source)
Constructor |
|
WizardFrame(Wizard wizard,
java.lang.String name,
java.lang.String label,
java.lang.String source,
java.lang.String formEncoding,
WizardFrameDelegate delegate,
java.lang.String[] actionNames)
Constructor |
Method Summary | |
---|---|
WizardAction[] |
getActions()
Returns the list of actions including both built-in and custom actions |
java.lang.Object |
getAttribute(java.lang.Object key)
Returns the value for the attribute with the given key. |
WizardFrame |
getBackFrame()
Returns the frame set the previously visited frame. |
java.lang.String |
getDefaultAction()
Returns the default action name |
java.lang.String |
getDefaultDelegateName()
Returns the class name of the default frame delegate as specified in the xml |
WizardFrameDelegate |
getDelegate()
Returns the wizard frame delegate instance. |
java.lang.String |
getFormEncoding()
Returns the form encoding type |
java.lang.String |
getLabel()
Returns the label |
java.lang.String |
getName()
Returns the frame name |
WizardFrame |
getOriginatingFrame()
Returns the frame that is responsible for taking form values and handling actions originated from this target. |
java.lang.String |
getSource()
Returns the resource of the frame |
WizardStep |
getStep()
Returns the enclosing step for this frame. |
boolean |
getSubmitFormDefault()
|
java.lang.String |
getType()
|
Wizard |
getWizard()
Returns the wizard |
boolean |
isDialogFrame()
Returns true if the this is a dialog frame. |
boolean |
isValid()
|
boolean |
isVisible()
Returns true if this frame is visible. |
void |
removeAttribute(java.lang.Object key)
Removes a particular attribute from this frame |
void |
setActions(WizardAction[] actions)
here for demoshell |
void |
setAttribute(java.lang.Object key,
java.lang.Object value)
sets an user-defined attribute on this frame |
void |
setDelegate(WizardFrameDelegate delegate)
|
void |
setLabel(java.lang.String localizedLabel)
overrides the default value for the wizard frame label |
void |
setShowErrors(boolean showErrors)
|
void |
setStep(WizardStep step)
|
void |
setValid(boolean valid)
Allows the WizardFrameDelegate to validate the values associated with the current frame. |
void |
setVisible(boolean visible)
Changes the visibility of this frame. |
boolean |
shouldShowErrors()
|
boolean |
terminatesWizard()
Returns true if this ation target should terminate the current wizard. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String ActionParamKey
Constructor Detail |
---|
public WizardFrame(Wizard wizard, java.lang.String name, java.lang.String label, java.lang.String source)
public WizardFrame(Wizard wizard, java.lang.String name, java.lang.String label, java.lang.String source, java.lang.String formEncoding, WizardFrameDelegate delegate, java.lang.String[] actionNames)
public WizardFrame(WizardFrameMeta frameMeta, WizardStep step, Wizard wizard)
Method Detail |
---|
public void setActions(WizardAction[] actions)
public java.lang.String getName()
public Wizard getWizard()
public WizardFrameDelegate getDelegate()
public void setDelegate(WizardFrameDelegate delegate)
public java.lang.String getDefaultDelegateName()
public java.lang.String getLabel()
public void setLabel(java.lang.String localizedLabel)
localizedLabel
- localized string used as labe for wizard framepublic java.lang.String getDefaultAction()
public java.lang.String getFormEncoding()
public boolean getSubmitFormDefault()
public java.lang.String getType()
public java.lang.String getSource()
public WizardAction[] getActions()
public WizardStep getStep()
public void setStep(WizardStep step)
public boolean isDialogFrame()
public void setAttribute(java.lang.Object key, java.lang.Object value)
public java.lang.Object getAttribute(java.lang.Object key)
public void removeAttribute(java.lang.Object key)
public boolean isVisible()
public void setVisible(boolean visible)
public boolean isValid()
public void setValid(boolean valid)
public WizardFrame getBackFrame()
public boolean shouldShowErrors()
public void setShowErrors(boolean showErrors)
public WizardFrame getOriginatingFrame()
WizardActionTarget
getOriginatingFrame
in interface WizardActionTarget
public boolean terminatesWizard()
WizardActionTarget
terminatesWizard
in interface WizardActionTarget
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |