|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ToolWindowBar
This interface is used to modify all toolwindow anchor related properties.
ToolWindowAnchor,
ToolWindowManager.getToolWindowBar(ToolWindowAnchor)| Method Summary | |
|---|---|
boolean |
areToolsVisible()
Returns the value of visible property. |
ToolWindowAnchor |
getAnchor()
Returns the reference anchor. |
int |
getDividerSize()
Returns the size of the border the separate a docked toolwindow from the contenManager for the specified anchor. |
int |
getLength()
Returns the length in pixel of the bar. |
JPopupMenu |
getPopupMenu()
Returns the popup menu. |
ToolWindowManager |
getToolWindowManager()
Returns the toolwindow manager related to this bar. |
ToolWindow[] |
getToolWindows()
Returns an array of the toolwindows attached on this bar. |
boolean |
isAggregateMode()
Returns aggregate mode value for this anchor. |
boolean |
isVisible()
TODO |
void |
setAggregateMode(boolean enable)
Sets the aggregate mode for tools on the this anchor. |
void |
setDividerSize(int size)
Sets the size of the border the separate a docked toolwindow from the contenManager for a specific anchor. |
void |
setLength(int length)
Sets the length in pixel of the bar. |
void |
setPopupMenu(JPopupMenu popupMenu)
Sets the popup menu to popupMenu. |
void |
setToolsVisible(boolean visible)
This method is used to store and restore the toolwindows visible on this bar. |
void |
setVisible(boolean visible)
TODO: |
| Methods inherited from interface org.noos.xing.mydoggy.Observable |
|---|
addPropertyChangeListener, addPropertyChangeListener, getPropertyChangeListeners, getPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener |
| Method Detail |
|---|
ToolWindowManager getToolWindowManager()
ToolWindowAnchor getAnchor()
ToolWindowAnchorvoid setDividerSize(int size)
size - an integer giving the size of the divider in pixelsgetDividerSize(),
ToolWindowAnchorint getDividerSize()
setDividerSize(int)void setAggregateMode(boolean enable)
enable - aggregate mode value.boolean isAggregateMode()
void setPopupMenu(JPopupMenu popupMenu)
popupMenu.
popupMenu - the popup menu for the bar.getPopupMenu()JPopupMenu getPopupMenu()
setPopupMenu(javax.swing.JPopupMenu)void setLength(int length)
length - length in pixel of the bar.int getLength()
ToolWindow[] getToolWindows()
boolean isVisible()
setVisible(boolean)void setVisible(boolean visible)
boolean areToolsVisible()
false if the last call to setVisible was with a false, true otherwise.setToolsVisible(boolean)void setToolsVisible(boolean visible)
setVisible(false) the current state of the bar is stored and all docked toolwindows
visible on this bar are hidden.
When you after call setVisible(true) the state of the bar is restored to the previous saved state.
visible - false to store the state of the bar and hide all docked toolwindows. true
to restore the previous saved state if any.areToolsVisible()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||