|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--planetj.html.HTMLElement | +--planetj.html.HTMLSelect
!!DA (8/6/2003 9:24:30 AM) - documentation needed
Field Summary | |
static String |
className
Class name. |
static String |
MULTIPLE
Attribute used to denote if mutliple selection is allowed. |
static int |
MULTIPLE_SELECTION
|
static String |
SELECT
Select tag. |
static int |
SINGLE_SELECTION
Variables indicating the selecting mode. |
Fields inherited from class planetj.html.HTMLElement |
DISABLED |
Constructor Summary | |
HTMLSelect()
|
Method Summary | |
static StringBuffer |
appendOption(String value,
String displayValue,
boolean selected,
String styleClass,
StringBuffer html)
Appends a HTML option tag for the given values. |
static StringBuffer |
appendRadioButtonSelect(String id,
Field field,
int size,
boolean mulitpleSelection,
boolean forceValueIntoList,
String attributes,
String rcNavKey,
String rowNavKey,
StringBuffer html,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
!!C MT (4/23/2003 1:10:27 PM) This class is almost the same as the planetj.html.HTMLSelect.appendSelect and should be revised when the HTML design of WOW is reworked. |
static StringBuffer |
appendRadioButtonSelect(String id,
Field field,
int size,
boolean mulitpleSelection,
String attributes,
String rcNavKey,
String rowNavKey,
StringBuffer html,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Deprecated. (6/27/2003 5:07:12 PM) this method needs to be coded.... currently it doesn't generate a radio button select |
static StringBuffer |
appendSelect(String id,
Field field,
int size,
boolean mulitpleSelection,
boolean forceValueIntoList,
String attributes,
String rcNavKey,
String rowNavKey,
StringBuffer html,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
static StringBuffer |
appendSelect(String id,
Field field,
int size,
boolean mulitpleSelection,
String attributes,
String rcNavKey,
String rowNavKey,
StringBuffer html,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
int |
getSize()
Returns the number of items to show at once. |
boolean |
isMultipleSelection()
Returns whether or not the selection mode is multiple selection. |
static boolean |
isMultipleSelection(int selection)
Returns whether or not the selection mode is multiple selection. |
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 String SELECT
public static final String MULTIPLE
public static final String className
public static final int SINGLE_SELECTION
public static final int MULTIPLE_SELECTION
Constructor Detail |
public HTMLSelect()
Method Detail |
public static StringBuffer appendOption(String value, String displayValue, boolean selected, String styleClass, StringBuffer html)
public static StringBuffer appendRadioButtonSelect(String id, Field field, int size, boolean mulitpleSelection, String attributes, String rcNavKey, String rowNavKey, StringBuffer html, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws CMException
CMException
public static StringBuffer appendRadioButtonSelect(String id, Field field, int size, boolean mulitpleSelection, boolean forceValueIntoList, String attributes, String rcNavKey, String rowNavKey, StringBuffer html, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws CMException
CMException
public static StringBuffer appendSelect(String id, Field field, int size, boolean mulitpleSelection, String attributes, String rcNavKey, String rowNavKey, StringBuffer html, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws CMException
CMException
public static StringBuffer appendSelect(String id, Field field, int size, boolean mulitpleSelection, boolean forceValueIntoList, String attributes, String rcNavKey, String rowNavKey, StringBuffer html, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws CMException
CMException
public int getSize()
public boolean isMultipleSelection()
public static boolean isMultipleSelection(int selection)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |