|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Label | |
---|---|
com.sun.lwuit | Main widget package containing the component/container "composite" similar both in terminology and design to Swing/AWT. |
com.sun.lwuit.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. |
com.sun.lwuit.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. |
Uses of Label in com.sun.lwuit |
---|
Subclasses of Label in com.sun.lwuit | |
---|---|
class |
Button
Button is the base class for several UI widgets allowing clickability. |
class |
CheckBox
Checkbox is a button that can be selected or deselected, and which displays its state to the user. |
class |
RadioButton
RadioButton is a Button that maintains a selection state exclusively
within a specific ButtonGroup |
class |
Slider
The slider component serves both as a slider widget to allow users to select a value on a scale via touch/arrows and also to indicate progress. |
Methods in com.sun.lwuit that return Label | |
---|---|
protected Label |
Calendar.createDayTitle(int day)
This method creates the Day title Component for the Month View |
Label |
Component.getLabelForComponent()
Allows us to indicate the label associated with this component thus providing visual feedback related for this component e.g. starting the ticker when the component receives focus. |
Label |
Form.getTitleComponent()
Allows modifying the title attributes beyond style (e.g. setting icon/alignment etc.) |
Label |
Dialog.getTitleComponent()
|
Methods in com.sun.lwuit with parameters of type Label | |
---|---|
void |
Component.setLabelForComponent(Label componentLabel)
Allows us to indicate the label associated with this component thus providing visual feedback related for this component e.g. starting the ticker when the component receives focus. |
void |
Form.setTitleComponent(Label title)
Allows replacing the title with a different title component, thus allowing developers to create more elaborate title objects. |
void |
Dialog.setTitleComponent(Label title)
|
void |
Form.setTitleComponent(Label title,
Transition t)
Allows replacing the title with a different title component, thus allowing developers to create more elaborate title objects. |
void |
Dialog.setTitleComponent(Label title,
Transition t)
|
Uses of Label in com.sun.lwuit.list |
---|
Subclasses of Label in com.sun.lwuit.list | |
---|---|
class |
DefaultListCellRenderer
Default implementation of the renderer based on a label see the ListCellRenderer
for more information about the use and purpose of this class |
Uses of Label in com.sun.lwuit.plaf |
---|
Methods in com.sun.lwuit.plaf with parameters of type Label | |
---|---|
abstract void |
LookAndFeel.drawLabel(Graphics g,
Label l)
Invoked for drawing a label widget |
void |
DefaultLookAndFeel.drawLabel(Graphics g,
Label l)
|
protected int |
DefaultLookAndFeel.drawLabelText(Graphics g,
Label l,
java.lang.String text,
int x,
int y,
int textSpaceW)
Draws the text of a label |
abstract Dimension |
LookAndFeel.getLabelPreferredSize(Label l)
Calculate the preferred size of the component |
Dimension |
DefaultLookAndFeel.getLabelPreferredSize(Label l)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |