|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.gpt.catalog.schema.Component com.esri.gpt.catalog.schema.UiComponent com.esri.gpt.catalog.schema.Input com.esri.gpt.catalog.schema.InputSelectOneMenu com.esri.gpt.catalog.schema.InputSelectWithOther
public class InputSelectWithOther
Select one menu input component with an "Other" option for inputing text.
The drop down choices are based upon the codes defined for the parameter. The component is configured from a node with a schema configuration XML document.
Field Summary |
---|
Fields inherited from class com.esri.gpt.catalog.schema.Input |
---|
INPUTTYPE_DELIMITEDTEXTAREA, INPUTTYPE_MAP, INPUTTYPE_SELECTMANYCHECKBOX, INPUTTYPE_SELECTONEMEMU, INPUTTYPE_SELECTWITHOTHER, INPUTTYPE_TEXT, INPUTTYPE_TEXTAREA, INPUTTYPE_TEXTARRAY, INPUTTYPE_UNKNOWN |
Constructor Summary | |
---|---|
InputSelectWithOther()
Default constructor. |
|
InputSelectWithOther(InputSelectWithOther objectToDuplicate)
Construct by duplicating an existing object. |
Method Summary | |
---|---|
void |
configure(CfgContext context,
Node node,
NamedNodeMap attributes)
Configures the object based upon a node loaded from a schema configuration XML. |
InputSelectWithOther |
duplicate()
Produces a deep clone of the object. |
void |
echo(StringBuffer sb)
Appends property information for the component to a StringBuffer. |
String |
getOtherCodeKey()
Gets the code key associated with the "Other" option. |
InputText |
getOtherComponent()
Gets the component for inputting "Other" text. |
UIComponent |
makeInputComponent(UiContext context,
Section section,
Parameter parameter)
Makes a Faces HtmlSelectOneMenu and an HtmlInputText (for "Other" option) components for a parameter. |
void |
setFacesId(String id)
Sets the Faces ID for the component. |
void |
setOtherCodeKey(String key)
Sets the code key associated with the "Other" option. |
void |
setOtherComponent(InputText otherComponent)
Sets the component for inputting "Other" text. |
void |
unBind(UiContext context,
UIComponent editorForm,
Parameter parameter)
Triggered on the save event from the metadata editor. |
Methods inherited from class com.esri.gpt.catalog.schema.InputSelectOneMenu |
---|
makeSelectOneMenu |
Methods inherited from class com.esri.gpt.catalog.schema.Input |
---|
applyHint, evaluateDefault, findInputComponent, formatValue, getDefaultValue, getEditable, getFacesId, getHintMode, getHintResourceKey, getInputValue, getOnChange, getOnClick, getTestResourceKey, makeOutputComponent, setComponentValue, setDefaultValue, setEditable, setHintMode, setHintResourceKey, setOnChange, setOnClick, setTestResourceKey |
Methods inherited from class com.esri.gpt.catalog.schema.UiComponent |
---|
getStyleClass, makeBR, makeNBSP, setStyleClass |
Methods inherited from class com.esri.gpt.catalog.schema.Component |
---|
getKey, setKey, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public InputSelectWithOther()
public InputSelectWithOther(InputSelectWithOther objectToDuplicate)
objectToDuplicate
- the object to duplicateMethod Detail |
---|
public void setFacesId(String id)
setFacesId
in class Input
id
- Faces IDpublic String getOtherCodeKey()
public void setOtherCodeKey(String key)
key
- the keypublic InputText getOtherComponent()
public void setOtherComponent(InputText otherComponent)
otherComponent
- the InputText component associated with the "Other" optionpublic void configure(CfgContext context, Node node, NamedNodeMap attributes)
configure
in class InputSelectOneMenu
context
- the configuration contextnode
- the configuration nodeattributes
- the attributes of the configuration nodepublic InputSelectWithOther duplicate()
duplicate
in class InputSelectOneMenu
public void echo(StringBuffer sb)
echo
in class InputSelectOneMenu
sb
- the StringBuffer to use when appending informationpublic UIComponent makeInputComponent(UiContext context, Section section, Parameter parameter)
makeInputComponent
in class InputSelectOneMenu
context
- the UI contextsection
- the parent sectionparameter
- the associated parameter
public void unBind(UiContext context, UIComponent editorForm, Parameter parameter) throws SchemaException
unBind
in class InputSelectOneMenu
context
- the UI contexteditorForm
- the Faces HtmlForm for the metadata editorparameter
- the associated parameter
SchemaException
- if an associated Faces UIComponent cannot be located
|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |