Class draw2d.Window

Object
   |
   +--draw2d.Figure
         |
         +--draw2d.Window
Direct Known Subclasses:
draw2d.Dialog, draw2d.ToolPalette, draw2d.PropertyWindow

class draw2d.Window
extends draw2d.Figure

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.
 
Methods inherited from class draw2d.Figure
getProperties, getProperty, setProperty, getId, getWorkflow, getParent, getZOrder, setZOrder, setBorder, getContextMenu, onDoubleClick, onMouseEnter, onMouseLeave, setPosition, setResizeable, setSelectable, isStrechable, isDeleteable, setDeleteable, setCanSnapToHelper, getCanSnapToHelper, getSnapToGridAnchor, setSnapToGridAnchor, getBounds, getWidth, getHeight, getY, getX, getAbsoluteY, getAbsoluteX, onKeyDown, getPosition, isOver, attachMoveListener, detachMoveListener
 

Constructor Detail

draw2d.Window

draw2d.Window( title)

Method Detail

getMinHeight

int getMinHeight()

getMinWidth

int getMinWidth()

hasFixedPosition

boolean hasFixedPosition()

hasTitleBar

boolean hasTitleBar()

isResizeable

boolean isResizeable()

onDragstart

boolean onDragstart( <int> x, <int> y)

onSelectionChanged

void onSelectionChanged( <draw2d.Figure> figure)

setBackgroundColor

void setBackgroundColor( <draw2d.Color> color)

setCanDrag

void setCanDrag(<boolean> flag)

setColor

void setColor( <draw2d.Color> color)

setDimension

void setDimension( <int> w, <int> h)

setLineWidth

void setLineWidth( <int> w)

setTitle

void setTitle( <String> title)

setZOrderBaseIndex

<static> void setZOrderBaseIndex( <int> index)


Documentation generated by JSDoc on Thu Feb 7 23:45:47 2008