|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Dockable<M extends DockableManager>
This interface represents the super interface for of all dockable object, i.e. ToolWindow, ToolWindowTab and Content.
ToolWindow,
ToolWindowTab,
Content| Method Summary | |
|---|---|
void |
ensureVisible()
Used to ensure that the dockable is visible. |
Component |
getComponent()
Returns the dockable component. |
M |
getDockableManager()
Returns the DockableManager associated with this dockable. |
Icon |
getIcon()
Returns the dockable icon. |
String |
getId()
Returns the id used to register this dockable. |
String |
getTitle()
Returns the dockable title. |
boolean |
isDetached()
Returns whether or not the dockable is currently detached. |
boolean |
isFlashing()
Returns whether flashing is currently enabled. |
boolean |
isMaximized()
Returns whether this dockable is currently maximized. |
boolean |
isMinimized()
Returns whether this dockable is currently minimized. |
boolean |
isSelected()
Returns whether or not the dockable is currently selected. |
boolean |
isVisible()
Returns true if the dockable is visible, false otherwise. |
void |
setDetached(boolean detached)
This method is used to detach a dockable from its position. |
void |
setFlashing(boolean flash)
Sets the flashing mode. |
void |
setFlashing(int duration)
This method is used to enable flashing for a specific duration. |
void |
setIcon(Icon icon)
This method is used to set the icon for this dockable. |
void |
setMaximized(boolean maximized)
Maximizes this dockable. |
void |
setMinimized(boolean minimized)
Minimizes this dockable. |
void |
setSelected(boolean selected)
Sets whether or not the dockable is selected. |
void |
setTitle(String title)
This method is used to set the title for this dockable. |
| Methods inherited from interface org.noos.xing.mydoggy.Observable |
|---|
addPropertyChangeListener, addPropertyChangeListener, getPropertyChangeListeners, getPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener |
| Method Detail |
|---|
M getDockableManager()
ToolWindowManager,
ToolWindow,
ContentManagerString getId()
String getTitle()
setTitle(String)void setTitle(String title)
title - the new title.getTitle()void setIcon(Icon icon)
icon - the new icon.getIcon()Icon getIcon()
setIcon(javax.swing.Icon)Component getComponent()
void setFlashing(boolean flash)
flash - true to enable flashing mode;
false to disable flashing mode.isFlashing(),
setFlashing(int)void setFlashing(int duration)
duration - the duration of the flashing in millisiconds.setFlashing(boolean)boolean isFlashing()
true if the flashing is currently enabled, false otherwise.void setDetached(boolean detached)
detached - true to detach the dockable, false to reattach the dockable into the old position.boolean isDetached()
setDetached(boolean)void setSelected(boolean selected)
selected - whether or not the dockable should be selected.isSelected()boolean isSelected()
setSelected(boolean)void setMaximized(boolean maximized)
maximized - a boolean, where true maximizes this dockable and false
restores it.boolean isMaximized()
true if this dockable is maximized, false otherwise.void setMinimized(boolean minimized)
minimized - a boolean, where true minimized this dockable and false
restores it.boolean isMinimized()
true if this dockable is minimized, false otherwise.void ensureVisible()
boolean isVisible()
true if the dockable is visible, false otherwise.
true if the dockable is visible, false otherwise.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||