2004.04.29


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

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

public class OnClick
extends Event

OnClick is used to create an HTML event attribute required by HTML tags implemented as classes like Input.

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

Field Summary
static String ATTRIBUTE
          The HTML attribute keyword.
 
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
 
Constructor Summary
OnClick()
          Constructs a OnClick object.
OnClick(boolean returnValue)
          Constructs a OnClick object.
 
Method Summary
 String create(String value)
          Create and return the onClick attribute.
 
Methods inherited from class com.jdc.gui.html.tag.attr.Event
create, main, setName, setReturn, toString
 
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, setQualifier, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ATTRIBUTE

public static final String ATTRIBUTE
The HTML attribute keyword.

See Also:
Constant Field Values
Constructor Detail

OnClick

public OnClick()
Constructs a OnClick object.


OnClick

public OnClick(boolean returnValue)
Constructs a OnClick object.

Method Detail

create

public String create(String value)
Create and return the onClick attribute.

Returns:
String The onClick attribute.

2004.04.29



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