mWaba.gui.control
Class mCheckBox

java.lang.Object
  |
  +--waba.ui.Control
        |
        +--waba.ui.Container
              |
              +--mWaba.gui.mControl
                    |
                    +--mWaba.gui.control.ButtonControl
                          |
                          +--mWaba.gui.control.mCheckBox

public class mCheckBox
extends ButtonControl


Field Summary
 CheckBoxGroup group
           
 
Fields inherited from class mWaba.gui.control.ButtonControl
actionOnPress, inPress, pressState, shouldRepeat, state
 
Fields inherited from class mWaba.gui.mControl
_debug, AlwaysEnabled, AlwaysRecalculateSize, backGround, borderWidth, CapturesPen, columns, debugGui, defaultAddMeCellConstraints, defaultAddMeControlConstraints, DidHoldDown, Disabled, doubleBuffer, doubleClickTime, dragging, dragResolution, DrawFlat, emptySize, firstPress, fixedPreferredSize, fixedSize, ForceResize, foreGround, globalDrawFlat, globalEditable, globalEnabled, globalSmallControls, GotPenDown, GotPreferredSize, holdDownPause, holdTick, ImageChanged, Invisible, KeepImage, kids, listeners, modifiers, myFont, myFrame, NoFocus, NotAnEditor, NotEditable, PenTransparent, preferredSize, PreferredSizeOnly, pressPoint, prompt, SendUpKeyEvents, SendUpPenEvents, ShrinkToNothing, SmallControl, SpecialBackground, TakeControlEvents, text, Transparent, WantDrag, WantHoldDown
 
Fields inherited from class waba.ui.Container
children, numChildren, tail
 
Fields inherited from class waba.ui.Control
height, next, parent, width, x, y
 
Constructor Summary
mCheckBox()
           
mCheckBox(java.lang.String txt)
           
 
Method Summary
protected  void calculatePreferredSize()
           
 void doAction()
           
 void doPaint(waba.fx.Graphics g, waba.fx.Rect area)
           
 void doPaintData(waba.fx.Graphics g)
           
 void doPaintDiamond(waba.fx.Graphics g)
           
 void doPaintSquare(waba.fx.Graphics g)
           
 boolean isExclusive()
           
 void setGroup(CheckBoxGroup cbg)
           
 void setState(boolean to)
           
 
Methods inherited from class mWaba.gui.control.ButtonControl
dragged, fullAction, fullAction, penHeld, penPressed, penReleased, startDragging, stopDragging
 
Methods inherited from class mWaba.gui.mControl
add, addListener, addToFront, amFlat, amOnTopFrame, amSmall, callBack, checkHasModifier, checkPenTransparent, consume, contains, doBackground, doBorder, doPaintChildren, editable, enabled, fixSizeAt, getBackground, getChildren, getChildren, getControlBuffer, getControlBuffer, getDim, getFont, getFontMetrics, getForeground, getFrame, getFrameOrContainer, getGraphics, getNext, getPosInFrame, getPreferredSize, getSurface, gotFocus, handedPenEvent, handOffPenEvent, handOffPenEvent, hasModifier, inheritModifiers, isOnMe, lostFocus, make, makeFrameTopMost, modify, modifyAll, modifyAll, notifyAction, onControlEvent, onEvent, onKeyEvent, onLabelPenEvent, onPaint, onPenEvent, paintBackground, paintChildren, penClicked, penDoubleClicked, postEvent, recalculateSize, redisplay, reduceClip, remove, removeListener, repaint, repaintDataNow, repaintNow, repaintNow, requestCallBack, requestResizeTo, resetRect, resizeTo, restore, sendToListeners, set, setNext, setParent, setRect, show, shown, ticked, visible
 
Methods inherited from class waba.ui.Container
findChild
 
Methods inherited from class waba.ui.Control
addTimer, contains, createGraphics, getFontMetrics, getMainWindow, getParent, getRect, removeTimer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

group

public CheckBoxGroup group
Constructor Detail

mCheckBox

public mCheckBox()

mCheckBox

public mCheckBox(java.lang.String txt)
Method Detail

calculatePreferredSize

protected void calculatePreferredSize()
Overrides:
calculatePreferredSize in class mControl

isExclusive

public boolean isExclusive()

doPaint

public void doPaint(waba.fx.Graphics g,
                    waba.fx.Rect area)
Overrides:
doPaint in class mControl

doPaintData

public void doPaintData(waba.fx.Graphics g)
Overrides:
doPaintData in class mControl

doPaintSquare

public void doPaintSquare(waba.fx.Graphics g)

doPaintDiamond

public void doPaintDiamond(waba.fx.Graphics g)

setState

public void setState(boolean to)

doAction

public void doAction()
Overrides:
doAction in class ButtonControl

setGroup

public void setGroup(CheckBoxGroup cbg)