org.noos.xing.mydoggy
Interface ToolWindowTab

All Superinterfaces:
Dockable<ToolWindow>, Observable

public interface ToolWindowTab
extends Dockable<ToolWindow>

Every toolwindow can be considered as a special JTabbedPane and so it can contain more than one component. A ToolWindowTab represents a tab in this special JTabbedPane. Is is described by a title, an icon and a component. A tab can be selected or not.

Since:
1.3.0
Author:
Angelo De Caro (angelo.decaro@gmail.com)

Method Summary
 Dockable getDockableDelegator()
          Returns the dockable that this tab is accomodating, null if no dockable is accomodated.
 ToolWindow getOwner()
          Returns the owner ot this tab.
 boolean isCloseable()
          Returns whether this tab could be close using the ui.
 boolean isMinimizable()
          Returns whether this tab could be minimized using the ui.
 void setCloseable(boolean closeable)
          Sets the closeable property of this tab.
 void setComponent(Component component)
          This method is used to set the component for the tab.
 void setMinimizable(boolean minimizable)
          Sets the minimizable property of this tab.
 
Methods inherited from interface org.noos.xing.mydoggy.Dockable
ensureVisible, getComponent, getDockableManager, getIcon, getId, getTitle, isDetached, isFlashing, isMaximized, isMinimized, isSelected, isVisible, setDetached, setFlashing, setFlashing, setIcon, setMaximized, setMinimized, setSelected, setTitle
 
Methods inherited from interface org.noos.xing.mydoggy.Observable
addPropertyChangeListener, addPropertyChangeListener, getPropertyChangeListeners, getPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener
 

Method Detail

getOwner

ToolWindow getOwner()
Returns the owner ot this tab.

Returns:
the owner ot this tab.
Since:
1.4.0

setComponent

void setComponent(Component component)
This method is used to set the component for the tab.

Parameters:
component - the new component.
Since:
1.3.0
See Also:
()

isCloseable

boolean isCloseable()
Returns whether this tab could be close using the ui.

Returns:
true if this content can be closed using the ui, false otherwise.
Since:
1.3.0
See Also:
setCloseable(boolean)

setCloseable

void setCloseable(boolean closeable)
Sets the closeable property of this tab.

Parameters:
closeable - true if this content can be closed using the ui, false otherwise.
Since:
1.3.0
See Also:
isCloseable()

isMinimizable

boolean isMinimizable()
Returns whether this tab could be minimized using the ui.

Returns:
true if this content can be minimized using the ui, false otherwise.
Since:
1.5.0

setMinimizable

void setMinimizable(boolean minimizable)
Sets the minimizable property of this tab.

Parameters:
minimizable - true if this content can be minimized using the ui, false otherwise.
Since:
1.5.0
See Also:
isMinimizable()

getDockableDelegator

Dockable getDockableDelegator()
Returns the dockable that this tab is accomodating, null if no dockable is accomodated.

Returns:
the dockable that this tab is accomodating, null if no dockable is accomodated.
Since:
1.4.0
See Also:
ToolWindow.addToolWindowTab(Dockable)


Copyright © 2012. All Rights Reserved.