|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FloatingLiveTypeDescriptor
This interface is used to modify the behaviours of FLOATING_LIVE type.
ToolWindowType.FLOATING_LIVE| Method Summary | |
|---|---|
Point |
getLocation()
Gets the location of the window in the form of a point specifying the component's top-left corner. |
Dimension |
getSize()
Returns the size of the window in the form of a Dimension object. |
int |
getTransparentDelay()
Returns the transparent delay. |
float |
getTransparentRatio()
Returns the transparent ratio. |
boolean |
isResizable()
Returns whether the floatingwindow is resizable by user mouse actions. |
boolean |
isTransparentMode()
Returns the transparent mode. |
void |
setLocation(int x,
int y)
Sets the window location. |
void |
setResizable(boolean resizable)
When true, the floating window is not resizable by user mouse actions. |
void |
setSize(int width,
int height)
Sets the window size. |
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 |
|---|
void setLocation(int x,
int y)
x and y
parameters in the system coordinate space.
x - the x-coordinate of the new location's
top-left corner in the system's coordinate spacey - the y-coordinate of the new location's
top-left corner in the system's coordinate spacegetLocation()Point getLocation()
Point representing the top-left corner of the component's bounds in
the system coordinate space.setLocation(int, int)
void setSize(int width,
int height)
width - the new width of this component in pixelsheight - the new height of this component in pixelsgetSize()Dimension getSize()
Dimension object. The height
field of the Dimension object contains
this window's height, and the width
field of the Dimension object contains
this window's width.
Dimension object that indicates the
size of this window.setSize(int, int)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 setResizable(boolean resizable)
resizable - whether user resize is allowedboolean isResizable()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||