| 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.animations |
All components are animatable by potential and additional animations (unrelated
to a specific component) can be installed on the fly, transitions between
forms are also handled as part of this package.
|
| com.codename1.ui.painter |
Painter allows us to draw arbitrary elements
of graphics from plain/scaled/tiled images to gradients and pretty
much any form of graphic drawing we can imagine. |
| 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.util |
Utility features that are either too domain specific or don't "fit" into any
other packages including the Resource file format loading API.
|
| Modifier and Type | Method and Description |
|---|---|
Painter |
Form.getGlassPane()
Allows a developer that doesn't derive from the form to draw on top of the
form regardless of underlying changes or animations.
|
| Modifier and Type | Method and Description |
|---|---|
ComponentSelector |
ComponentSelector.setBgPainter(Painter bgPainter)
|
void |
Form.setGlassPane(Painter glassPane)
Allows a developer that doesn't derive from the form to draw on top of the
form regardless of underlying changes or animations.
|
| Modifier and Type | Class and Description |
|---|---|
class |
Timeline
A timeline represents the motions of animation objects
|
| Modifier and Type | Class and Description |
|---|---|
class |
BackgroundPainter
A painter that draws the background of a component based on its style
|
class |
PainterChain
A painter chain allows us to chain together several painters to provide a
"layer" effect where each painter only draws one element.
|
| Modifier and Type | Method and Description |
|---|---|
Painter[] |
PainterChain.getChain()
Allows us to traverse the painter chain
|
| Modifier and Type | Method and Description |
|---|---|
PainterChain |
PainterChain.addPainter(Painter p)
Creates a new chain based on the existing chain with the new element added
at the end
|
static void |
PainterChain.installGlassPane(Form f,
Painter p)
Installs a glass pane on the given form making sure to make it a painter
chain only if required by existing painter
|
PainterChain |
PainterChain.prependPainter(Painter p)
Creates a new chain based on the existing chain with the new element added
at the beginning
|
static void |
PainterChain.removeGlassPane(Form f,
Painter p)
Removes a glass pane from the given form, this is the opposite operation for the
install glass pane
|
| Constructor and Description |
|---|
PainterChain(Painter painter)
Create a new painter chain which will paint all of the elements in the chain
in sequence from 0 to the last element
|
PainterChain(Painter[] chain)
Create a new painter chain which will paint all of the elements in the chain
in sequence from 0 to the last element
|
| Modifier and Type | Method and Description |
|---|---|
Painter |
Style.getBgPainter()
Return the background painter for this style, normally this would be
the internal image/color painter but can be user defined
|
| Modifier and Type | Method and Description |
|---|---|
void |
Style.setBgPainter(Painter bgPainter)
Defines the background painter for this style, normally this would be
the internal image/color painter but can be user defined
|
| Modifier and Type | Class and Description |
|---|---|
class |
GlassTutorial
Deprecated.
interaction dialog is a superior way for displaying these types of tutorials
|
Copyright © 2021. All rights reserved.