|
Mobile Tools for Java Release 1.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface IMidletDefinition
The definition of a MIDlet within the application descriptor.
| Method Summary | |
|---|---|
String |
getClassName()
Get the name of the class extending the javax.microedition.midlet.MIDlet class for the MIDlet. |
String |
getIcon()
A case-sensitive absolute path name of an image (PNG) within the JAR for the icon of the MIDlet. |
String |
getName()
Get the name to be used to identify this MIDlet to the user. |
int |
getNumber()
Return the MIDlet number. |
void |
setClassName(String className)
Set the name of the class extending the javax.microedition.midlet.MIDlet class for the MIDlet. |
void |
setIcon(String icon)
A case-sensitive absolute path name of an image (PNG) within the JAR for the icon of the MIDlet. |
void |
setName(String name)
Name to be used to identify this MIDlet to the user. |
String |
toString()
Returns a string representation of the MIDlet definition in the following pattern: <MIDlet name>,<icon>,<MIDlet class name>. |
| Method Detail |
|---|
String getClassName()
javax.microedition.midlet.MIDlet class for the MIDlet.
String getIcon()
"".
String getName()
int getNumber()
void setClassName(String className)
javax.microedition.midlet.MIDlet class for the MIDlet. The
classname MUST be non-null and contain only
characters for Java class names. The class MUST have a
public no-args constructor. The class name IS case
sensitive.
className - The className to set.void setIcon(String icon)
icon - The icon to set.void setName(String name)
name - The name to set.String toString()
<MIDlet name>,<icon>,<MIDlet class name>.
toString in class Object
|
Mobile Tools for Java Release 1.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||