Class JSWindow

Object
   |
   +--JSWindow

class JSWindow

 
Method Summary
 void addTab(<JSTab> jsTab)
           Add a tab to the tab manager
 void close()
           Close window
 void dragTabStart(<Element> item)
           Start of tab dragging, calculate inital positions
 void expand(<boolean> expand)
           Expand/collapse a collapsible window
 object getPosition()
           Get the current position
 object getSize()
           Get the current size
 void initialize(manager, w, h, l, t, options, contents)
          
 void maximise()
           Maximise / restore window
 void ondrop(drag)
           Fires when component is dropped (if set to draggable)
 void onmove(drag)
           Fires when component is moved (if set to draggable)
 Object openTab(<Element> contents, <boolean> force)
           Open a new tab in a window
 void readObject(<String> serialData)
           Read serialised object state data into the window
 void redrawShadow()
           Redraws the drop shadow
 void redrawTabList(<boolean> force)
           Redraw the tab list
 void setActive()
           Set window as active, shortcut to JSWM.setActiveWindow()
 void setActiveTab(<Element> jsTab)
           Sets a tab as active
 void setPosition(&l<int> t;int> l, t, <boolean> relative)
           Position the window aboslutely or relatively
 void setSize(<int> w, <int> h, <int> fixedCorner, <boolean> relative)
           Resize a window
 void setTitle(<string> title, <string> icon)
           Set the window title
 void updateMaximise()
           Update maximise size if window is resized
 Object writeObject()
           Write object state data for serialisation


Method Detail

addTab

void addTab(<JSTab> jsTab)

close

void close()

dragTabStart

void dragTabStart(<Element> item)

expand

void expand(<boolean> expand)

getPosition

object getPosition()

getSize

object getSize()

initialize

void initialize(manager, w, h, l, t, options, contents)

maximise

void maximise()

ondrop

void ondrop(drag)

onmove

void onmove(drag)

openTab

Object openTab(<Element> contents, <boolean> force)

readObject

void readObject(<String> serialData)

redrawShadow

void redrawShadow()

redrawTabList

void redrawTabList(<boolean> force)

setActive

void setActive()

setActiveTab

void setActiveTab(<Element> jsTab)

setPosition

void setPosition(&l<int> t;int> l, t, <boolean> relative)

setSize

void setSize(<int> w, <int> h, <int> fixedCorner, <boolean> relative)

setTitle

void setTitle(<string> title, <string> icon)

updateMaximise

void updateMaximise()

writeObject

Object writeObject()


Documentation generated by JSDoc on Sun May 6 13:35:11 2007