-
- All Implemented Interfaces:
public final class ButtonGroupLayoutset of parameters to define positioning/size etc. of a button group only use for custom button groups coordinates are screen coordinates
-
-
Method Summary
Modifier and Type Method Description final FloatgetX()final FloatgetY()final FloatgetW()final FloatgetH()final FloatgetA()final ColorgetColor()final FloatgetPadding()final FloatgetXTooltip()final FloatgetYTooltip()final BooleangetHorizontal()-
-
Constructor Detail
-
ButtonGroupLayout
ButtonGroupLayout(Float x, Float y, Float w, Float h, Float a, Color color, Float padding, Float xTooltip, Float yTooltip, Boolean horizontal)
- Parameters:
x- position of first buttony- position of first buttonw- width of single buttonh- height of single buttona- opacity of button outlinecolor- of button (when not disabled)padding- blank space between two buttonsxTooltip- x-position where hover tooltip shall be displayedyTooltip- y-position where hover tooltip shall be displayedhorizontal- if true, buttons will be displayed from left to right, otherwise from top to bottom
-
-
Method Detail
-
getPadding
final Float getPadding()
-
getXTooltip
final Float getXTooltip()
-
getYTooltip
final Float getYTooltip()
-
getHorizontal
final Boolean getHorizontal()
-
-
-
-