jadex.swing.sequence
Class SequenceActions

java.lang.Object
  |
  +--jadex.swing.sequence.SequenceActions

public class SequenceActions
extends java.lang.Object

This is the central repository to handle all actions in the whole Sequence Display. This class is a singleton.


Method Summary
 java.util.Map getActions()
          Expose the actions set
 javax.swing.Action getExitAction()
          Get the exit action.
 javax.swing.Action getHelpAction()
          Get the help action.
static SequenceActions getInstance()
          The method to get an instance of this class.
static SequenceActions getInstance(boolean inApplet)
          Another method to get an instance of this class.
 javax.swing.Action getMoveLeftAction()
          Get the moveLeft Action.
 javax.swing.Action getMoveRightAction()
          Get the moveRight action.
 javax.swing.Action getResetAction()
          Get the Reset Action.
 javax.swing.Action getSearchAction()
          Get the search Action.
 javax.swing.Action getZoomAction()
          Get the zoomAction.
 javax.swing.Action getZoomInAction()
          Get the zoomInAction.
 javax.swing.Action getZoomOutAction()
          Get the zoomOutAction.
 boolean isInApplet()
          Query if in applet.
 void setBigIcon()
          Use big icons
 void setExitAction(javax.swing.Action exit)
          Set the exit action.
 void setHelpAction(javax.swing.Action a)
          Set help action
 void setMoveLeftAction(javax.swing.Action a)
          Set moveLeft action.
 void setMoveRightAction(javax.swing.Action a)
          Set the moveRight action.
 void setResetAction(javax.swing.Action a)
          Set Reset Action
 void setSearchAction(javax.swing.Action a)
          Set the Search Action
 void setSequenceDisplay(SequenceDisplay dis)
          Set the SequenceDisplay for all Actions.
 void setSmallIcon()
          Use small icons
 void setZoomAction(javax.swing.Action a)
          Set zoomAction
 void setZoomInAction(javax.swing.Action a)
          Set zoomINActin
 void setZoomOutAction(javax.swing.Action a)
          Set zoomOUtAction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static SequenceActions getInstance()
The method to get an instance of this class.

getInstance

public static SequenceActions getInstance(boolean inApplet)
Another method to get an instance of this class.
Parameters:
inApplet - true if the SequenceView is in an applet.

isInApplet

public boolean isInApplet()
Query if in applet.
Returns:
true if in an applet.

setBigIcon

public void setBigIcon()
Use big icons

setSmallIcon

public void setSmallIcon()
Use small icons

getActions

public java.util.Map getActions()
Expose the actions set
Returns:
the actions set

setSequenceDisplay

public void setSequenceDisplay(SequenceDisplay dis)
Set the SequenceDisplay for all Actions.

setZoomAction

public void setZoomAction(javax.swing.Action a)
Set zoomAction

getZoomAction

public javax.swing.Action getZoomAction()
Get the zoomAction.

setZoomInAction

public void setZoomInAction(javax.swing.Action a)
Set zoomINActin

getZoomInAction

public javax.swing.Action getZoomInAction()
Get the zoomInAction.

setZoomOutAction

public void setZoomOutAction(javax.swing.Action a)
Set zoomOUtAction

getZoomOutAction

public javax.swing.Action getZoomOutAction()
Get the zoomOutAction.

setResetAction

public void setResetAction(javax.swing.Action a)
Set Reset Action

getResetAction

public javax.swing.Action getResetAction()
Get the Reset Action.

setMoveLeftAction

public void setMoveLeftAction(javax.swing.Action a)
Set moveLeft action.

getMoveLeftAction

public javax.swing.Action getMoveLeftAction()
Get the moveLeft Action.

setMoveRightAction

public void setMoveRightAction(javax.swing.Action a)
Set the moveRight action.

getMoveRightAction

public javax.swing.Action getMoveRightAction()
Get the moveRight action.

setSearchAction

public void setSearchAction(javax.swing.Action a)
Set the Search Action

getSearchAction

public javax.swing.Action getSearchAction()
Get the search Action.

setHelpAction

public void setHelpAction(javax.swing.Action a)
Set help action

getHelpAction

public javax.swing.Action getHelpAction()
Get the help action.

setExitAction

public void setExitAction(javax.swing.Action exit)
Set the exit action.

getExitAction

public javax.swing.Action getExitAction()
Get the exit action.