com.huguesjohnson.jail.jailBreak.event
Class JailBreakActionEvent

java.lang.Object
  |
  +--com.huguesjohnson.jail.jailBreak.event.JailBreakEvent
        |
        +--com.huguesjohnson.jail.jailBreak.event.JailBreakActionEvent

public final class JailBreakActionEvent
extends JailBreakEvent

class JailBreakActionEvent represents GUI actions


Constructor Summary
JailBreakActionEvent(java.lang.String actionCommand)
          default constructor
JailBreakActionEvent(java.lang.String actionCommand, java.lang.String parameter)
          constructor
 
Method Summary
 java.lang.String getActionCommand()
          getActionCommand retrieves the action command associated with the event
 java.lang.String getParameter()
          getParamter retrieves the parameter associated with the event
 void setActionCommand(java.lang.String actionCommand)
          setActionCommand sets the action command associated with the event
 void setParameter(java.lang.String parameter)
          setParameter sets the parameter associated with the event
 java.lang.String toString()
          returns a string representation of the object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JailBreakActionEvent

public JailBreakActionEvent(java.lang.String actionCommand)
default constructor

Parameters:
actionCommand - action command associated with this event

JailBreakActionEvent

public JailBreakActionEvent(java.lang.String actionCommand,
                            java.lang.String parameter)
constructor

Parameters:
actionCommand - action command associated with this event
parameter - contains additional parameter for this action event, not all action events use a parameter
Method Detail

setActionCommand

public final void setActionCommand(java.lang.String actionCommand)
setActionCommand sets the action command associated with the event

Parameters:
actionCommand - the action command associated with this event

setParameter

public final void setParameter(java.lang.String parameter)
setParameter sets the parameter associated with the event

Parameters:
parameter - the parameter associated with this event

getActionCommand

public final java.lang.String getActionCommand()
getActionCommand retrieves the action command associated with the event

Returns:
action command associated with this event

getParameter

public final java.lang.String getParameter()
getParamter retrieves the parameter associated with the event

Returns:
actionCommand associated with this event

toString

public java.lang.String toString()
returns a string representation of the object

Overrides:
toString in class java.lang.Object
Returns:
string representation of the object