com.javadocking.dockable.action
Class ShowActionMode

java.lang.Object
  extended by com.javadocking.dockable.action.ShowActionMode

public class ShowActionMode
extends java.lang.Object

A mode that describes which actions of a dockable are shown in a header.

Author:
Heidi Rakels.

Field Summary
static ShowActionMode ALL_ACTIONS
          With this mode all the actions of the docable are shown in the header.
static ShowActionMode FIRST_ROW_ACTIONS
          With this mode the first row of the matrix of actions of the docable are shown in the header.
static ShowActionMode NO_ACTIONS
          With this mode no actions of the docable are shown in the header.
 
Constructor Summary
protected ShowActionMode(java.lang.String name)
          Constructs a show action mode.
 
Method Summary
 boolean equals(java.lang.Object object)
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NO_ACTIONS

public static final ShowActionMode NO_ACTIONS
With this mode no actions of the docable are shown in the header.


ALL_ACTIONS

public static final ShowActionMode ALL_ACTIONS
With this mode all the actions of the docable are shown in the header.


FIRST_ROW_ACTIONS

public static final ShowActionMode FIRST_ROW_ACTIONS
With this mode the first row of the matrix of actions of the docable are shown in the header.

Constructor Detail

ShowActionMode

protected ShowActionMode(java.lang.String name)
Constructs a show action mode.

Parameters:
name - The action name.
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

equals

public boolean equals(java.lang.Object object)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object