Sydney

Class RadioButton

Object
   |
   +--Widget
         |
         +--RadioButton

class RadioButton
extends Widget

Defined in form_widgets.js

See:


 
Fields inherited from class Widget
html, id, parent, layoutData, eventTable
 
Constructor Summary
RadioButton (<string> name)
            Creates a standard radio button.
 
Method Summary
 void check()
           Sets the checked-state of this radio button to true.
 boolean getStatus()
           Returns the checked-state of this radio button.
 void setStatus(<boolean> state)
           Sets the checked state of this radio button to state.
 void toggle()
           Toggles the checked-state of this radio button, either from checked to unchecked or from unchecked to checked.
 void uncheck()
           Sets the checked-state of this radio button to false.
 
Methods inherited from class Widget
installContextMenu, installDefaultContextMenu, uninstallContextMenu, isDraggable, setDraggable, addEventListener, blur, createEventTable, dispose, focus, getAbsoluteBottom, getAbsoluteLeft, getAbsoluteRight, getAbsoluteTop, getBottom, getBounds, getClientHeight, getClientWidth, getCorner, getHeight, getLeft, getPixelsPerEm, getRight, getToolTip, getTop, getWidth, isDisposed, isEnabled, layout, moveToAbsolute, moveTo, raiseEvent, registerEventType, removeEventListener, setAbsoluteBottom, setAbsoluteLeft, setAbsoluteRight, setAbsoluteTop, setBottom, setBounds, setEnabled, setHeight, setLeft, setRight, setToolTip, setTop, setWidth, setParent, toString
 

Constructor Detail

RadioButton

function RadioButton(<string> name)
Method Detail

check

void check()

getStatus

boolean getStatus()

setStatus

void setStatus(<boolean> state)

toggle

void toggle()

uncheck

void uncheck()

Sydney

SourceForge.net Logo