|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.EventObject java.awt.AWTEvent java.awt.event.ActionEvent net.lucidviews.util.gui.swing.JWebAddress.WebAddressActionEvent
public static class JWebAddress.WebAddressActionEvent
An ActionEvent
specific to the JWebAddress
component.
ActionListener
s assigned to a JWebAddress
object
can expect to receive a WebAddressActionEvent
as the event
parameter in calls to the ActionListener::actionPerformed()
method.
Field Summary | |
---|---|
static int |
ACTION_ID
The id of this action type. |
static String |
COMMAND_GO
The (textual) command associated with this action type. |
private static long |
serialVersionUID
Serialisation version. |
protected URL |
webAddress
The URL of the web address . |
Fields inherited from class java.awt.event.ActionEvent |
---|
ACTION_FIRST, ACTION_LAST, ACTION_PERFORMED, ALT_MASK, CTRL_MASK, META_MASK, SHIFT_MASK |
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
JWebAddress.WebAddressActionEvent(Object source,
String command,
long when,
int modifiers,
URL webAddress)
Create an action event to process a web address. |
|
JWebAddress.WebAddressActionEvent(Object source,
String command,
URL webAddress)
Create an action event to process a web address. |
Method Summary | |
---|---|
URL |
getWebAddress()
Get the URL of the web address that was entered to trigger this event. |
Methods inherited from class java.awt.event.ActionEvent |
---|
getActionCommand, getModifiers, getWhen, paramString |
Methods inherited from class java.awt.AWTEvent |
---|
consume, getID, isConsumed, setSource, toString |
Methods inherited from class java.util.EventObject |
---|
getSource |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
public static final int ACTION_ID
public static final String COMMAND_GO
protected URL webAddress
Constructor Detail |
---|
public JWebAddress.WebAddressActionEvent(Object source, String command, URL webAddress)
source
- the object that originated the eventcommand
- a string that may specify a command (possibly one
of several) associated with the eventwebAddress
- the URL of the web addresspublic JWebAddress.WebAddressActionEvent(Object source, String command, long when, int modifiers, URL webAddress)
source
- the object that originated the eventcommand
- a string that may specify a command (possibly one
of several) associated with the eventwhen
- the time the event occurredmodifiers
- the modifier keys held down during this actionwebAddress
- the URL of the web addressMethod Detail |
---|
public URL getWebAddress()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |