|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DockedTypeDescriptor
This interface is used to modify the behaviours of DOCKED type.
ToolWindowType.DOCKED| Method Summary | |
|---|---|
int |
getDockLength()
Returns the dock panel length. |
int |
getMinimumDockLength()
Returns the minimum dock length used during toolwindow showing. |
JMenu |
getToolsMenu()
The user can add customized menu items to the popup menu of the representative anchor button of this tool using the result of this method invocation. |
ToolWindowActionHandler |
getToolWindowActionHandler()
Returns the ToolWindowActionHandler instance or null if it is not present. |
boolean |
isPopupMenuEnabled()
Indicates whether the popup menu of the representative anchor button of the tool is enabled. |
void |
setDockLength(int dockLength)
Sets the width or heigth, based on anchor of tool window, of the dock panel. |
void |
setMinimumDockLength(int minimumDockLength)
Sets the minimum dock length. |
void |
setPopupMenuEnabled(boolean enabled)
Specifies whether the popup menu of the representative anchor button of the tool should be enabled. |
void |
setToolWindowActionHandler(ToolWindowActionHandler toolWindowActionHandler)
Sets the ToolWindowActionHandler to this descriptor. |
| Methods inherited from interface org.noos.xing.mydoggy.Observable |
|---|
addPropertyChangeListener, addPropertyChangeListener, getPropertyChangeListeners, getPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener |
| Method Detail |
|---|
void setPopupMenuEnabled(boolean enabled)
enabled - true to enable popup menu.
false otherwise.ToolWindowType,
isPopupMenuEnabled(),
ToolWindowAnchorboolean isPopupMenuEnabled()
true if the popup menu is enabled;
false otherwise.setPopupMenuEnabled(boolean),
ToolWindowAnchorJMenu getToolsMenu()
ToolWindowAnchorvoid setDockLength(int dockLength)
dockLength - getDockLength()int getDockLength()
setDockLength(int)void setMinimumDockLength(int minimumDockLength)
minimumDockLength - the minimum dock length.int getMinimumDockLength()
ToolWindowActionHandler getToolWindowActionHandler()
ToolWindowActionHandler,
setToolWindowActionHandler(ToolWindowActionHandler)void setToolWindowActionHandler(ToolWindowActionHandler toolWindowActionHandler)
toolWindowActionHandler - the handler.ToolWindowActionHandler,
getToolWindowActionHandler(),
getToolWindowActionHandler()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||