| Package | Description |
|---|---|
| com.codename1.components |
Generic elaborate components that make use of both UI elements and storage.
|
| com.codename1.ui |
Main widget package containing the component/container "composite" similar
both in terminology and design to Swing/AWT.
|
| com.codename1.ui.list |
Lists are highly customizable and serve as the basis for
ComboBox and
other components (such as carousels etc) they employ a similar MVC approach to
Swing including the renderer pattern, notice that we strongly
discourage usage of lists...ListCellRenderer
allows us to customize the appearance of a list entry, it works as a
"rubber stamp" by drawing the rendered component and discarding its state thus
allowing very large lists with very little component state overhead. |
| 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 |
|---|---|
protected void |
SpanLabel.initLaf(UIManager uim) |
protected void |
SpanButton.initLaf(UIManager uim) |
| Modifier and Type | Method and Description |
|---|---|
UIManager |
Container.getUIManager()
This method should be used by the Component to retrieve the correct UIManager to work with
|
UIManager |
Component.getUIManager()
This method should be used by the Component to retrieve the correct UIManager to work with
|
UIManager |
Form.getUIManager() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
Container.initLaf(UIManager uim)
This method initializes the Component defaults constants
|
protected void |
Label.initLaf(UIManager uim) |
protected void |
Component.initLaf(UIManager uim)
This method initializes the Component defaults constants
|
protected void |
Tabs.initLaf(UIManager manager)
This method initializes the Component defaults constants
|
protected void |
Form.initLaf(UIManager uim)
This method initializes the Component defaults constants
|
protected void |
RadioButton.initLaf(UIManager uim)
This method initializes the Component defaults constants
|
protected void |
Dialog.initLaf(UIManager uim)
Initialize the default transition for the dialogs overriding the forms
transition
|
protected void |
TextArea.initLaf(UIManager uim)
This method initializes the Component defaults constants
|
protected void |
List.initLaf(UIManager uim)
This method initializes the Component defaults constants
|
void |
Container.setUIManager(UIManager uiManager)
Allows replacing the UIManager in a component hierarchy to update the look and feel
only to a specific hierarchy
|
void |
Form.setUIManager(UIManager uiManager) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
DefaultListCellRenderer.initLaf(UIManager uim)
This method initializes the Component defaults constants
|
| Modifier and Type | Method and Description |
|---|---|
static UIManager |
UIManager.createInstance()
This factory method allows creating a new UIManager instance, this is usefull where an application
has some screens with different context
|
static UIManager |
UIManager.getInstance()
Singleton instance method
|
| Constructor and Description |
|---|
DefaultLookAndFeel(UIManager manager)
Deprecated.
Creates a new instance of DefaultLookAndFeel
|
LookAndFeel(UIManager manager)
Deprecated.
|
Copyright © 2023. All rights reserved.