com.tensegrity.gui.swing.dock.core
Class TabActions

java.lang.Object
  extended bycom.tensegrity.gui.swing.dock.core.TabActions

public final class TabActions
extends java.lang.Object

Docking framework.

Version:
$Id: TabActions.java,v 1.7 2005/09/23 09:51:37 sr Exp $
Author:
srutz

Nested Class Summary
static class TabActions.CloseAllEntriesAction
           
static class TabActions.CloseEntryAction
           
static class TabActions.CloseOtherEntriesAction
           
static class TabActions.MinMaxAction
           
static class TabActions.NextEntryAction
           
static class TabActions.NextEntryInViewAction
           
static class TabActions.PreviousEntryAction
           
static class TabActions.PreviousEntryInViewAction
           
static class TabActions.SplitAction
           
 
Field Summary
static java.lang.String TOGGLEBUTTON_ACTION
          Property key for marking actions so that a toggle-button is created for them.
 
Method Summary
static void performClose(TabPane tabpane)
          Performs the actual work of a close-entry action invoked on the given TabPane.
static void performCloseAll(TabPane tabpane)
          Performs the actual work of a close-all-entries action invoked on the given TabPane.
static void performCloseOther(TabPane tabpane)
          Performs the actual work of a close-other-entries action invoked on the given TabPane.
static void performMinMax(TabPane tabpane)
          Performs the actual work of a MinMax action invoked on the given TabPane.
static javax.swing.AbstractButton toolbarButton(javax.swing.Action action)
          Creates a standard toolbar button from the given TabActions.MinMaxAction.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TOGGLEBUTTON_ACTION

public static final java.lang.String TOGGLEBUTTON_ACTION
Property key for marking actions so that a toggle-button is created for them.

See Also:
Constant Field Values
Method Detail

toolbarButton

public static final javax.swing.AbstractButton toolbarButton(javax.swing.Action action)
Creates a standard toolbar button from the given TabActions.MinMaxAction.

Parameters:
action - the TabActions.MinMaxAction for the button.
Returns:
the standard toolbar button for the given TabActions.MinMaxAction.

performMinMax

public static void performMinMax(TabPane tabpane)
Performs the actual work of a MinMax action invoked on the given TabPane.

Parameters:
tabpane - the TabPane on which the min/max action is to be executed.

performClose

public static void performClose(TabPane tabpane)
Performs the actual work of a close-entry action invoked on the given TabPane.

Parameters:
tabpane - the TabPane on which the close-entry action is to be executed.

performCloseOther

public static void performCloseOther(TabPane tabpane)
Performs the actual work of a close-other-entries action invoked on the given TabPane.

Parameters:
tabpane - the TabPane on which the close-other-entries action is to be executed.

performCloseAll

public static void performCloseAll(TabPane tabpane)
Performs the actual work of a close-all-entries action invoked on the given TabPane.

Parameters:
tabpane - the TabPane on which the close-all-entries action is to be executed.


Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.