| Package | Description |
|---|---|
| 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.
|
| com.codename1.ui.spinner |
Spinners allows picking of simple sequential values similarly to combo boxes but of a much wider value set.
|
| Modifier and Type | Method and Description |
|---|---|
ListCellRenderer |
List.getRenderer()
Returns the renderer which is used to draw list elements
|
| Modifier and Type | Method and Description |
|---|---|
void |
AutoCompleteTextField.setCompletionRenderer(ListCellRenderer completionRenderer)
Sets a custom renderer to the completion suggestions list.
|
void |
List.setListCellRenderer(ListCellRenderer renderer)
Deprecated.
use setRenderer instead, this method was deprecated to confirm
better to JavaBean convention of having the getter/setter with the same name
|
void |
Form.setMenuCellRenderer(ListCellRenderer menuCellRenderer)
Determine the cell renderer used to render menu elements for themeing the
look of the menu options
|
void |
MenuBar.setMenuCellRenderer(ListCellRenderer menuCellRenderer)
The MenuBar default implementation shows the menu commands in a List
contained in a Dialog.
|
void |
List.setRenderer(ListCellRenderer renderer)
Sets the renderer which is used to draw list elements
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultListCellRenderer<T>
Default implementation of the renderer based on a label see the
ListCellRenderer
for more information about the use and purpose of this class |
class |
GenericListCellRenderer<T>
The generic list cell renderer can display containers or arbitrary Codename One components
as items in a list, notice that
we strongly
discourage usage of lists..
|
| Modifier and Type | Method and Description |
|---|---|
ListCellRenderer |
LookAndFeel.getMenuRenderer()
Deprecated.
Returns the Menu default renderer
|
| Modifier and Type | Method and Description |
|---|---|
void |
LookAndFeel.setMenuRenderer(ListCellRenderer menuRenderer)
Deprecated.
Sets the Menu default renderer
|
| Modifier and Type | Method and Description |
|---|---|
ListCellRenderer |
GenericSpinner.getRenderer()
Deprecated.
|
ListCellRenderer |
GenericSpinner.getRenderer(int offset)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GenericSpinner.setRenderer(int offset,
ListCellRenderer renderer)
Deprecated.
|
void |
GenericSpinner.setRenderer(ListCellRenderer renderer)
Deprecated.
|
Copyright © 2021. All rights reserved.