org.mortbay.html
Class Input
java.lang.Object
|
+--org.mortbay.html.Element
|
+--org.mortbay.html.Tag
|
+--org.mortbay.html.Input
- public class Input
- extends Tag
HTML Form Input Tag.
- Version:
- $Id: Input.java,v 1.2 2001/09/25 23:05:34 bretts Exp $
- Author:
- Greg Wilkins
- See Also:
Tag
,
Form
Field Summary |
static java.lang.String |
Checkbox
|
static java.lang.String |
File
|
static java.lang.String |
Hidden
|
static java.lang.String |
Image
|
static java.lang.String |
Password
|
static java.lang.String |
Radio
|
static java.lang.String |
Reset
|
static java.lang.String |
Submit
|
static java.lang.String |
Text
Input types |
Fields inherited from class org.mortbay.html.Element |
ALIGN, BGCOLOR, BOTTOM, CENTER, CLASS, COLOR, HEIGHT, ID, LEFT, MIDDLE, noAttributes, RIGHT, SIZE, STYLE, TOP, VALIGN, WIDTH |
Constructor Summary |
Input(Image image,
java.lang.String name)
|
Input(Image image,
java.lang.String name,
java.lang.String value)
|
Input(java.lang.String type,
java.lang.String name)
|
Input(java.lang.String type,
java.lang.String name,
java.lang.String value)
|
Methods inherited from class org.mortbay.html.Tag |
write |
Methods inherited from class org.mortbay.html.Element |
attribute, attribute, attribute, attributes, attributes, bgColor, bottom, center, color, cssClass, cssID, height, height, height, left, middle, right, setAttributesFrom, size, size, size, style, top, toString, width, width, width, write, write |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Text
public static final java.lang.String Text
- Input types
- See Also:
- Constant Field Values
Password
public static final java.lang.String Password
- See Also:
- Constant Field Values
Checkbox
public static final java.lang.String Checkbox
- See Also:
- Constant Field Values
Radio
public static final java.lang.String Radio
- See Also:
- Constant Field Values
Submit
public static final java.lang.String Submit
- See Also:
- Constant Field Values
Reset
public static final java.lang.String Reset
- See Also:
- Constant Field Values
Hidden
public static final java.lang.String Hidden
- See Also:
- Constant Field Values
File
public static final java.lang.String File
- See Also:
- Constant Field Values
Image
public static final java.lang.String Image
- See Also:
- Constant Field Values
Input
public Input(java.lang.String type,
java.lang.String name)
Input
public Input(java.lang.String type,
java.lang.String name,
java.lang.String value)
Input
public Input(Image image,
java.lang.String name,
java.lang.String value)
Input
public Input(Image image,
java.lang.String name)
check
public Input check()
setSize
public Input setSize(int size)
setMaxSize
public Input setMaxSize(int size)
fixed
public Input fixed()
Copyright ? 2000 Mortbay Consulting Pty. Ltd. All Rights Reserved.