|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.admin.wizardframework.components.AbstractWizardComponent
com.sapportals.admin.wizardframework.components.AbstractInputComponent
| Field Summary | |
protected String |
captionWidth
|
static int |
DEFAULT_PADDING
|
protected String |
defaultCaption
|
protected String |
defaultTooltip
|
protected Object |
defaultValue
|
protected boolean |
filledIncompletely
|
static String |
INPUT_COMPONENT
|
protected Component |
inputComponent
|
protected Label |
label
|
protected int |
layout
|
protected int |
padding
|
static String |
VALUE
|
protected String |
valueTargetPath
|
| Fields inherited from class com.sapportals.admin.wizardframework.components.AbstractWizardComponent |
HORIZONTAL_LAYOUT, VERTICAL_LAYOUT |
| Constructor Summary | |
AbstractInputComponent()
|
|
| Method Summary | |
void |
clear()
|
void |
clearIfInconsistent(String changedObject,
IWizardContext ctx)
the default implementtion clears all values from this component's branch in the session. |
protected abstract Component |
createInputComponent(IBasicEditingContext ctx)
|
String |
getCaption(IBasicEditingContext context)
|
Label |
getCaptionComponent(IWizardContext context)
|
Component |
getDisplay(IWizardContext context)
the default implementation returns null - if your component has a display it should inherit AbstractDisplayComponent or AbstractInputComponent. |
List |
getErrorMessages(IWizardContext context)
Get the error messages for this component. |
Component |
getInputComponentGeneric(IBasicEditingContext ctx)
|
String |
getMissingFieldErrorMessage(IBasicEditingContext context)
|
String |
getTooltip(IWizardContext context)
|
Object |
getValueGeneric(IBasicEditingContext context)
|
boolean |
isComplete(IWizardContext ctx)
the default implemention returns true |
abstract void |
processInput(IWizardContext ctx)
the default implemention does no input processing. |
void |
setCaption(String caption,
IWizardContext context)
|
void |
setCaptionWidth(String iCaptionWidth)
|
void |
setCustomErrorMessage(String errorMessage)
Deprecated. - use of this function will cause inconsistencies in the error handling of different wizards - it will be removed for MS1 Define the error message to be displayed if this component was not filled |
void |
setLayout(int iLayout)
|
void |
setPath(String iPath)
set the path of this component. e.g. it's position in the wizard hierarchy. |
void |
setTooltip(String tooltip,
IWizardContext ctx)
|
void |
setupComponent(IWizardContext ctx)
setup the component here. if this component is a container add all subcomponents here |
void |
setValueGeneric(Object newValue,
IWizardContext context)
|
void |
setValueTargetPath(String iValueTargetPath)
Set the path of the property underlying this input control |
| Methods inherited from class com.sapportals.admin.wizardframework.components.AbstractWizardComponent |
doAfterSubmit, doBeforeDisplay, getControlInFocus, getDescription, getPath, getProperty, getTitle, init, isInitialized, isMandatory, setMandatory, setProperty, setTempProperty, wasChanged |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final String VALUE
protected String valueTargetPath
public static final String INPUT_COMPONENT
public static final int DEFAULT_PADDING
protected String defaultCaption
protected String defaultTooltip
protected Component inputComponent
protected boolean filledIncompletely
protected Label label
protected int layout
protected int padding
protected String captionWidth
protected Object defaultValue
| Constructor Detail |
public AbstractInputComponent()
| Method Detail |
public void clear()
public void setupComponent(IWizardContext ctx)
IWizardComponent
setupComponent in interface IWizardComponentsetupComponent in class AbstractWizardComponentpublic Object getValueGeneric(IBasicEditingContext context)
public void setValueGeneric(Object newValue,
IWizardContext context)
public void setPath(String iPath)
AbstractWizardComponent
setPath in interface IWizardComponentsetPath in class AbstractWizardComponentpublic void setValueTargetPath(String iValueTargetPath)
public String getCaption(IBasicEditingContext context)
public String getTooltip(IWizardContext context)
public void setCaption(String caption,
IWizardContext context)
public void setTooltip(String tooltip,
IWizardContext ctx)
public Label getCaptionComponent(IWizardContext context)
public Component getInputComponentGeneric(IBasicEditingContext ctx)
public Component getDisplay(IWizardContext context)
AbstractWizardComponent
getDisplay in interface IWizardComponentgetDisplay in class AbstractWizardComponentpublic void setLayout(int iLayout)
public void setCustomErrorMessage(String errorMessage)
public String getMissingFieldErrorMessage(IBasicEditingContext context)
public List getErrorMessages(IWizardContext context)
getErrorMessages in interface IWizardComponentgetErrorMessages in class AbstractWizardComponentpublic void setCaptionWidth(String iCaptionWidth)
public void clearIfInconsistent(String changedObject,
IWizardContext ctx)
AbstractWizardComponent
clearIfInconsistent in interface IDependencyObjectclearIfInconsistent in class AbstractWizardComponentpublic boolean isComplete(IWizardContext ctx)
AbstractWizardComponent
isComplete in class AbstractWizardComponentprotected abstract Component createInputComponent(IBasicEditingContext ctx)
public abstract void processInput(IWizardContext ctx)
AbstractWizardComponent
processInput in interface IWizardComponentprocessInput in class AbstractWizardComponent
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||