|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ContentUI
This interface is used to modify the ui behaviours of a single content.
TabbedContentUI,
DesktopContentUI| Method Summary | |
|---|---|
Content |
getContent()
Returns the Content contropart of this ContentUI. |
Rectangle |
getDetachedBounds()
Returns the bounds of the detached window from the last detached session. |
int |
getTransparentDelay()
Returns the transparent delay. |
float |
getTransparentRatio()
Returns the transparent ratio. |
boolean |
isAddToTaskBarWhenDetached()
Returns the property value of "addToTaskBarWhenDetached". |
boolean |
isAlwaysOnTop()
Returns the value of the alwaysOnTop property. |
boolean |
isCloseable()
Returns whether this content could be close using the ui. |
boolean |
isDetachable()
Returns whether this content could be detach using the ui. |
boolean |
isMaximizable()
Returns whether this content could be maximized using the ui. |
boolean |
isMinimizable()
Returns whether this content could be minimized using the ui. |
boolean |
isTransparentMode()
Returns the transparent mode. |
void |
setAddToTaskBarWhenDetached(boolean addToTaskBarWhenDetached)
When it sets to true then when the content is detached a button is added to the task bar of your operating system. |
void |
setAlwaysOnTop(boolean alwaysOnTop)
Changes the alwaysOnTop property value used for the window associated to the detache content. |
void |
setCloseable(boolean closeable)
Sets the closeable property of this content. |
void |
setConstraints(Object... contraints)
Set up contraints for the content. |
void |
setDetachable(boolean detachable)
Sets the detachable property of this content. |
void |
setDetachedBounds(Rectangle detachedBounds)
Sets the bounds for the next detached session. |
void |
setMaximizable(boolean maximizable)
Sets the maximizable property of this content. |
void |
setMinimizable(boolean minimizable)
Sets the minimizable property of this content. |
void |
setTransparentDelay(int transparentDelay)
Sets the transparent delay. |
void |
setTransparentMode(boolean transparentMode)
Sets the transparent mode. |
void |
setTransparentRatio(float transparentRatio)
Sets the transparent ratio. |
| Methods inherited from interface org.noos.xing.mydoggy.Observable |
|---|
addPropertyChangeListener, addPropertyChangeListener, getPropertyChangeListeners, getPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener |
| Method Detail |
|---|
Content getContent()
boolean isCloseable()
true if this content can be closed using the ui, false otherwise.setCloseable(boolean)void setCloseable(boolean closeable)
closeable - true if this content can be closed using the ui, false otherwise.isCloseable()boolean isDetachable()
true if this content can be detached using the ui, false otherwise.void setDetachable(boolean detachable)
detachable - true if this content can be detached 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.()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.isMaximizable()void setTransparentMode(boolean transparentMode)
transparentMode - true to enable trasparent mode;
false to disable transparent mode.isTransparentMode(),
setTransparentRatio(float)boolean isTransparentMode()
true if the trasparent mode is enabled;
false otherwise.setTransparentMode(boolean)void setTransparentRatio(float transparentRatio)
transparentRatio - the transparent ratio.float getTransparentRatio()
void setTransparentDelay(int transparentDelay)
transparentDelay - the transparent delayint getTransparentDelay()
void setConstraints(Object... contraints)
contraints - the constraint to bound the content into the ui.Rectangle getDetachedBounds()
void setDetachedBounds(Rectangle detachedBounds)
detachedBounds - bounds to be setted.void setAddToTaskBarWhenDetached(boolean addToTaskBarWhenDetached)
addToTaskBarWhenDetached - true if to the content is associated a button
into the task bar when it is detached, false otherwise.boolean isAddToTaskBarWhenDetached()
void setAlwaysOnTop(boolean alwaysOnTop)
alwaysOnTop - new value of always-on-top state of the window.boolean isAlwaysOnTop()
true, if the content window is in always-on-top state,
false otherwisesetAlwaysOnTop(boolean)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||