|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.japano.util.Form
public class Form
Utility class with static HTML form related methods.
Method Summary | |
---|---|
static void |
multiSelect(Buffer out,
java.lang.String name,
java.lang.String[] def,
int size,
java.util.Collection texts,
java.util.Collection values,
java.lang.String styleId,
java.lang.String styleClass,
java.lang.String style)
Inserts a multi-select select field into the given buffer. |
static void |
select(Buffer out,
java.lang.String name,
java.lang.String def,
int size,
java.util.Collection texts,
java.util.Collection values,
java.lang.String styleId,
java.lang.String styleClass,
java.lang.String style)
Inserts a select field into the given buffer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void select(Buffer out, java.lang.String name, java.lang.String def, int size, java.util.Collection texts, java.util.Collection values, java.lang.String styleId, java.lang.String styleClass, java.lang.String style)
name
- parameter namedef
- default valuesize
- HTML select field size. if set to 1
, the select field will be combo box.texts
- option texts to be displayed.values
- parameter values to be send.styleId
- HTML id attribute of the select fieldstyleClass
- HTML class attribute of the select fieldstyle
- HTML style attribute of the select fieldout
- bufferpublic static void multiSelect(Buffer out, java.lang.String name, java.lang.String[] def, int size, java.util.Collection texts, java.util.Collection values, java.lang.String styleId, java.lang.String styleClass, java.lang.String style)
name
- parameter namedef
- default valuesize
- HTML select field size. if set to 1
, the select field will be combo box.texts
- option texts to be displayed.values
- parameter values to be send.styleId
- HTML id attribute of the select fieldstyleClass
- HTML class attribute of the select fieldstyle
- HTML style attribute of the select fieldout
- buffer
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |