javax.microedition.lcdui
Class Spacer
java.lang.Object
javax.microedition.lcdui.Item
javax.microedition.lcdui.Spacer
public class Spacer
- extends Item
Fields inherited from class javax.microedition.lcdui.Item |
BUTTON, HYPERLINK, LAYOUT_2, LAYOUT_BOTTOM, LAYOUT_CENTER, LAYOUT_DEFAULT, LAYOUT_EXPAND, LAYOUT_LEFT, LAYOUT_NEWLINE_AFTER, LAYOUT_NEWLINE_BEFORE, LAYOUT_RIGHT, LAYOUT_SHRINK, LAYOUT_TOP, LAYOUT_VCENTER, LAYOUT_VEXPAND, LAYOUT_VSHRINK, PLAIN |
Constructor Summary |
Spacer(int minWidth,
int minHeight)
|
Methods inherited from class javax.microedition.lcdui.Item |
getLabel, getLayout, getMinimumHeight, getMinimumWidth, getPreferredHeight, getPreferredWidth, notifyStateChanged, removeCommand, setItemCommandListener, setLayout, setPreferredSize |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Spacer
public Spacer(int minWidth,
int minHeight)
setMinimumSize
public void setMinimumSize(int minWidth,
int minHeight)
addCommand
public void addCommand(Command cmd)
- Overrides:
addCommand
in class Item
setDefaultCommand
public void setDefaultCommand(Command cmd)
- Overrides:
setDefaultCommand
in class Item
setLabel
public void setLabel(String label)
- Overrides:
setLabel
in class Item
Copyright © 2006-2007 Jayway AB. All Rights Reserved.