|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ToolWindowTypeDescriptor
This is a markup interface for all ToolWindowTypeDescriptor. A ToolWindowTypeDescriptor is an interface to modify the behaviours of a specific tool window type.
ToolWindowType,
DockedTypeDescriptor,
FloatingTypeDescriptor| Method Summary | |
|---|---|
void |
addToolWindowAction(ToolWindowAction toolWindowAction)
Register or replace, if an action with the same id is already registered, a new action. |
void |
addToolWindowAction(ToolWindowAction toolWindowAction,
int index)
Register or replace, if an action with the same id is already registered, a new action. |
ToolWindowAction |
getToolWindowAction(String id)
Returns the toolWindow action to which this descriptor maps the specified id. |
ToolWindowAction[] |
getToolWindowActions()
Returns an array of the toolwindow actions registered into this descriptor. |
ToolWindowType |
getType()
Returns the type whom this descriptor is for. |
boolean |
isAnimating()
Returns whether the animations are enabled. |
boolean |
isAutoHide()
Returns the autoHide property value of the tool. |
boolean |
isEnabled()
Determines whether this mode is enabled. |
boolean |
isHideRepresentativeButtonOnVisible()
Returns the "hideRepresentativeButtonOnVisible" property value. |
boolean |
isIdVisibleOnTitleBar()
Returns true if the toolwindow's id is visible, false otherwise. |
boolean |
isTitleBarButtonsVisible()
Returns true if the toolwindow's action buttons are visible on the title bar, false otherwise. |
boolean |
isTitleBarVisible()
Returns true if the toolwindow's title bar, false otherwise. |
void |
removeToolWindowAction(String id)
Removes a toolwindow action by id from this descriptor if it is present. |
void |
setAnimating(boolean animating)
Enables or disables animations, depending on the value of the parameter animating. |
void |
setAutoHide(boolean autoHide)
This method is used to set the autoHide property for the tool. |
void |
setEnabled(boolean enabled)
Enables or disables this mode, depending on the value of the parameter enabled. |
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 |
setIdVisibleOnTitleBar(boolean idVisibleOnTitleBar)
Shows of hides the toolwindow's id on the title bar.. |
void |
setTitleBarButtonsVisible(boolean titleBarButtonsVisible)
Shows or hides the toolwindow's action buttons on title bar. |
void |
setTitleBarVisible(boolean titleBarVisible)
Shows or hides the toolwindow's title bar. |
| Methods inherited from interface org.noos.xing.mydoggy.Observable |
|---|
addPropertyChangeListener, addPropertyChangeListener, getPropertyChangeListeners, getPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener |
| Method Detail |
|---|
ToolWindowType getType()
void setAnimating(boolean animating)
animating.
animating - If true, animations are
enabled; otherwise animations are disabled.boolean isAnimating()
void setIdVisibleOnTitleBar(boolean idVisibleOnTitleBar)
idVisibleOnTitleBar - true to show the id on the title bar, false to hide.isIdVisibleOnTitleBar()boolean isIdVisibleOnTitleBar()
true if the toolwindow's id is visible, false otherwise.
true if the toolwindow's id is visible, false otherwise.setIdVisibleOnTitleBar(boolean)void setTitleBarButtonsVisible(boolean titleBarButtonsVisible)
titleBarButtonsVisible - true to show the action buttons on the title bar, false to hide.isIdVisibleOnTitleBar()boolean isTitleBarButtonsVisible()
true if the toolwindow's action buttons are visible on the title bar, false otherwise.
true if the toolwindow's action buttons are visible on the title bar, false otherwise.setIdVisibleOnTitleBar(boolean)void setTitleBarVisible(boolean titleBarVisible)
titleBarVisible - true to show the title bar, false to hide.isIdVisibleOnTitleBar()boolean isTitleBarVisible()
true if the toolwindow's title bar, false otherwise.
true if the toolwindow's title bar, false otherwise.setIdVisibleOnTitleBar(boolean)void setAutoHide(boolean autoHide)
autoHide - true to hide the tool when the tool losts focus;
false to make inactive the tool when the tool losts focus.isAutoHide()boolean isAutoHide()
setAutoHide(boolean)void setEnabled(boolean enabled)
enabled. An enabled mode can used by user.
enabled - If true, this mode is
enabled; otherwise this mode is disabledisEnabled()boolean isEnabled()
true if the mode is enabled,
false otherwisesetEnabled(boolean)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.void addToolWindowAction(ToolWindowAction toolWindowAction)
toolWindowAction - the action to be registered or replaced.ToolWindowAction
void addToolWindowAction(ToolWindowAction toolWindowAction,
int index)
toolWindowAction - the action to be registered or replaced.index - the index where to put the action.ToolWindowActionToolWindowAction getToolWindowAction(String id)
id - id whose associated toolWindow is to be returned.
ToolWindowAction[] getToolWindowActions()
void removeToolWindowAction(String id)
id - the toolwindow action's id to be removed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||