public class TabbedContainerActions extends Object
Modifier and Type | Method and Description |
---|---|
static Action |
createAttachTabAction(Dockable dockable,
DockingDesktop desktop)
returns an action suitable for attaching a dockable contained in a floating tab.
|
static Action |
createCloseAction(Dockable dockable,
DockingDesktop desktop)
returns an action suitable for closing a dockable contained in a tab.
|
static Action |
createCloseAllAction(Dockable base,
DockingDesktop desktop)
returns an action suitable for closing every dockable contained in a tab.
|
static Action |
createCloseAllOtherAction(Dockable exception,
DockingDesktop desktop)
returns an action suitable for closing every dockable contained in a tab excepted the current one.
|
static Action |
createFloatTabAction(Dockable dockable,
DockingDesktop desktop)
returns an action suitable for floating (detach) a dockable contained in a tab.
|
static Action |
createHideTabAction(Dockable dockable,
DockingDesktop desktop)
returns an action suitable for hiding a dockable contained in a tab.
|
static Action |
createMaximizeTabAction(Dockable dockable,
DockingDesktop desktop)
returns an action suitable for maximizing a dockable contained in a tab.
|
public static Action createCloseAction(Dockable dockable, DockingDesktop desktop)
Action properties : The icon is provided, and also the standard localized "close" message.
public static Action createCloseAllAction(Dockable base, DockingDesktop desktop)
Action properties : The icon is provided, and also an unlocalized "Close all documents" message.
public static Action createCloseAllOtherAction(Dockable exception, DockingDesktop desktop)
Action properties : The icon is provided, and also an unlocalized "Close all other documents" message.
public static Action createMaximizeTabAction(Dockable dockable, DockingDesktop desktop)
Action properties : The icon is provided, and also a localized "Maximize" message.
public static Action createHideTabAction(Dockable dockable, DockingDesktop desktop)
Action properties : The icon is provided, and also a localized "Iconify" message.
public static Action createFloatTabAction(Dockable dockable, DockingDesktop desktop)
Action properties : The icon is provided, and a default "Detach" message.
public static Action createAttachTabAction(Dockable dockable, DockingDesktop desktop)
Action properties : The icon is provided, and a default "Attach" message.
© Copyright 2004-2013 Lilian Chamontin. All Rights Reserved.