|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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(java.lang.String name,
java.lang.String attributeName)
Constructs a new type of event. |
| Method Summary | |
|---|---|
java.lang.String |
getAttributeName()
Returns the name of the HTML attribute corresponding to this type. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, 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(java.lang.String name,
java.lang.String attributeName)
This method is protected so that subclasses can be created to provide additional managed event types.
| Method Detail |
|---|
public java.lang.String getAttributeName()
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||