|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--planetj.html.HTMLElement | +--planetj.html.SimpleHTMLSelect
Field Summary | |
static int |
MULTIPLE_SELECTION
|
static int |
SINGLE_SELECTION
Variables indicating the selecting mode. |
Fields inherited from class planetj.html.HTMLElement |
DISABLED |
Constructor Summary | |
SimpleHTMLSelect()
Creates a new HTMLSelect object and sets its id. |
|
SimpleHTMLSelect(String id)
Creates a new HTMLSelect object and sets its id. |
Method Summary | |
String |
generate(String[] pValues,
String selectedValue)
Generates a HTML Select from the given list of values (Combobox). |
String |
generate(String[] pValues,
String[] selectedValues)
Generates a HTML Select from the given list of values (Combobox). |
String |
generate(String attributes,
List pValues,
List selectedValues)
|
String |
generate(String attributes,
List pValues,
String selectedValue)
|
String |
generate(String attributes,
String[] pValues,
String selectedValue)
Generates a HTML Select from the given list of values (Combobox). |
String |
generate(String attributes,
String[] pValues,
String[] selectedValues)
Generates a HTML Select from the given list of values (Combobox). |
String |
generate(String attributes,
String fldName,
String dspFldName,
RowCollection rowCol,
String selectedVal,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Generates HTML code for this HTMLSelect using the specified rows (RowCollection). |
String |
getDisplayValueSeparator()
|
int |
getSize()
Returns the number of items to show at once. |
boolean |
isIncludeValueWithDisplay()
|
boolean |
isMultipleSelection()
Returns whether or not the selection mode is multiple selection. |
void |
setDisplayValueSeparator(String separator)
|
void |
setIncludeValueWithDisplay(boolean include)
|
void |
setSize(int size)
Sets the number of items to show at once. |
Methods inherited from class planetj.html.HTMLElement |
appendAttribute, appendAttribute, appendExtractableHiddenField, getId, isDisplayField, setId |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int SINGLE_SELECTION
public static final int MULTIPLE_SELECTION
Constructor Detail |
public SimpleHTMLSelect()
public SimpleHTMLSelect(String id)
id
- StringMethod Detail |
public String generate(String[] pValues, String[] selectedValues)
pValues
- List
public String generate(String[] pValues, String selectedValue)
pValues
- List
public String generate(String attributes, String[] pValues, String[] selectedValues)
pValues
- List
public String generate(String attributes, String[] pValues, String selectedValue)
pValues
- List
public String generate(String attributes, String fldName, String dspFldName, RowCollection rowCol, String selectedVal, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws CMException
fldName
- StringselectedVal
- String
CMException
public String generate(String attributes, List pValues, String selectedValue)
public String generate(String attributes, List pValues, List selectedValues)
public String getDisplayValueSeparator()
public int getSize()
public boolean isIncludeValueWithDisplay()
public boolean isMultipleSelection()
public void setDisplayValueSeparator(String separator)
public void setIncludeValueWithDisplay(boolean include)
public void setSize(int size)
size
- int
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |