com.bowstreet.builders.webapp.api
Class VariableInputControl

java.lang.Object
  extended by com.bowstreet.builders.BaseBuilderAPI
      extended by com.bowstreet.builders.webapp.api.VariableInputControl
All Implemented Interfaces:
com.bowstreet.builders.PageElementBuilderAPI

public class VariableInputControl
extends com.bowstreet.builders.BaseBuilderAPI
implements com.bowstreet.builders.PageElementBuilderAPI

Creates an input control based on the input type specified at a named tag or other location on a page or pages.
Note: this is a builder API wrapper class, intended to be called by the regen logic of a builder. It can be used to programmatically add a call to the VariableInputControl builder to a model.


Nested Class Summary
static interface VariableInputControl.BuilderStaticValues
          Constant values imported from the builder definition file.
 
Constructor Summary
VariableInputControl(BuilderCall parent, GenContext gc)
           
 
Method Summary
 java.lang.String getExtraData()
          Specify setup data specific to the input type (See help for more info on extra data format for each input type)
 java.lang.String getInputName()
          Required for use within repeated regions
 java.lang.String getInputType()
          Specify the supported HTML input type to use
Legal values: TextArea, TextInput, HiddenInput, Select, RadioBox, CheckBox
 java.lang.String getName()
          Specify name of this builder call
 java.lang.Object getPageLocation()
          For instructions on operation or syntax of location definition string see Page Location help
 java.lang.String getValue()
          Specify default value of the resulting input
 void initializeBuilderInputs()
           
 void setExtraData(java.lang.String value)
          Specify setup data specific to the input type (See help for more info on extra data format for each input type)
 void setInputName(java.lang.String value)
          Required for use within repeated regions
 void setInputType(java.lang.String value)
          Specify the supported HTML input type to use
Legal values: TextArea, TextInput, HiddenInput, Select, RadioBox, CheckBox
 void setName(java.lang.String value)
          Specify name of this builder call
 void setPageLocation(java.lang.Object value)
          For instructions on operation or syntax of location definition string see Page Location help
 void setValue(java.lang.String value)
          Specify default value of the resulting input
 
Methods inherited from class com.bowstreet.builders.BaseBuilderAPI
getBuilderCall, getBuilderInputs, invokeBuilder, invokeBuilderBC, setBuilderInputs
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.bowstreet.builders.PageElementBuilderAPI
getBuilderInputs, invokeBuilder
 

Constructor Detail

VariableInputControl

public VariableInputControl(BuilderCall parent,
                            GenContext gc)
Method Detail

getExtraData

public java.lang.String getExtraData()
Specify setup data specific to the input type (See help for more info on extra data format for each input type)


getInputName

public java.lang.String getInputName()
Required for use within repeated regions


getInputType

public java.lang.String getInputType()
Specify the supported HTML input type to use
Legal values: TextArea, TextInput, HiddenInput, Select, RadioBox, CheckBox


getName

public java.lang.String getName()
Specify name of this builder call

Specified by:
getName in interface com.bowstreet.builders.PageElementBuilderAPI

getPageLocation

public java.lang.Object getPageLocation()
For instructions on operation or syntax of location definition string see Page Location help

Specified by:
getPageLocation in interface com.bowstreet.builders.PageElementBuilderAPI

getValue

public java.lang.String getValue()
Specify default value of the resulting input

Specified by:
getValue in interface com.bowstreet.builders.PageElementBuilderAPI

initializeBuilderInputs

public void initializeBuilderInputs()
Overrides:
initializeBuilderInputs in class com.bowstreet.builders.BaseBuilderAPI

setExtraData

public void setExtraData(java.lang.String value)
Specify setup data specific to the input type (See help for more info on extra data format for each input type)


setInputName

public void setInputName(java.lang.String value)
Required for use within repeated regions


setInputType

public void setInputType(java.lang.String value)
Specify the supported HTML input type to use
Legal values: TextArea, TextInput, HiddenInput, Select, RadioBox, CheckBox


setName

public void setName(java.lang.String value)
Specify name of this builder call

Specified by:
setName in interface com.bowstreet.builders.PageElementBuilderAPI

setPageLocation

public void setPageLocation(java.lang.Object value)
For instructions on operation or syntax of location definition string see Page Location help

Specified by:
setPageLocation in interface com.bowstreet.builders.PageElementBuilderAPI

setValue

public void setValue(java.lang.String value)
Specify default value of the resulting input

Specified by:
setValue in interface com.bowstreet.builders.PageElementBuilderAPI


Copyright © 2009 IBM. All Rights Reserved.