| Package | Description |
|---|---|
| com.codename1.components |
Generic elaborate components that make use of both UI elements and storage.
|
| com.codename1.facebook.ui |
User interface for integrating with basic Facebook features currently mostly the Like button
|
| com.codename1.impl |
The implementation package should not be used by developers, it is an internal implementation detail
which will break compatibility between major Codename One releases.
|
| com.codename1.properties |
High level property objects that allow us to replace getters/setters in business objects with more convenient
storage/parsing mappings while retaining type safety.
|
| 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.
|
| com.codename1.ui.tree |
Tree component for displaying hierarchy based information and its related classes
|
| Modifier and Type | Class and Description |
|---|---|
class |
FloatingActionButton
Floating action buttons are a material design element used to promote a special action in a Form.
|
class |
ScaleImageButton
Button that simplifies the usage of scale to fill/fit.
|
class |
ShareButton
The share button allows sharing a String or an image either thru the defined
sharing services or thru the native OS sharing support.
|
| Modifier and Type | Class and Description |
|---|---|
class |
LikeButton
Deprecated.
This functionality is no longer possible open a BrowserComponent
with the link instead, this class will be removed in next version
|
| Modifier and Type | Method and Description |
|---|---|
Object |
CodenameOneImplementation.createHeavyButton(Button aThis)
Creates the native side of a
HeavyButton. |
| Modifier and Type | Method and Description |
|---|---|
void |
UiBinding.CheckBoxRadioSelectionAdapter.assignTo(PropertyType value,
Button cmp) |
void |
UiBinding.CheckBoxRadioSelectionAdapter.bindListener(Button cmp,
ActionListener<ActionEvent> l) |
PropertyType |
UiBinding.CheckBoxRadioSelectionAdapter.getFrom(Button cmp) |
void |
UiBinding.CheckBoxRadioSelectionAdapter.removeListener(Button cmp,
ActionListener<ActionEvent> l) |
| Modifier and Type | Class and Description |
|---|---|
class |
CheckBox
CheckBox is a button that can be selected or deselected and displays
its state to the user.
|
class |
RadioButton
RadioButton is a
Button that maintains a selection state exclusively
within a specific ButtonGroup. |
| Modifier and Type | Method and Description |
|---|---|
protected Button |
MenuBar.createBackCommandButton() |
protected Button |
Calendar.createDay()
Deprecated.
override
createDayComponent() instead |
protected Button |
SideMenuBar.createOpenButton()
Deprecated.
Creates the Side Menu open button.
|
protected Button |
MenuBar.createSoftButton(String uiid)
Creates a soft button Component
|
protected Button |
SideMenuBar.createTouchCommandButton(Command c)
Deprecated.
Creates a touch command for use as a touch menu item
|
protected Button |
MenuBar.createTouchCommandButton(Command c)
Creates a touch command for use as a touch menu item
|
Button |
MenuBar.findCommandComponent(Command c)
Find the command component instance if such an instance exists
|
Button |
Toolbar.findCommandComponent(Command c)
Find the command component instance if such an instance exists
|
Button |
InputComponent.getAction()
Returns the button underlying the action button that is placed on
the right of the field on top of it
|
Button |
Toolbar.getLeftSideMenuButton()
Allows runtime manipulation of the side menu button, notice this will
only work after the menu was created
|
Button |
Toolbar.getOverflowButton()
Allows runtime manipulation of the overflow button, notice this will
only work after the menu was created
|
Button |
Toolbar.getRightSideMenuButton()
Allows runtime manipulation of the side menu button, notice this will
only work after the menu was created
|
Button |
Form.getSoftButton(int offset)
Returns the button representing the softbutton, this allows modifying softbutton
attributes and behavior programmatically rather than by using the command API.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Tabs.addTab(Button tab,
Component component)
Deprecated.
should use radio button as an argument
|
void |
Button.bindStateTo(Button button)
Bind the state of this button to another button's state.
|
void |
Button.unbindStateFrom(Button button)
Unbinds the state of this button from another button.
|
protected void |
Calendar.updateButtonDayDate(Button dayButton,
int currentMonth,
int day)
Deprecated.
override the method that accepts a generic component
|
protected void |
Calendar.updateButtonDayDate(Button dayButton,
int year,
int currentMonth,
int day)
Deprecated.
override the method that accepts a generic component
|
| Modifier and Type | Method and Description |
|---|---|
Button |
GenericListCellRenderer.extractLastClickedComponent()
Allows partitioning the renderer into "areas" that can be clicked.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultLookAndFeel.drawButton(Graphics g,
Button b)
Deprecated.
this method is no longer used by the implementation, we shifted code away to improve performance
|
abstract void |
LookAndFeel.drawButton(Graphics g,
Button b)
Deprecated.
this method is no longer used by the implementation, we shifted code away to improve performance
|
void |
DefaultLookAndFeel.drawCheckBox(Graphics g,
Button cb)
Deprecated.
Invoked for drawing a checkbox widget
|
abstract void |
LookAndFeel.drawCheckBox(Graphics g,
Button cb)
Deprecated.
Invoked for drawing a checkbox widget
|
void |
DefaultLookAndFeel.drawRadioButton(Graphics g,
Button rb)
Deprecated.
Invoked for drawing the radio button widget
|
abstract void |
LookAndFeel.drawRadioButton(Graphics g,
Button rb)
Deprecated.
Invoked for drawing the radio button widget
|
Dimension |
DefaultLookAndFeel.getButtonPreferredSize(Button b)
Deprecated.
Calculate the preferred size of the component
|
abstract Dimension |
LookAndFeel.getButtonPreferredSize(Button b)
Deprecated.
Calculate the preferred size of the component
|
Dimension |
DefaultLookAndFeel.getCheckBoxPreferredSize(Button cb)
Deprecated.
Calculate the preferred size of the component
|
abstract Dimension |
LookAndFeel.getCheckBoxPreferredSize(Button cb)
Deprecated.
Calculate the preferred size of the component
|
Dimension |
DefaultLookAndFeel.getRadioButtonPreferredSize(Button rb)
Deprecated.
Calculate the preferred size of the component
|
abstract Dimension |
LookAndFeel.getRadioButtonPreferredSize(Button rb)
Deprecated.
Calculate the preferred size of the component
|
| Modifier and Type | Class and Description |
|---|---|
class |
Picker
Picker is a component and API that allows either popping up a spinner or
using the native picker API when applicable. |
| Modifier and Type | Method and Description |
|---|---|
protected Button |
Tree.createNodeComponent(Object node,
int depth)
Deprecated.
replaced with createNode, bindNodeListener and setNodeIcon
|
Copyright © 2021. All rights reserved.