|
jMobileCore toolkit | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jmobilecore.ui.core.SoftKey com.jmobilecore.ui.SoftKeyImpl
public class SoftKeyImpl
This class is implementation of abstract class SoftKey
The class keeps information about returning value and reference to
it's parent (owner).
Field Summary | |
---|---|
EventListener |
parent
Parent (owner) of this soft key |
int |
rslt
Result to report |
Fields inherited from class com.jmobilecore.ui.core.SoftKey |
---|
CENTER, label, LEFT, RIGHT |
Constructor Summary | |
---|---|
SoftKeyImpl(java.lang.String label)
Creates a new SoftKeyImpl instance. |
|
SoftKeyImpl(java.lang.String label,
EventListener parent)
Creates a new SoftKeyImpl instance. |
|
SoftKeyImpl(java.lang.String label,
EventListener parent,
int rslt)
Creates a new SoftKeyImpl instance. |
Method Summary | |
---|---|
void |
performAction()
Performs an action - informs the parent that action is performed |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public EventListener parent
public int rslt
Constructor Detail |
---|
public SoftKeyImpl(java.lang.String label)
SoftKeyImpl
instance.
label
- The SoftKey
label.performAction()
public SoftKeyImpl(java.lang.String label, EventListener parent)
SoftKeyImpl
instance.
label
- The SoftKey
label.parent
- The parent (owner) of this soft key.performAction()
public SoftKeyImpl(java.lang.String label, EventListener parent, int rslt)
SoftKeyImpl
instance.
label
- The SoftKey
label.parent
- The parent (owner) of this soft key.rslt
- The result to report.performAction()
Method Detail |
---|
public void performAction()
performAction
in class SoftKey
|
jMobileCore toolkit | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |