|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ContentManagerUI<C extends ContentUI>
A ContentManagerUI is an interface to modify the ui behaviours of a content manager. For example this is used to modify the way a content is shown.
TabbedContentManagerUI,
DesktopContentManagerUI| Method Summary | |
|---|---|
void |
addContentManagerUIListener(ContentManagerUIListener listener)
Registers listener so that it will receive events when
contentUIs are removed or detached. |
ContentManagerUIListener[] |
getContentManagerUiListener()
Returns an array of all the content manager listeners registered on this manager. |
C |
getContentUI(Content content)
Returns the ui part to which this manager maps the specified content. |
boolean |
isCloseable()
Returns the closeable property value. |
boolean |
isDetachable()
Returns the detachable property value. |
boolean |
isMaximizable()
Returns whether this content manager permits the contents to be maximized using the ui. |
boolean |
isMinimizable()
Returns whether this content manager permits the contents to be minimized using the ui. |
boolean |
isPopupMenuEnabled()
Returns whether this content manager permits the popup menu to be shown. |
void |
removeContentManagerUIListener(ContentManagerUIListener listener)
Unregisters listener so that it will no longer receive
events. |
void |
setCloseable(boolean closeable)
Set the closeable property. |
void |
setDetachable(boolean detachable)
Set the detachable property. |
void |
setMaximizable(boolean maximizable)
Sets the maximizable property of this manager. |
void |
setMinimizable(boolean minimizable)
Sets the minimizable property of this manager. |
void |
setPopupMenuEnabled(boolean popupMenuEnabled)
Enables or disabled the popup menu for this manager. |
| Methods inherited from interface org.noos.xing.mydoggy.Observable |
|---|
addPropertyChangeListener, addPropertyChangeListener, getPropertyChangeListeners, getPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener |
| Method Detail |
|---|
void setCloseable(boolean closeable)
closeable - true if all contents can be closed using the ui, false otherwise.boolean isCloseable()
void setDetachable(boolean detachable)
detachable - true if all contents can be detached using the ui, false otherwise.boolean isDetachable()
boolean isMaximizable()
true if this content can be maximized using the ui, false otherwise.void setMaximizable(boolean maximizable)
maximizable - true if this content can be maximized using the ui, false otherwise.isDetachable()boolean isMinimizable()
true if this content can be minimized using the ui, false otherwise.void setMinimizable(boolean minimizable)
minimizable - true if this content can be minimized using the ui, false otherwise.isDetachable()void setPopupMenuEnabled(boolean popupMenuEnabled)
popupMenuEnabled - boolean isPopupMenuEnabled()
true if the popup menu can be shown, false otherwise.C getContentUI(Content content)
content.
content - content whose associated ui part is to be returned.
content.void addContentManagerUIListener(ContentManagerUIListener listener)
listener so that it will receive events when
contentUIs are removed or detached.
If listener listener is null,
no exception is thrown and no action is performed.
listener - the ContentManagerUIListener to register.ContentManagerListenervoid removeContentManagerUIListener(ContentManagerUIListener listener)
listener so that it will no longer receive
events. This method performs no function, nor does it throw an exception, if the listener
specified by the argument was not previously added to this group.
If listener listener is null,
no exception is thrown and no action is performed.
listener - the ContentManagerUIListener to be removedaddContentManagerUIListener(ContentManagerUIListener)ContentManagerUIListener[] getContentManagerUiListener()
ContentManagerUIListeners
or an empty array if no tool window manager listeners are currently registered.addContentManagerUIListener(ContentManagerUIListener),
removeContentManagerUIListener(ContentManagerUIListener)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||