|
jMobileCore toolkit | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jmobilecore.ui.core.SoftKey
public abstract class SoftKey
This class represents either of the three soft keys, which are right below the screen on the left, in center and right sides. Soft keys are pressed by the user to perform actions, such as calculating a result.
Field Summary | |
---|---|
static int |
CENTER
The center soft key key code |
java.lang.String |
label
The soft key label. |
static int |
LEFT
The left soft key key code |
static int |
RIGHT
The right soft key key code |
Constructor Summary | |
---|---|
SoftKey(java.lang.String label)
Creates a new SoftKey instance. |
Method Summary | |
---|---|
abstract void |
performAction()
Performs an action. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int CENTER
public java.lang.String label
public static final int LEFT
public static final int RIGHT
Constructor Detail |
---|
public SoftKey(java.lang.String label)
SoftKey
instance.
label
- String to display on the screen above the soft key.Method Detail |
---|
public abstract void performAction()
|
jMobileCore toolkit | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |