org.xith3d.ui.hud.widgets
Class Checkbox

java.lang.Object
  extended by org.xith3d.ui.hud.base.WidgetBase
      extended by org.xith3d.ui.hud.base.RectangularWidget
          extended by org.xith3d.ui.hud.base.StateButton
              extended by org.xith3d.ui.hud.base.LabeledStateButton
                  extended by org.xith3d.ui.hud.widgets.Checkbox
All Implemented Interfaces:
org.jagatoo.datatypes.Enableable, org.jagatoo.datatypes.NamableObject, org.jagatoo.datatypes.NamedObject, org.openmali.types.twodee.Positioned2f, org.openmali.types.twodee.Positioned2fRO, org.openmali.types.twodee.Sized2f, org.openmali.types.twodee.Sized2fRO, TextWidget, Widget

public class Checkbox
extends LabeledStateButton

CheckBox implementation for your HUD.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.xith3d.ui.hud.base.LabeledStateButton
LabeledStateButton.Description
 
Nested classes/interfaces inherited from class org.xith3d.ui.hud.base.StateButton
StateButton.State
 
Nested classes/interfaces inherited from interface org.xith3d.ui.hud.base.Widget
Widget.DescriptionBase
 
Field Summary
 
Fields inherited from class org.xith3d.ui.hud.base.LabeledStateButton
buttonImage, label
 
Fields inherited from class org.xith3d.ui.hud.base.WidgetBase
containerListeners, transformGroup, translation, Z_INDEX_UNIT, Z_INDEX_UNIT_ASSEMBLER
 
Constructor Summary
Checkbox(float width, float height)
          Creates a new CheckBox.
Checkbox(float width, float height, org.openmali.vecmath2.Colorf fontColor, java.lang.String text)
          Creates a new CheckBox.
Checkbox(float width, float height, java.awt.Font font, org.openmali.vecmath2.Colorf fontColor, java.lang.String text)
          Creates a new CheckBox.
Checkbox(float width, float height, java.awt.Font font, java.lang.String text)
          Creates a new CheckBox.
Checkbox(float width, float height, int zIndex)
          Creates a new CheckBox.
Checkbox(float width, float height, int zIndex, org.openmali.vecmath2.Colorf fontColor, java.lang.String text)
          Creates a new CheckBox.
Checkbox(float width, float height, int zIndex, java.awt.Font font, org.openmali.vecmath2.Colorf fontColor, java.lang.String text)
          Creates a new CheckBox.
Checkbox(float width, float height, int zIndex, java.awt.Font font, java.lang.String text)
          Creates a new CheckBox.
Checkbox(float width, float height, int zIndex, LabeledStateButton.Description desc)
          Creates a new CheckBox.
Checkbox(float width, float height, int zIndex, LabeledStateButton.Description desc, java.lang.String text)
          Creates a new CheckBox.
Checkbox(float width, float height, int zIndex, java.lang.String text)
          Creates a new CheckBox.
Checkbox(float width, float height, LabeledStateButton.Description desc)
          Creates a new CheckBox.
Checkbox(float width, float height, LabeledStateButton.Description desc, java.lang.String text)
          Creates a new CheckBox.
Checkbox(float width, float height, java.lang.String text)
          Creates a new CheckBox.
Checkbox(org.openmali.types.twodee.Sized2iRO size)
          Creates a new CheckBox.
Checkbox(org.openmali.types.twodee.Sized2iRO size, int zIndex)
          Creates a new CheckBox.
Checkbox(org.openmali.types.twodee.Sized2iRO size, int zIndex, LabeledStateButton.Description desc)
          Creates a new CheckBox.
Checkbox(org.openmali.types.twodee.Sized2iRO size, int zIndex, LabeledStateButton.Description desc, java.lang.String text)
          Creates a new CheckBox.
Checkbox(org.openmali.types.twodee.Sized2iRO size, int zIndex, java.lang.String text)
          Creates a new CheckBox.
Checkbox(org.openmali.types.twodee.Sized2iRO size, LabeledStateButton.Description desc)
          Creates a new CheckBox.
Checkbox(org.openmali.types.twodee.Sized2iRO size, LabeledStateButton.Description desc, java.lang.String text)
          Creates a new CheckBox.
Checkbox(org.openmali.types.twodee.Sized2iRO size, java.lang.String text)
          Creates a new CheckBox.
 
Method Summary
 
Methods inherited from class org.xith3d.ui.hud.base.LabeledStateButton
getAlignment, getFont, getFontColor, getFontColorDisabled, getFontDisabled, getText, getTransparency, init, onStateChanged, setAlignment, setEnabledImpl, setFont, setFontColor, setFontColorDisabled, setFontDisabled, setSize, setText
 
Methods inherited from class org.xith3d.ui.hud.base.StateButton
addStateListener, cycleState, getBooleanState, getState, getStateGroup, isEnabled, notifyListeners, onMouseButtonPressed, onMouseEntered, onMouseLeft, removeStateListener, setEnabled, setState, setState, setStateGroup
 
Methods inherited from class org.xith3d.ui.hud.base.RectangularWidget
getPickHeight, getPickSGZPosition, getPickWidth, pick
 
Methods inherited from class org.xith3d.ui.hud.base.WidgetBase
addContainerListener, addFocusListener, addInputListener, addLocationListener, addSizeListener, addVisibilityListener, detach, detach, getAspect, getAssembly, getCachedToolTipWidget, getContainer, getContextMenu, getCursor, getHeight, getHUD, getInheritedCursor, getLeft, getLocation, getName, getSGNode, getSGZPosition, getSize, getToolTip, getTop, getUserObject, getWidgetAssembler, getWidth, getZIndex, hasFocus, hasFocus, hasToolTip, isClickable, isDraggable, isFocussable, isInitialized, isInitializing, isPickable, isVisible, onAddedToContainer, onAddedToHUD, onControllerAxisChanged, onControllerButtonPressed, onControllerButtonReleased, onDetached, onFocusGained, onFocusLost, onInputStateChanged, onKeyPressed, onKeyReleased, onKeyTyped, onMouseButtonReleased, onMouseMoved, onMouseStopped, onMouseUnbound, onMouseWheelMoved, onRemovedFromContainer, pickWidgetAssembler, removeContainerListener, removeFocusListener, removeInputListener, removeLocationListener, removeSizeListener, removeVisibilityListener, requestFocus, setAssembly, setCachedToolTipWidget, setClickable, setContainer, setContextMenu, setCursor, setDraggable, setFocussable, setHeight, setLocation, setLocation, setLocation, setName, setPickable, setSize, setSize, setSize, setToolTip, setTransparency, setUserObject, setVisible, setWidth, setZIndex, toString, update, updateTranslation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.xith3d.ui.hud.base.Widget
addContainerListener, addFocusListener, addInputListener, addLocationListener, addSizeListener, addVisibilityListener, detach, detach, getAspect, getAssembly, getCachedToolTipWidget, getContainer, getContextMenu, getCursor, getHeight, getHUD, getInheritedCursor, getLeft, getLocation, getName, getSGNode, getSGZPosition, getSize, getToolTip, getTop, getUserObject, getWidth, getZIndex, hasFocus, hasFocus, hasToolTip, isClickable, isDraggable, isFocussable, isPickable, isVisible, onControllerAxisChanged, onControllerButtonPressed, onControllerButtonReleased, onDetached, onFocusGained, onFocusLost, onInputStateChanged, onKeyPressed, onKeyReleased, onKeyTyped, onMouseButtonPressed, onMouseButtonReleased, onMouseEntered, onMouseLeft, onMouseMoved, onMouseStopped, onMouseUnbound, onMouseWheelMoved, pick, removeContainerListener, removeFocusListener, removeInputListener, removeLocationListener, removeSizeListener, removeVisibilityListener, requestFocus, setAssembly, setCachedToolTipWidget, setClickable, setContainer, setContextMenu, setCursor, setDraggable, setFocussable, setLocation, setLocation, setName, setPickable, setSize, setSize, setSize, setToolTip, setTransparency, setUserObject, setVisible, setZIndex, update
 
Methods inherited from interface org.openmali.types.twodee.Sized2f
setHeight, setWidth
 

Constructor Detail

Checkbox

public Checkbox(float width,
                float height,
                int zIndex,
                LabeledStateButton.Description desc,
                java.lang.String text)
Creates a new CheckBox.

Parameters:
width - the desired width
height - the desired height
zIndex - the desired z-index
desc - the Description object for this Widget
text - the text to be displayed

Checkbox

public Checkbox(float width,
                float height,
                LabeledStateButton.Description desc,
                java.lang.String text)
Creates a new CheckBox.

Parameters:
width - the desired width
height - the desired height
desc - the Description object for this Widget
text - the text to be displayed

Checkbox

public Checkbox(float width,
                float height,
                int zIndex,
                java.awt.Font font,
                java.lang.String text)
Creates a new CheckBox.

Parameters:
width - the desired width
height - the desired height
zIndex - the desired z-index
font - the font to use for the label
text - the text to be displayed

Checkbox

public Checkbox(float width,
                float height,
                java.awt.Font font,
                java.lang.String text)
Creates a new CheckBox.

Parameters:
width - the desired width
height - the desired height
font - the font to use for the label
text - the text to be displayed

Checkbox

public Checkbox(float width,
                float height,
                int zIndex,
                org.openmali.vecmath2.Colorf fontColor,
                java.lang.String text)
Creates a new CheckBox.

Parameters:
width - the desired width
height - the desired height
zIndex - the desired z-index
fontColor - the color to use for the label's font
text - the text to be displayed

Checkbox

public Checkbox(float width,
                float height,
                org.openmali.vecmath2.Colorf fontColor,
                java.lang.String text)
Creates a new CheckBox.

Parameters:
width - the desired width
height - the desired height
fontColor - the color to use for the label's font
text - the text to be displayed

Checkbox

public Checkbox(float width,
                float height,
                int zIndex,
                java.awt.Font font,
                org.openmali.vecmath2.Colorf fontColor,
                java.lang.String text)
Creates a new CheckBox.

Parameters:
width - the desired width
height - the desired height
zIndex - the desired z-index
font - the font to use for the label
fontColor - the color to use for the label's font
text - the text to be displayed

Checkbox

public Checkbox(float width,
                float height,
                java.awt.Font font,
                org.openmali.vecmath2.Colorf fontColor,
                java.lang.String text)
Creates a new CheckBox.

Parameters:
width - the desired width
height - the desired height
font - the font to use for the label
fontColor - the color to use for the label's font
text - the text to be displayed

Checkbox

public Checkbox(float width,
                float height,
                int zIndex,
                LabeledStateButton.Description desc)
Creates a new CheckBox.

Parameters:
width - the desired width
height - the desired height
zIndex - the desired z-index
desc - the Description object for this Widget

Checkbox

public Checkbox(float width,
                float height,
                LabeledStateButton.Description desc)
Creates a new CheckBox.

Parameters:
width - the desired width
height - the desired height
desc - the Description object for this Widget

Checkbox

public Checkbox(float width,
                float height,
                int zIndex,
                java.lang.String text)
Creates a new CheckBox.

Parameters:
width - the desired width
height - the desired height
zIndex - the desired z-index
text - the text to be displayed

Checkbox

public Checkbox(float width,
                float height,
                java.lang.String text)
Creates a new CheckBox.

Parameters:
width - the desired width
height - the desired height
text - the text to be displayed

Checkbox

public Checkbox(float width,
                float height,
                int zIndex)
Creates a new CheckBox.

Parameters:
width - the desired width
height - the desired height
zIndex - the desired z-index

Checkbox

public Checkbox(float width,
                float height)
Creates a new CheckBox.

Parameters:
width - the desired width
height - the desired height

Checkbox

public Checkbox(org.openmali.types.twodee.Sized2iRO size,
                int zIndex,
                LabeledStateButton.Description desc,
                java.lang.String text)
Creates a new CheckBox.

Parameters:
size - the desired size
zIndex - the desired z-index
desc - the Description object for this Widget
text - the text to be displayed

Checkbox

public Checkbox(org.openmali.types.twodee.Sized2iRO size,
                LabeledStateButton.Description desc,
                java.lang.String text)
Creates a new CheckBox.

Parameters:
size - the desired size
desc - the Description object for this Widget
text - the text to be displayed

Checkbox

public Checkbox(org.openmali.types.twodee.Sized2iRO size,
                int zIndex,
                LabeledStateButton.Description desc)
Creates a new CheckBox.

Parameters:
size - the desired size
zIndex - the desired z-index
desc - the Description object for this Widget

Checkbox

public Checkbox(org.openmali.types.twodee.Sized2iRO size,
                LabeledStateButton.Description desc)
Creates a new CheckBox.

Parameters:
size - the desired size
desc - the Description object for this Widget

Checkbox

public Checkbox(org.openmali.types.twodee.Sized2iRO size,
                int zIndex,
                java.lang.String text)
Creates a new CheckBox.

Parameters:
size - the desired size
zIndex - the desired z-index
text - the text to be displayed

Checkbox

public Checkbox(org.openmali.types.twodee.Sized2iRO size,
                java.lang.String text)
Creates a new CheckBox.

Parameters:
size - the desired size
text - the text to be displayed

Checkbox

public Checkbox(org.openmali.types.twodee.Sized2iRO size,
                int zIndex)
Creates a new CheckBox.

Parameters:
size - the desired size
zIndex - the desired z-index

Checkbox

public Checkbox(org.openmali.types.twodee.Sized2iRO size)
Creates a new CheckBox.

Parameters:
size - the desired size