ContainerChild, Element, be.yildizgames.common.util.Registerable, WidgetSimpleCheckBoxpublic interface CheckBox extends Widget, ContainerChild
Element.Alignment| Modifier and Type | Method | Description |
|---|---|---|
CheckBox |
check(boolean checked) |
Set the check box state.
|
boolean |
isChecked() |
|
CheckBox |
setCaptionColor(Color color) |
|
CheckBox |
setCaptionText(be.yildizgames.common.client.translation.Key captionText) |
|
CheckBox |
setCaptionText(String captionText) |
Update the text associated with the check box.
|
detachFromParent, getParent, setLeftFromParent, setLeftFromParent, setTopFromParent, setTopFromParent, updateAddPositionValue, updateSizeAfterZoomaddToLeft, addToPosition, addToTop, getBottom, getCoordinates, getHeight, getLeft, getRight, getTop, getWidth, hide, isVisible, resetVirtualHeight, setCoordinates, setHeight, setLeft, setLeft, setLeft, setLeft, setPosition, setPosition, setPosition, setSize, setSize, setTop, setTop, setTop, setTop, setVirtualHeight, setVisible, setWidth, showaddEmptyZone, addKeyboardListener, addMouseDoubleLeftClickListener, addMouseDragListener, addMouseLeftClickListener, addMouseMoveListener, addMouseReleaseListener, addMouseWheelListener, addOnMouseOverListener, addSpecialKeyListener, align, contains, contains, focus, getAbsoluteLeft, getAbsoluteTop, highlight, isFocusable, playAnimation, registerAnimation, removeAllClickListeners, stopAnimationCheckBox setCaptionText(String captionText)
captionText - New text to set.CheckBox setCaptionText(be.yildizgames.common.client.translation.Key captionText)
CheckBox check(boolean checked)
checked - true will set checked state while false is unchecked.boolean isChecked()
Copyright © 2014–2018. All rights reserved.