2004.04.29


com.jdc.gui.html.tag.attr
Class Type

java.lang.Object
  |
  +--com.jdc.xml.tag.Attribute
        |
        +--com.jdc.gui.html.tag.Attribute
              |
              +--com.jdc.gui.html.tag.attr.Type
All Implemented Interfaces:
MarkupLanguage, Serializable

public final class Type
extends Attribute

Type is used to create the HTML type attribute required for the Input HTML tag. This class is implemented as an enumerated type. It cannot be instantiated.

Version:
1.0
Author:
Jay Damon
See Also:
Input, Serialized Form

Field Summary
static Type BUTTON
          Creates an Input tag of type button.
static Type CHECKBOX
          Creates an Input tag of type checkbox.
static Type FILE
          Creates an Input tag of type file (attachment upload).
static Type HIDDEN
          Creates an Input tag of type hidden.
static Type IMAGE
          Creates an Input tag of type image.
static Type PASSWORD
          Creates an Input tag of type password.
static Type RADIO
          Creates an Input tag of type radio.
static Type RESET
          Creates an Input tag of type reset button.
static Type SUBMIT
          Creates an Input tag of type submit button.
static Type TEXT
          Creates an Input tag of type text (entry field).
 
Fields inherited from class com.jdc.gui.html.tag.Attribute
SINGLE_QUOTE
 
Fields inherited from class com.jdc.xml.tag.Attribute
DOUBLE_QUOTE, EQUALS
 
Fields inherited from interface com.jdc.gui.html.MarkupLanguage
XHTML
 
Method Summary
 String create()
          Create and return the type name/value attribute.
 
Methods inherited from class com.jdc.gui.html.tag.Attribute
create, create, getName, getQuoteCharacter, getQuotedValue, getValue
 
Methods inherited from class com.jdc.xml.tag.Attribute
create, create, create, create, getQualifier, setName, setQualifier, setValue, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

BUTTON

public static final Type BUTTON
Creates an Input tag of type button.


CHECKBOX

public static final Type CHECKBOX
Creates an Input tag of type checkbox.


FILE

public static final Type FILE
Creates an Input tag of type file (attachment upload).


HIDDEN

public static final Type HIDDEN
Creates an Input tag of type hidden.


IMAGE

public static final Type IMAGE
Creates an Input tag of type image.


PASSWORD

public static final Type PASSWORD
Creates an Input tag of type password.


RADIO

public static final Type RADIO
Creates an Input tag of type radio.


RESET

public static final Type RESET
Creates an Input tag of type reset button.


SUBMIT

public static final Type SUBMIT
Creates an Input tag of type submit button.


TEXT

public static final Type TEXT
Creates an Input tag of type text (entry field).

Method Detail

create

public String create()
Create and return the type name/value attribute.

Overrides:
create in class Attribute
Returns:
An XML tag attribute String.

2004.04.29



Copyright © 2004 J. Damon & Co.; All Rights Reserved WorldWide.