javax.microedition.lcdui
Class Spacer
java.lang.Object
javax.microedition.lcdui.Item
javax.microedition.lcdui.Spacer
public class Spacer
- extends Item
- Author:
- Andre Nijholt
Constructor Summary |
Spacer(int minWidth,
int minHeight)
|
Methods inherited from class javax.microedition.lcdui.Item |
getLabel, getMinimumHeight, getMinimumWidth, getPaintRequest, getPreferredHeight, getPreferredWidth, hideNotify, isInteractive, keyPressed, keyReleased, notifyStateChanged, removeCommand, repaint, setItemCommandListener, setPreferredSize, showNotify |
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)
addCommand
public void addCommand(Command cmd)
- Overrides:
addCommand
in class Item
setDefaultCommand
public void setDefaultCommand(Command cmd)
setLabel
public void setLabel(String label)
setMinimumSize
public void setMinimumSize(int minWidth,
int minHeight)
paint
public void paint(Graphics g,
int x,
int y,
int w,
int h,
boolean selected)
- Specified by:
paint
in class Item