|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object
|
+--draw2d.Figure
|
+--draw2d.Window
Defined in Window.js
Version: 0.9.14
Author: Andreas Herz
| Constructor Summary | |
draw2d.Window
( title)
|
|
| Method Summary | |
int
|
getMinHeight()
This value is relevant for the interactive resize of the figure. |
int
|
getMinWidth()
This value is relevant for the interactive resize of the figure. |
boolean
|
hasFixedPosition()
Return true if the origin of the Object is the window and not the document. |
boolean
|
hasTitleBar()
Return true if the window has a title bar |
boolean
|
isResizeable()
Returns the true if the figure can be resized. |
boolean
|
onDragstart( <int> x, <int> y)
Will be called if the object are move via drag and drop. |
void
|
onSelectionChanged( <draw2d.Figure> figure)
Call back method of the framework if the selected object has been changed. |
void
|
setBackgroundColor( <draw2d.Color> color)
Set the background color of the window. |
void
|
setCanDrag(<boolean> flag)
Switch on/off the drag drop behaviour of this object |
void
|
setColor( <draw2d.Color> color)
|
void
|
setDimension( <int> w, <int> h)
Set the new dimension of the window. |
void
|
setLineWidth( <int> w)
mmmh, make this sense? |
void
|
setTitle( <String> title)
Set the new title / header of this dialog. |
<static> void
|
setZOrderBaseIndex( <int> index)
Set the common z-index of the window element. |
| Constructor Detail |
draw2d.Window( title)
| Method Detail |
int getMinHeight()
int getMinWidth()
boolean hasFixedPosition()
boolean hasTitleBar()
boolean isResizeable()
boolean onDragstart( <int> x, <int> y)
x - x position of the mouse in the window
y - y position of the mouse in the window
void onSelectionChanged( <draw2d.Figure> figure)
figure - the object which has been selected.
void setBackgroundColor( <draw2d.Color> color)
color - The new background color of the object.
void setCanDrag(<boolean> flag)
flag - The flag which handles the drag drop behaviour of this window.
void setColor( <draw2d.Color> color)
color - The new border color of the window.
void setDimension( <int> w, <int> h)
w - new width of the window.
h - new height of the window.
void setLineWidth( <int> w)
w - The new border width of the window.
void setTitle( <String> title)
title - The new title of the window
<static> void setZOrderBaseIndex( <int> index)
index - The z-order for all new window objects.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||