org.mortbay.html
Class Input

java.lang.Object
  extended by org.mortbay.html.Element
      extended by org.mortbay.html.Tag
          extended by org.mortbay.html.Input

public class Input
extends Tag

HTML Form Input Tag.

Version:
$Id: Input.java,v 1.3 2004/05/09 20:31:28 gregwilkins 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.Tag
tag
 
Fields inherited from class org.mortbay.html.Element
ALIGN, attributeMap, 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)
           
 
Method Summary
 Input check()
           
 Input fixed()
           
 Input setMaxSize(int size)
           
 Input setSize(int size)
           
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

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)
Method Detail

check

public Input check()

setSize

public Input setSize(int size)

setMaxSize

public Input setMaxSize(int size)

fixed

public Input fixed()


Copyright © 2004 Mortbay Consulting Pty. Ltd. All Rights Reserved.