com.vlsolutions.swing.docking

Class TabbedContainerActions

public class TabbedContainerActions extends Object

An utility class providing default implementation of usefull actions for pop-up menus in tab container selectors.

UNKNOWN: 2005/10/07 Lilian Chamontin : added the attach action for floating tabs

Method Summary
static ActioncreateAttachTabAction(Dockable dockable, DockingDesktop desktop)
returns an action suitable for attaching a dockable contained in a floating tab.
static ActioncreateCloseAction(Dockable dockable, DockingDesktop desktop)
returns an action suitable for closing a dockable contained in a tab.
static ActioncreateCloseAllAction(Dockable base, DockingDesktop desktop)
returns an action suitable for closing every dockable contained in a tab.
static ActioncreateCloseAllOtherAction(Dockable exception, DockingDesktop desktop)
returns an action suitable for closing every dockable contained in a tab excepted the current one.
static ActioncreateFloatTabAction(Dockable dockable, DockingDesktop desktop)
returns an action suitable for floating (detach) a dockable contained in a tab.
static ActioncreateHideTabAction(Dockable dockable, DockingDesktop desktop)
returns an action suitable for hiding a dockable contained in a tab.
static ActioncreateMaximizeTabAction(Dockable dockable, DockingDesktop desktop)
returns an action suitable for maximizing a dockable contained in a tab.

Method Detail

createAttachTabAction

public static Action createAttachTabAction(Dockable dockable, DockingDesktop desktop)
returns an action suitable for attaching a dockable contained in a floating tab.

Action properties : The icon is provided, and a default "Attach" message.

Since: 2.0.1

createCloseAction

public static Action createCloseAction(Dockable dockable, DockingDesktop desktop)
returns an action suitable for closing a dockable contained in a tab.

Action properties : The icon is provided, and also the standard localized "close" message.

createCloseAllAction

public static Action createCloseAllAction(Dockable base, DockingDesktop desktop)
returns an action suitable for closing every dockable contained in a tab.

Action properties : The icon is provided, and also an unlocalized "Close all documents" message.

createCloseAllOtherAction

public static Action createCloseAllOtherAction(Dockable exception, DockingDesktop desktop)
returns an action suitable for closing every dockable contained in a tab excepted the current one.

Action properties : The icon is provided, and also an unlocalized "Close all other documents" message.

createFloatTabAction

public static Action createFloatTabAction(Dockable dockable, DockingDesktop desktop)
returns an action suitable for floating (detach) a dockable contained in a tab.

Action properties : The icon is provided, and a default "Detach" message.

createHideTabAction

public static Action createHideTabAction(Dockable dockable, DockingDesktop desktop)
returns an action suitable for hiding a dockable contained in a tab.

Action properties : The icon is provided, and also a localized "Iconify" message.

createMaximizeTabAction

public static Action createMaximizeTabAction(Dockable dockable, DockingDesktop desktop)
returns an action suitable for maximizing a dockable contained in a tab.

Action properties : The icon is provided, and also a localized "Maximize" message.

© Copyright 2004-2007 VLSolutions. All Rights Reserved.
www.vlsolutions.com : Java Components - Smart Client Applications