| 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 | Method and Description |
|---|---|
StyleParser.StyleInfo |
StyleParser.StyleInfo.setAlignment(int alignment)
Sets the alignment for this style.
|
StyleParser.StyleInfo |
StyleParser.StyleInfo.setAlignment(String alignment)
Sets the alignment for this style as a String.
|
StyleParser.StyleInfo |
StyleParser.StyleInfo.setBgColor(String bgColor)
Sets the background color.
|
StyleParser.StyleInfo |
StyleParser.StyleInfo.setBgImage(String bgImage)
Sets the background image.
|
StyleParser.StyleInfo |
StyleParser.StyleInfo.setBgType(Integer i)
Sets the background type as one of the Style.BACKGROUND_XXX constants.
|
StyleParser.StyleInfo |
StyleParser.StyleInfo.setBgType(String type)
Sets the background type as a string.
|
StyleParser.StyleInfo |
StyleParser.StyleInfo.setBorder(String border)
Sets the border
|
StyleParser.StyleInfo |
StyleParser.StyleInfo.setFgColor(String fgColor)
Sets the foreground color.
|
StyleParser.StyleInfo |
StyleParser.StyleInfo.setFont(String font)
Sets the font in the style info.
|
StyleParser.StyleInfo |
StyleParser.StyleInfo.setFontName(String fontName)
Sets the font name.
|
StyleParser.StyleInfo |
StyleParser.StyleInfo.setFontSize(String fontSize)
Sets the font size in the style.
|
StyleParser.StyleInfo |
StyleParser.StyleInfo.setMargin(String margin)
Sets the margin.
|
StyleParser.StyleInfo |
StyleParser.StyleInfo.setOpacity(String opacity)
Sets the opacity.
|
StyleParser.StyleInfo |
StyleParser.StyleInfo.setPadding(String padding)
Sets the padding.
|
StyleParser.StyleInfo |
StyleParser.StyleInfo.setTransparency(String transparency)
Sets the transparency.
|
| Constructor and Description |
|---|
StyleInfo(StyleParser.StyleInfo info)
Creates a new style info by copying styles from existing style info.
|
Copyright © 2022. All rights reserved.