Interface CheckBox
-
- All Superinterfaces:
ContainerChild,Element,be.yildizgames.common.util.Registerable,Widget
public interface CheckBox extends Widget, ContainerChild
- Author:
- Grégory Van den Borre
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface be.yildizgames.module.graphic.gui.internal.Element
Element.Alignment
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CheckBoxcheck(boolean checked)Set the check box state.booleanisChecked()CheckBoxsetCaptionColor(be.yildizgames.module.color.Color color)CheckBoxsetCaptionText(be.yildizgames.common.client.translation.TranslationKey captionText)CheckBoxsetCaptionText(String captionText)Update the text associated with the check box.CheckBoxsetCheckedMaterial(Material material)CheckBoxsetFont(Font font)CheckBoxsetMaterial(Material material)-
Methods inherited from interface be.yildizgames.module.graphic.gui.ContainerChild
detachFromParent, getParent, setLeftFromParent, setLeftFromParent, setTopFromParent, setTopFromParent, updateAddPositionValue, updateSizeAfterZoom
-
Methods inherited from interface be.yildizgames.module.graphic.gui.internal.Element
addToLeft, addToPosition, addToTop, getBottom, getCoordinates, getHeight, getLeft, getRight, getTop, getWidth, hide, isVisible, resetVirtualHeight, setCoordinates, setHeight, setLeft, setLeft, setLeft, setLeft, setPosition, setPosition, setSize, setSize, setTop, setTop, setTop, setTop, setVirtualHeight, setVisible, setWidth, show
-
Methods inherited from interface be.yildizgames.module.graphic.gui.Widget
addEmptyZone, addKeyboardListener, addMouseDoubleLeftClickListener, addMouseDragListener, addMouseLeftClickListener, addMouseMoveListener, addMouseReleaseListener, addMouseRightClickListener, addMouseWheelListener, addOnMouseOverListener, align, contains, contains, focus, getAbsoluteLeft, getAbsoluteTop, highlight, isFocusable, playAnimation, registerAnimation, removeAllClickListeners, stopAnimation
-
-
-
-
Method Detail
-
setCaptionText
CheckBox setCaptionText(String captionText)
Update the text associated with the check box.- Parameters:
captionText- New text to set.- Returns:
- This object for chaining.
-
setCaptionText
CheckBox setCaptionText(be.yildizgames.common.client.translation.TranslationKey captionText)
-
setCaptionColor
CheckBox setCaptionColor(be.yildizgames.module.color.Color color)
-
check
CheckBox check(boolean checked)
Set the check box state.- Parameters:
checked-truewill set checked state whilefalseis unchecked.- Returns:
- This object for chaining.
-
isChecked
boolean isChecked()
-
-