oracle.jdeveloper.html
Class StaticPickList
java.lang.Object
|
+--oracle.jdeveloper.html.HTMLFieldRendererImpl
|
+--oracle.jdeveloper.html.StaticPickList
- public class StaticPickList
- extends HTMLFieldRendererImpl
This class represents a Static PickList. It's data is provided by two string arrays, one for the labels and another for
the prompts . It supports various renderings:
combobox, listbox,radio group and checbox group.
- Version:
- PUBLIC
Methods inherited from class oracle.jdeveloper.html.HTMLFieldRendererImpl |
getCSSClassName,
getDisplayHeight,
getDisplayWidth,
getFieldName,
getFormName,
getMaxDataLength,
getPromptText,
getValue,
renderToString,
setCSSClassName,
setDisplayHeight,
setDisplayWidth,
setFieldName,
setFormName,
setMaxDataLength,
setPromptText,
setValue |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
TYPE_COMBOBOX
public static final int TYPE_COMBOBOX
TYPE_LISTBOX
public static final int TYPE_LISTBOX
TYPE_CHECKBOX_GROUP
public static final int TYPE_CHECKBOX_GROUP
TYPE_RADIO_GROUP
public static final int TYPE_RADIO_GROUP
nType
protected int nType
sQuery
protected java.lang.String sQuery
aForm
protected HTMLForm aForm
values
protected java.util.Hashtable values
allvalues
protected java.util.Hashtable allvalues
aLabels
protected java.lang.String[] aLabels
aValues
protected java.lang.String[] aValues
StaticPickList
public StaticPickList()
- Constructs object. Default rendering is combo box.
useComboBox
public void useComboBox()
- Tells StaticPickList to render as a combo box.
useListBox
public void useListBox()
- Tells StaticPickList to render as listbox
useRadioGroup
public void useRadioGroup()
- Tells StaticPickList ot render as radio button group
useCheckBoxGroup
public void useCheckBoxGroup()
- Tells StaticPickList ot render as checkbox group.
setDataSource
public void setDataSource(java.lang.String[] labels,
java.lang.String[] values)
- Configures the source arrays for the prompts and values of the static picklist
prepareForMultiValueListGeneration
protected void prepareForMultiValueListGeneration()
generateComboBox
protected void generateComboBox()
generateListBox
protected void generateListBox()
generateCheckBoxGroup
protected void generateCheckBoxGroup()
generateRadioGroup
protected void generateRadioGroup()