| Package | Description |
|---|---|
| com.codename1.ui.plaf |
Look of the application can be fully customized via this package, it represents
a rendering layer that can be plugged in separately in runtime and themed to
provide any custom look.
|
| Modifier and Type | Field and Description |
|---|---|
protected StyleParser.ScalarValue[] |
StyleParser.BoxInfo.values |
| Modifier and Type | Method and Description |
|---|---|
StyleParser.ScalarValue |
StyleParser.BorderInfo.getShadowSpread()
Gets the shadow spread for round border.
|
StyleParser.ScalarValue |
StyleParser.BorderInfo.getThickness()
Gets the border thickness as a scalar value.
|
StyleParser.ScalarValue |
StyleParser.BoxInfo.getValue(int side)
Gets a value for a side.
|
StyleParser.ScalarValue[] |
StyleParser.BoxInfo.getValues()
Gets the scalar values of this box as a 4-element array.
|
static StyleParser.ScalarValue |
StyleParser.parseScalarValue(String val)
Parses a string into a scalar value.
|
| Modifier and Type | Method and Description |
|---|---|
void |
StyleParser.BorderInfo.setCornerRadius(StyleParser.ScalarValue sv)
Used for roundRect border.
|
void |
StyleParser.BorderInfo.setShadowSpread(StyleParser.ScalarValue shadowSpread)
Sets the shadow spread for round border.
|
void |
StyleParser.BoxInfo.setValues(StyleParser.ScalarValue[] values)
Sets the scalar values of this box as a 4-element array.
|
| Constructor and Description |
|---|
BoxInfo(StyleParser.ScalarValue[] values)
Creates a new box with the specified scalar values.
|
MarginInfo(StyleParser.ScalarValue[] values)
Creates a new MarginInfo.
|
PaddingInfo(StyleParser.ScalarValue[] values)
Creates a new PaddingInfo.
|
Copyright © 2022. All rights reserved.