public final class ScaleLabelPadding extends AbstractModel<ScaleLabel,IsDefaultPadding> implements IsDefaultPadding
Modifier and Type | Method and Description |
---|---|
int |
getBottom()
Returns the padding bottom in pixel.
|
int |
getLeft()
Returns the padding left in pixel.
|
int |
getRight()
Returns the padding right in pixel.
|
int |
getTop()
Returns the padding top in pixel.
|
void |
set(int padding)
Sets the padding size to all dimensions.
|
void |
setBottom(int padding)
Sets the padding bottom in pixel.
|
void |
setLeft(int padding)
Sets the padding left in pixel.
|
void |
setRight(int padding)
Sets the padding right in pixel.
|
void |
setTop(int padding)
Sets the padding top in pixel.
|
checkAndAddToParent, getChildKey, getDefaultValues, getParent, setCallbackToModel, setEventToModel
getArrayValue, getNativeObject, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, has, has, keys, remove, remove, removeIfExists, setArrayValue, setArrayValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, toJSON, type
public void set(int padding)
padding
- padding size to apply to all dimensions.public void setLeft(int padding)
padding
- the padding left in pixel.public int getLeft()
getLeft
in interface IsDefaultPadding
public void setRight(int padding)
padding
- the padding right in pixel.public int getRight()
getRight
in interface IsDefaultPadding
public void setTop(int padding)
padding
- the padding top in pixel.public int getTop()
getTop
in interface IsDefaultPadding
public void setBottom(int padding)
padding
- the padding bottom in pixel.public int getBottom()
getBottom
in interface IsDefaultPadding