com.vlsolutions.swing.docking

Class DockViewAsTab

public class DockViewAsTab extends DockView implements SingleDockableContainer

This component is used to display single dockables like if they were in a tabbed pane.

Please note this component is still in its early stages and might change in future releases.

To use it, just install the TabFactory as DockableContainerFactory

Since: 2.1.3

See Also: TabFactory

Nested Class Summary
protected classDockViewAsTab.TabHeader
Field Summary
protected AbstractActioncloseAction
protected SmartIconJButtoncloseSmartIcon
protected AbstractActionfloatAction
protected SmartIconJButtonfloatSmartIcon
protected AbstractActionhideAction
protected SmartIconJButtonhideSmartIcon
protected booleanisAttachButtonDisplayed
protected booleanisCloseButtonDisplayed
protected booleanisDockButtonDisplayed
protected booleanisFloatButtonDisplayed
protected booleanisHideButtonDisplayed
protected booleanisMaximizeButtonDisplayed
protected booleanisRestoreButtonDisplayed
protected AbstractActionmaximizeAction
protected SmartIconJButtonmaximizeSmartIcon
protected JTabbedPaneSmartIconsmartIcon
smart icon used to display the title
protected DockViewAsTab.TabHeadertabHeader
The tab container in which the components are added
protected JTabbedPaneSmartIconManagertpManager
smart icon manager
Constructor Summary
DockViewAsTab(Dockable dockable)
Method Summary
voidclosePopUp()
This method is invoked to hide the pop-up that could still be visible (To avoid a visible pop-up for an invisible component)
protected voidconfigureCloseButton()
protected voidconfigureFloatButton()
protected voidconfigureHideButton()
protected voidconfigureMaximizeButton()
protected DockViewAsTab.TabHeadercreateTabHeader()
StringgetUIClassID()
protected voidinitAutoHidePopUp(JPopupMenu popup)
protected voidinitDockedPopUp(JPopupMenu popup)
protected voidinitFloatingPopUp(JPopupMenu popup)
Init the popup displayed as the title bar contextual menu
protected voidinitMaximizedPopUp(JPopupMenu popup)
Init the popup displayed as the title bar contextual menu
voidinstallDocking(DockingDesktop desktop)
protected voidmaximizeAction()
voidresetTabIcons()
voidsetDockable(Dockable d)
voidsetDockableAsTab(Dockable d)
voiduninstallDocking(DockingDesktop desktop)

Field Detail

closeAction

protected AbstractAction closeAction

closeSmartIcon

protected SmartIconJButton closeSmartIcon

floatAction

protected AbstractAction floatAction

floatSmartIcon

protected SmartIconJButton floatSmartIcon

hideAction

protected AbstractAction hideAction

hideSmartIcon

protected SmartIconJButton hideSmartIcon

isAttachButtonDisplayed

protected boolean isAttachButtonDisplayed

isCloseButtonDisplayed

protected boolean isCloseButtonDisplayed

isDockButtonDisplayed

protected boolean isDockButtonDisplayed

isFloatButtonDisplayed

protected boolean isFloatButtonDisplayed

isHideButtonDisplayed

protected boolean isHideButtonDisplayed

isMaximizeButtonDisplayed

protected boolean isMaximizeButtonDisplayed

isRestoreButtonDisplayed

protected boolean isRestoreButtonDisplayed

maximizeAction

protected AbstractAction maximizeAction

maximizeSmartIcon

protected SmartIconJButton maximizeSmartIcon

smartIcon

protected JTabbedPaneSmartIcon smartIcon
smart icon used to display the title

tabHeader

protected DockViewAsTab.TabHeader tabHeader
The tab container in which the components are added

tpManager

protected JTabbedPaneSmartIconManager tpManager
smart icon manager

Constructor Detail

DockViewAsTab

public DockViewAsTab(Dockable dockable)

Method Detail

closePopUp

public void closePopUp()
This method is invoked to hide the pop-up that could still be visible (To avoid a visible pop-up for an invisible component)

configureCloseButton

protected void configureCloseButton()

configureFloatButton

protected void configureFloatButton()

configureHideButton

protected void configureHideButton()

configureMaximizeButton

protected void configureMaximizeButton()

createTabHeader

protected DockViewAsTab.TabHeader createTabHeader()

getUIClassID

public String getUIClassID()

initAutoHidePopUp

protected void initAutoHidePopUp(JPopupMenu popup)

initDockedPopUp

protected void initDockedPopUp(JPopupMenu popup)

initFloatingPopUp

protected void initFloatingPopUp(JPopupMenu popup)
Init the popup displayed as the title bar contextual menu

initMaximizedPopUp

protected void initMaximizedPopUp(JPopupMenu popup)
Init the popup displayed as the title bar contextual menu

installDocking

public void installDocking(DockingDesktop desktop)
{@inheritDoc }

maximizeAction

protected void maximizeAction()

resetTabIcons

public void resetTabIcons()

setDockable

public void setDockable(Dockable d)

setDockableAsTab

public void setDockableAsTab(Dockable d)

uninstallDocking

public void uninstallDocking(DockingDesktop desktop)
{@inheritDoc }
© Copyright 2004-2007 VLSolutions. All Rights Reserved.
www.vlsolutions.com : Java Components - Smart Client Applications