Interface ControlRenderingBo
-
- All Superinterfaces:
AutoCloseable
,RenderingBo
,RenderingBoHasDimension
,RenderingBoHasPositionWorldPos
,RenderingBoHasSubTileOffset
,RenderingBoScaledAbsolutePosition
public interface ControlRenderingBo extends RenderingBoHasDimension, RenderingBoHasPositionWorldPos, RenderingBoHasSubTileOffset, RenderingBoScaledAbsolutePosition
This bo renders ui controls (buttons, ...)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
ControlRenderingBo.BaseControl
static interface
ControlRenderingBo.ButtonControl
Buttonstatic interface
ControlRenderingBo.LabelControl
Labelstatic interface
ControlRenderingBo.SetFocusControl
Sets focus on a certain controlstatic interface
ControlRenderingBo.SliderControl
Sliderstatic interface
ControlRenderingBo.SwitchControl
Switch (Modern version of a toggle button)static interface
ControlRenderingBo.TableControl
static interface
ControlRenderingBo.TextfieldControl
Text fieldstatic interface
ControlRenderingBo.ToggleButtonControl
Toogle buttonstatic interface
ControlRenderingBo.TooltipControl
Shows a tooltipstatic interface
ControlRenderingBo.WindowCloseButtonControl
Window closing button
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getId()
ControlRenderingBo
setCaption(String caption)
ControlRenderingBo
setControlGroup(String controlGroup)
Optional, some controls (e.g.ControlRenderingBo
setCustomData(Object data)
Custom data a specific to the type of the control.ControlRenderingBo
setCustomData2(Object data)
Custom data a specific to the type of the control.ControlRenderingBo
setCustomData3(Object data)
Custom data a specific to the type of the control.ControlRenderingBo
setCustomData4(Object data)
Custom data a specific to the type of the control.ControlRenderingBo
setEnabled(boolean enabled)
ControlRenderingBo
setFontSize(int size)
ControlRenderingBo
setId(String id)
ControlRenderingBo
setTooltip(String tooltip)
ControlRenderingBo
setType(Class<? extends ControlRenderingBo.BaseControl> clazz)
Sets the type of the control.ControlRenderingBo
setVisible(boolean visible)
-
Methods inherited from interface java.lang.AutoCloseable
close
-
Methods inherited from interface de.extio.spacecraft.shared.client.renderer.RenderingBo
getLayer, getLocalX, getLocalY, getX, getY, setColor, setEngineData, setLayer, withPositionAbsoluteAnchorBottomLeft, withPositionAbsoluteAnchorBottomLeft, withPositionAbsoluteAnchorBottomRight, withPositionAbsoluteAnchorBottomRight, withPositionAbsoluteAnchorTopLeft, withPositionAbsoluteAnchorTopLeft, withPositionAbsoluteAnchorTopRight, withPositionAbsoluteAnchorTopRight, withPositionIncrementalAbsolute, withPositionIncrementalAbsolute, withPositionIncrementalPercentual, withPositionPercentual, withPositionRelative, withPositionRelative
-
Methods inherited from interface de.extio.spacecraft.shared.client.renderer.RenderingBoHasDimension
getHeight, getWidth, withDimensionAbsolute, withDimensionAbsolute, withDimensionIncrementalAbsolute, withDimensionIncrementalAbsolute, withDimensionIncrementalPercentual, withDimensionPercentual
-
Methods inherited from interface de.extio.spacecraft.shared.client.renderer.RenderingBoHasSubTileOffset
getAlternativeParent, getSubTileOffset, setAlternativeParent, setSubTileOffset
-
Methods inherited from interface de.extio.spacecraft.shared.client.renderer.RenderingBoScaledAbsolutePosition
getScaledX, getScaledY, withPositionAbsoluteAnchorTopLeftScaled
-
-
-
-
Method Detail
-
setId
ControlRenderingBo setId(String id)
-
getId
String getId()
-
setType
ControlRenderingBo setType(Class<? extends ControlRenderingBo.BaseControl> clazz)
Sets the type of the control. See class tree of BaseControl
-
setCaption
ControlRenderingBo setCaption(String caption)
-
setControlGroup
ControlRenderingBo setControlGroup(String controlGroup)
Optional, some controls (e.g. toggle buttons) can build groups
-
setFontSize
ControlRenderingBo setFontSize(int size)
-
setCustomData
ControlRenderingBo setCustomData(Object data)
Custom data a specific to the type of the control. Best is to search for code examples in shipped groovy mods to see what can be set
-
setCustomData2
ControlRenderingBo setCustomData2(Object data)
Custom data a specific to the type of the control. Best is to search for code examples in shipped groovy mods to see what can be set
-
setCustomData3
ControlRenderingBo setCustomData3(Object data)
Custom data a specific to the type of the control. Best is to search for code examples in shipped groovy mods to see what can be set
-
setCustomData4
ControlRenderingBo setCustomData4(Object data)
Custom data a specific to the type of the control. Best is to search for code examples in shipped groovy mods to see what can be set
-
setVisible
ControlRenderingBo setVisible(boolean visible)
-
setEnabled
ControlRenderingBo setEnabled(boolean enabled)
-
setTooltip
ControlRenderingBo setTooltip(String tooltip)
-
-