|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
com.retek.commons.gui.event.RActionEvent
This class represents a RActionEvent. It defines a means of knowing the event source, event number, event command and associated event data.
Retek Inc. Copyright (c) 2002
Field Summary |
---|
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
RActionEvent(java.lang.Object source,
int number)
Returns new RActionEvent object. |
|
RActionEvent(java.lang.Object source,
int number,
java.lang.Object eventData)
Returns new RActionEvent object. |
|
RActionEvent(java.lang.Object source,
int number,
java.lang.String text)
Returns new RActionEvent object. |
|
RActionEvent(java.lang.Object source,
java.lang.String command)
Returns new RActionEvent object. |
|
RActionEvent(java.lang.Object source,
java.lang.String command,
java.lang.Object eventData)
Returns new RActionEvent object. |
|
RActionEvent(java.lang.Object source,
java.lang.String command,
java.lang.String text)
Returns new RActionEvent object. |
Method Summary | |
---|---|
boolean |
getBooleanEventData()
Retrieves the event data as a boolean value. |
java.lang.String |
getEventCommand()
Retrieves the event command. |
java.lang.Object |
getEventData()
Retrieves the event data. |
int |
getEventNumber()
Retrieves the event number. |
java.lang.String |
getEventText()
Retrieves the event text. |
boolean |
isEvent(int number)
Returns whether or not this event matches an event number. |
boolean |
isEvent(java.lang.String command)
Returns whether or not this event matches an event command. |
void |
setEventCommand(java.lang.String command)
Sets the event command. |
void |
setEventData(java.lang.Object data)
Sets the event data. |
void |
setEventNumber(int number)
Sets the event number. |
void |
setEventText(java.lang.String text)
Sets an event string. |
java.lang.String |
toString()
A description of the object. |
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 |
Constructor Detail |
public RActionEvent(java.lang.Object source, java.lang.String command)
source
- The object that generated the event.command
- An event command.public RActionEvent(java.lang.Object source, int number)
source
- The object that generated the event.number
- An event identifier.public RActionEvent(java.lang.Object source, java.lang.String command, java.lang.String text)
source
- The object that generated the event.command
- An event command.text
- A text string to associate with the event.public RActionEvent(java.lang.Object source, int number, java.lang.String text)
source
- The object that generated the event.number
- An event number.text
- A text string to associate with the event.public RActionEvent(java.lang.Object source, java.lang.String command, java.lang.Object eventData)
source
- The object that generated the event.command
- An event command.eventData
- An object containing data to be transmitted with the event.public RActionEvent(java.lang.Object source, int number, java.lang.Object eventData)
source
- The object that generated the event.number
- An event number.eventData
- An object containing data to be transmitted with the event.Method Detail |
public void setEventNumber(int number)
number
- The event number.public int getEventNumber()
public void setEventCommand(java.lang.String command)
public java.lang.String getEventCommand()
public boolean isEvent(int number)
number
- An event number.
public boolean isEvent(java.lang.String command)
command
- An event command.
public void setEventText(java.lang.String text)
text
- A text string to assign to the event.public java.lang.String getEventText()
public void setEventData(java.lang.Object data)
data
- The event data.public java.lang.Object getEventData()
public boolean getBooleanEventData()
public java.lang.String toString()
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |