Mobile Tools for Java
Release 1.0

org.eclipse.mtj.core.project.midp
Interface IMidletDefinition


public interface IMidletDefinition

The definition of a MIDlet within the application descriptor.

Since:
1.0
Restriction:
This interface is not intended to be implemented by clients.

Method Summary
 String getClassName()
           
 String getIcon()
           
 String getName()
           
 int getNumber()
          Return the MIDlet number.
 void setClassName(String className)
           
 void setIcon(String icon)
           
 void setName(String name)
           
 String toString()
          Returns a string representation of the MIDlet definition in the following pattern:
<MIDlet name>,<icon>,<MIDlet class name>.
 

Method Detail

getClassName

String getClassName()
Returns:
Returns the className.

getIcon

String getIcon()
Returns:
Returns the icon.

getName

String getName()
Returns:
Returns the name.

getNumber

int getNumber()
Return the MIDlet number.

Returns:

setClassName

void setClassName(String className)
Parameters:
className - The className to set.

setIcon

void setIcon(String icon)
Parameters:
icon - The icon to set.

setName

void setName(String name)
Parameters:
name - The name to set.

toString

String toString()
Returns a string representation of the MIDlet definition in the following pattern:
<MIDlet name>,<icon>,<MIDlet class name>.

Overrides:
toString in class Object
Returns:
the textual representation of the MIDlet definition.

Mobile Tools for Java
Release 1.0