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 interfaceControlRenderingBo.BaseControlstatic interfaceControlRenderingBo.ButtonControlButtonstatic interfaceControlRenderingBo.LabelControlLabelstatic interfaceControlRenderingBo.SetFocusControlSets focus on a certain controlstatic interfaceControlRenderingBo.SliderControlSliderstatic interfaceControlRenderingBo.SwitchControlSwitch (Modern version of a toggle button)static interfaceControlRenderingBo.TableControlstatic interfaceControlRenderingBo.TextfieldControlText fieldstatic interfaceControlRenderingBo.ToggleButtonControlToogle buttonstatic interfaceControlRenderingBo.TooltipControlShows a tooltipstatic interfaceControlRenderingBo.WindowCloseButtonControlWindow closing button
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetId()ControlRenderingBosetCaption(String caption)ControlRenderingBosetControlGroup(String controlGroup)Optional, some controls (e.g.ControlRenderingBosetCustomData(Object data)Custom data a specific to the type of the control.ControlRenderingBosetCustomData2(Object data)Custom data a specific to the type of the control.ControlRenderingBosetCustomData3(Object data)Custom data a specific to the type of the control.ControlRenderingBosetCustomData4(Object data)Custom data a specific to the type of the control.ControlRenderingBosetEnabled(boolean enabled)ControlRenderingBosetFontSize(int size)ControlRenderingBosetId(String id)ControlRenderingBosetTooltip(String tooltip)ControlRenderingBosetType(Class<? extends ControlRenderingBo.BaseControl> clazz)Sets the type of the control.ControlRenderingBosetVisible(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)
-
-