Widget Chrome Libary

Class WidgetChrome

Object
   |
   +--WidgetChrome

class WidgetChrome


A class which paints the chrome and handles resizing.
Defined in chrome.js


Field Summary
 HTMLButtonElement ButtonClose
          Reference to the close button
 HTMLButtonElement ButtonConfig
          Reference to the config button
 Integer minHeight
          The minimum height for the widget
 Integer minWidth
          The minimum width for the widget
 
Constructor Summary
WidgetChrome()
            This class is used to make the widget chrome.
 
Method Summary
 void addElementToChrome(<Object> element)
           This functions allows you to add HTMLElements to the widget chrome.
 void autoResize(<Object> element)
           This functions allows you to automatically size a HTMLElement to the widget content area.
 void disableStyleSheet(<String> title)
           Function to disable a stylesheet at runtime.
 void enableStyleSheet(<String> title)
           Function to enable a stylesheet at runtime.
 void redraw()
           A public function to redraw the chrome.
 void setFullScreen()
           This function makes the widget fullscreen.
 void setSkin(<String> skinName)
           To set the skin used as the Chrome.
 void setTitle(<String> title)
           Changes the title of the widget.
 void showScrollBars(<Boolean> state)
           Set if the scrollbars should be visible if content is more than visible area.

Field Detail

ButtonClose

HTMLButtonElement ButtonClose

ButtonConfig

HTMLButtonElement ButtonConfig

minHeight

Integer minHeight

minWidth

Integer minWidth

Constructor Detail

WidgetChrome

WidgetChrome()

Method Detail

addElementToChrome

void addElementToChrome(<Object> element)

autoResize

void autoResize(<Object> element)

disableStyleSheet

void disableStyleSheet(<String> title)

enableStyleSheet

void enableStyleSheet(<String> title)

redraw

void redraw()

setFullScreen

void setFullScreen()

setSkin

void setSkin(<String> skinName)

setTitle

void setTitle(<String> title)

showScrollBars

void showScrollBars(<Boolean> state)

Widget Chrome Libary

Documentation generated by JSDoc on Tue Jul 22 11:23:57 2008