|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface KuixInitializer
This interface permit to implements custom value during Kuix engine init
process.
The default implementation of this interface is KuixMIDlet
. But you
can init Kuix without the KuixMIDlet
class by implementing you own
KuixInitializer
and add this couple of lines to you standard Java ME
application :
KuixInitializer initializer = new MyKuixInitializer(); KuixCanvas canvas = new KuixCanvas(initializer, true); KuixConverter converter = new KuixConverter(); Kuix.initialize(null, canvas, converter);After to be able to switch screen to the KuixCanvas by :
Display.getDisplay(<myMIDlet>).setCurrent(Kuix.getCanvas());
Method Summary | |
---|---|
void |
destroyImpl()
Invoked to destroy the MIDlet implementation. |
int |
getInitializationBackgroundColor()
Returns the initalization background color. |
java.lang.String |
getInitializationImageFile()
Returns the initalization message (e.g. |
java.lang.String |
getInitializationMessage()
Returns the initalization message (e.g. |
int |
getInitializationMessageColor()
Returns the initalization message color. |
MIDlet |
getMIDlet()
Returns the application MIDlet instance. |
void |
initDesktopContent(Desktop desktop)
Init the Desktop's content. |
void |
initDesktopStyles()
Implement in this method all your style initializations (e.g. |
void |
processDebugInfosKeyEvent()
This method is invoked when a Kuix internal debug infos key event occured. |
Method Detail |
---|
MIDlet getMIDlet()
MIDlet
instance.int getInitializationBackgroundColor()
int getInitializationMessageColor()
java.lang.String getInitializationMessage()
null
if no message.
java.lang.String getInitializationImageFile()
null
if no image.
void initDesktopStyles()
Kuix.loadCss("myStyle.css");
).
void initDesktopContent(Desktop desktop)
desktop
- void destroyImpl()
void processDebugInfosKeyEvent()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |