|
||||||||||
| 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 showed.
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 |
isMinimizable()
Returns whether this content manager permits the contents to be minimized using the ui. |
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 |
setMinimizable(boolean minimizable)
Sets the minimizable property of 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 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()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 | |||||||||