|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.lang.enum.Enum org.apache.tapestry.components.LinkEventType
public class LinkEventType
Different types of JavaScript events that an ILinkComponent
can provide handlers for.
Field Summary | |
---|---|
static LinkEventType |
CLICK
Type for onClick . |
static LinkEventType |
DOUBLE_CLICK
Type for onDblClick . |
static LinkEventType |
MOUSE_DOWN
Type for onMouseDown . |
static LinkEventType |
MOUSE_OUT
Type for onMouseOut . |
static LinkEventType |
MOUSE_OVER
Type for onMouseOver . |
static LinkEventType |
MOUSE_UP
Type for onMouseUp . |
Constructor Summary | |
---|---|
protected |
LinkEventType(String name,
String attributeName)
Constructs a new type of event. |
Method Summary | |
---|---|
String |
getAttributeName()
Returns the name of the HTML attribute corresponding to this type. |
Methods inherited from class org.apache.commons.lang.enum.Enum |
---|
compareTo, equals, getEnum, getEnumList, getEnumMap, getName, hashCode, iterator, readResolve, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final LinkEventType MOUSE_OVER
onMouseOver
. This may also be called "focus".
public static final LinkEventType MOUSE_OUT
onMouseOut
. This may also be called "blur".
public static final LinkEventType CLICK
onClick
.
public static final LinkEventType DOUBLE_CLICK
onDblClick
.
public static final LinkEventType MOUSE_DOWN
onMouseDown
.
public static final LinkEventType MOUSE_UP
onMouseUp
.
Constructor Detail |
---|
protected LinkEventType(String name, String attributeName)
This method is protected so that subclasses can be created to provide additional managed event types.
Method Detail |
---|
public String getAttributeName()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |