Class: SkinableCheckbox

LuxModule: gui

A SkinableCheckbox based on the TextButton.

Hierarchy

o-+ Component
  o-+ Button
    o-+ TextButton
      o-+ SkinableButton
        o-+ SkinableCheckbox

Methods:

Method overview:


new (table class, float x,y,w,h, float checkboxwidth, checkboxheight, table skinparam, string caption, int alignment)
returns: (SkinableCheckbox)

Creates a skinned checkbox. This is a checkbox with text that is aligned left or right next to the checkbox.

The checkbox is nothing more than a pushable button and the behaviour is much like the SkinableButton. The only difference is, that you pass a sizing for the checkboximage.
CHECKBOX_TEXTLEFT
[int] - value for text alignment
CHECKBOX_TEXTRIGHT
[int] - value for text alignment
positionUpdate (SkinableCheckbox self)
returns: ()
updates all the position info
toString (SkinableCheckbox self)
returns: ()
returns simple string representation of the button
validate (SkinableCheckbox self)
returns: ()
updates colors of the button.

Inherited Methods:

From SkinableButton

createVisibles, hideVisibles, mousePressed, mouseReleased, new, positionUpdate, setCustomL2d, showVisibles, toString

From TextButton

colors, colors.background, colors.focus, colors.foreground, colors.highlight, colors.mousedown, colors.mouseover, colors.shadow, createVisibles, deleteVisibles, hideVisibles, new, positionUpdate, showVisibles, toString

From Button

actionListeners, addActionListener, clicked, dataButton, dataButton.isFocusable, dataButton.mouseover, dataButton.pressed, dataButton.pressedMouseButton, dataButton.pressedSince, isFocusable, isPushButton, isPushed, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, new, onAction, onClicked, removeActionListener, setDisplayable, setPushState, setPushable, setVisibility

From Component

addKeyListener, addMouseListener, clipinsets, colors, contains, createVisibles, delete, deleteVisibles, focus, focuscolors, getBounds, getClipRect, getFocusComponentAt, getFocusElement, getFocusIndex, getHeight, getLocation, getMinSize, getMouseLock, getSize, getWidth, getX, getY, hasFocus, hideVisibles, index, invalidate, isDisplayedFlag, isFocusable, isMouseLocker, isVisible, isVisibleFlag, keyEvent, keylisteners, local2world, lockMouse, mouseClicked, mouseEntered, mouseEvent, mouseExited, mouseMoved, mousePressed, mouseReleased, mouselisteners, new, onDestroy, onDisplayChange, onGainedFocus, onLostFocus, onVisibilityChange, positionUpdate, releaseMouse, remove, removeKeyListener, removeMouseListener, setBounds, setDisplayable, setLocation, setSize, setVisibility, showVisibles, think, toString, transferFocus, transferFocusOnArrows, transferFocusOnTab, validate, white, world2local, zorderoffset