|
||||||||||
| 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. |
int |
getPreviewDelay()
Returns the preview delay. |
float |
getPreviewTransparentRatio()
Returns the transparent ratio. |
javax.swing.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 |
isHideRepresentativeButtonOnVisible()
Returns the "hideRepresentativeButtonOnVisible" property value. |
boolean |
isPopupMenuEnabled()
Indicates whether the popup menu of the representative anchor button of the tool is enabled. |
boolean |
isPreviewEnabled()
Returns the preview mode status. |
void |
setDockLength(int dockLength)
Sets the width or heigth, based on anchor of tool window, of the dock panel. |
void |
setHideRepresentativeButtonOnVisible(boolean hideRepresentativeButtonOnVisible)
Sets if mydoggy must hide the representative button when the tool become visible and the tool has type ToolWindowType.DOCKED. |
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 |
setPreviewDelay(int delay)
Sets the preview delay. |
void |
setPreviewEnabled(boolean enabled)
Sets the preview mode. |
void |
setPreviewTransparentRatio(float transparentRatio)
Sets the transparent ratio of the preview. |
void |
setToolWindowActionHandler(ToolWindowActionHandler toolWindowActionHandler)
Sets the ToolWindowActionHandler to this descriptor. |
| Methods inherited from interface org.noos.xing.mydoggy.ToolWindowTypeDescriptor |
|---|
isAnimating, isAutoHide, isEnabled, isIdVisibleOnTitleBar, setAnimating, setAutoHide, setEnabled, setIdVisibleOnTitleBar |
| 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),
ToolWindowAnchorjavax.swing.JMenu 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()void setPreviewEnabled(boolean enabled)
enabled - true to enable preview mode;
false to disable preview mode.isPreviewEnabled()boolean isPreviewEnabled()
true if the preview mode is enabled;
false otherwise.setPreviewEnabled(boolean)void setPreviewDelay(int delay)
delay - the preview delaygetPreviewDelay()int getPreviewDelay()
setPreviewDelay(int)void setPreviewTransparentRatio(float transparentRatio)
transparentRatio - the transparent ratio.getPreviewTransparentRatio()float getPreviewTransparentRatio()
setPreviewTransparentRatio(float)void setHideRepresentativeButtonOnVisible(boolean hideRepresentativeButtonOnVisible)
hideRepresentativeButtonOnVisible - true if mydoggy must hide the representative button when the tool become visible and the
tool has type ToolWindowType.DOCKED.false otherwise.boolean isHideRepresentativeButtonOnVisible()
true if mydoggy must hide the representative button when the tool become visible and the
tool has type ToolWindowType.DOCKED.false otherwise.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||