|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ToolWindowTab
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.
| 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 |
|---|
ToolWindow getOwner()
void setComponent(Component component)
component - the new component.()boolean isCloseable()
true if this content can be closed using the ui, false otherwise.setCloseable(boolean)void setCloseable(boolean closeable)
closeable - true if this content can be closed using the ui, false otherwise.isCloseable()boolean isMinimizable()
true if this content can be minimized using the ui, false otherwise.void setMinimizable(boolean minimizable)
minimizable - true if this content can be minimized using the ui, false otherwise.isMinimizable()Dockable getDockableDelegator()
null if no dockable is accomodated.
null if no dockable is accomodated.ToolWindow.addToolWindowTab(Dockable)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||