|
ArcGIS Server Geoportal extension 10
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.gpt.catalog.schema.Component
com.esri.gpt.catalog.schema.UiComponent
com.esri.gpt.catalog.schema.Input
com.esri.gpt.catalog.schema.InputMap
public class InputMap
Interactive map component.
The component is configured from a node with a schema configuration XML document. Example:
| 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 | |
|---|---|
InputMap()
Default constructor. |
|
InputMap(InputMap 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. |
InputMap |
duplicate()
Produces a deep clone of the object. |
void |
echo(StringBuffer sb)
Appends property information for the component to a StringBuffer. |
int |
getDefaultHeight()
Gets the default height (300). |
int |
getDefaultWidth()
Gets the default width (600). |
int |
getHeight()
Gets the map height. |
int |
getWidth()
Gets the map width. |
javax.faces.component.UIComponent |
makeInputComponent(UiContext context,
Section section,
Parameter parameter)
Makes a Faces HtmlInputText component for a parameter. |
javax.faces.component.UIComponent |
makeOutputComponent(UiContext context,
Section section,
Parameter parameter)
Makes the Faces UI output component for a parameter. |
void |
setHeight(int size)
Sets the map height. |
void |
setWidth(int size)
Sets the map width. |
void |
unBind(UiContext context,
javax.faces.component.UIComponent editorForm,
Parameter parameter)
Triggered on the save event from the metadata editor. |
| Methods inherited from class com.esri.gpt.catalog.schema.Input |
|---|
applyHint, evaluateDefault, findInputComponent, formatValue, getDefaultValue, getEditable, getFacesId, getHintMode, getHintResourceKey, getInputValue, getOnChange, getOnClick, getTestResourceKey, setComponentValue, setDefaultValue, setEditable, setFacesId, 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 InputMap()
public InputMap(InputMap objectToDuplicate)
objectToDuplicate - the object to duplicate| Method Detail |
|---|
public int getDefaultHeight()
public int getDefaultWidth()
public int getHeight()
public void setHeight(int size)
size - the heightpublic int getWidth()
public void setWidth(int size)
size - the width
public void configure(CfgContext context,
Node node,
NamedNodeMap attributes)
configure in class Inputcontext - the configuration contextnode - the configuration nodeattributes - the attributes of the configuration nodepublic InputMap duplicate()
duplicate in class Inputpublic void echo(StringBuffer sb)
echo in class Inputsb - the StringBuffer to use when appending information
public javax.faces.component.UIComponent makeInputComponent(UiContext context,
Section section,
Parameter parameter)
makeInputComponent in class Inputcontext - the UI contextsection - the parent sectionparameter - the associated parameter
public javax.faces.component.UIComponent makeOutputComponent(UiContext context,
Section section,
Parameter parameter)
makeOutputComponent in class Inputcontext - the UI contextsection - the parent sectionparameter - the associated parameter
public void unBind(UiContext context,
javax.faces.component.UIComponent editorForm,
Parameter parameter)
throws SchemaException
unBind in class Inputcontext - the UI contexteditorForm - the Faces HtmlForm for the metadata editorparameter - the associated parameter
SchemaException - if an associated Faces UIComponent cannot be located
|
ArcGIS Server Geoportal extension 10
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||