|
www.RoboHobby.com - Java ME/SE robotics project | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.microedition.midlet.MIDlet
com.robohobby.me.RobotMIDlet
public class RobotMIDlet
| Field Summary | |
|---|---|
private boolean |
active
|
(package private) CallBacks |
callBacks
|
private javax.microedition.lcdui.Command |
doSnapShotCommand
|
private javax.microedition.lcdui.Command |
exitCommand
|
private javax.microedition.lcdui.Form |
form
|
private javax.microedition.lcdui.Command |
getRootsItemCommand
|
(package private) int |
h
|
(package private) javax.microedition.lcdui.Image |
image
|
(package private) byte[] |
imageByte
|
private javax.microedition.lcdui.Command |
infoItemCommand
|
private javax.microedition.lcdui.StringItem |
infoStringItem
|
private javax.microedition.lcdui.Command |
itemCommand
|
boolean |
midletPaused
|
private javax.microedition.media.Player |
player
|
(package private) int[] |
rgbData
|
private javax.microedition.lcdui.Command |
screenCommand
|
private javax.microedition.media.control.VideoControl |
videoControl
|
(package private) int |
w
|
| Constructor Summary | |
|---|---|
RobotMIDlet()
The RobotMIDlet constructor. |
|
| Method Summary | |
|---|---|
void |
captureImage()
|
void |
commandAction(javax.microedition.lcdui.Command command,
javax.microedition.lcdui.Displayable displayable)
Called by a system to indicated that a command has been invoked on a particular displayable. |
void |
destroyApp(boolean unconditional)
Called to signal the MIDlet to terminate. |
void |
doSnapShot()
|
void |
exitMIDlet()
Exits MIDlet. |
javax.microedition.lcdui.Display |
getDisplay()
Returns a display instance. |
javax.microedition.lcdui.Command |
getDoSnapShotCommand()
Returns an initiliazed instance of doSnapShotCommand component. |
javax.microedition.lcdui.Command |
getExitCommand()
Returns an initiliazed instance of exitCommand component. |
javax.microedition.lcdui.Form |
getForm()
Returns an initiliazed instance of form component. |
javax.microedition.lcdui.Command |
getGetRootsItemCommand()
Returns an initiliazed instance of getRootsItemCommand component. |
javax.microedition.lcdui.Command |
getInfoItemCommand()
Returns an initiliazed instance of infoItemCommand component. |
javax.microedition.lcdui.StringItem |
getInfoStringItem()
Returns an initiliazed instance of infoStringItem component. |
javax.microedition.lcdui.Command |
getItemCommand()
Returns an initiliazed instance of itemCommand component. |
private void |
getRoots()
|
javax.microedition.lcdui.Command |
getScreenCommand()
Returns an initiliazed instance of screenCommand component. |
void |
initCamera()
|
private void |
initialize()
Initilizes the application. |
void |
pauseApp()
Called when MIDlet is paused. |
void |
resumeMIDlet()
Performs an action assigned to the Mobile Device - MIDlet Resumed point. |
(package private) void |
start()
|
void |
startApp()
Called when MIDlet is started. |
void |
startMIDlet()
Performs an action assigned to the Mobile Device - MIDlet Started point. |
(package private) void |
stop()
|
void |
switchDisplayable(javax.microedition.lcdui.Alert alert,
javax.microedition.lcdui.Displayable nextDisplayable)
Switches a current displayable in a display. |
| Methods inherited from class javax.microedition.midlet.MIDlet |
|---|
checkPermission, getAppProperty, notifyDestroyed, notifyPaused, platformRequest, resumeRequest |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public boolean midletPaused
private javax.microedition.media.Player player
private javax.microedition.media.control.VideoControl videoControl
private boolean active
byte[] imageByte
javax.microedition.lcdui.Image image
int w
int h
int[] rgbData
CallBacks callBacks
private javax.microedition.lcdui.Command exitCommand
private javax.microedition.lcdui.Command doSnapShotCommand
private javax.microedition.lcdui.Command infoItemCommand
private javax.microedition.lcdui.Command itemCommand
private javax.microedition.lcdui.Command screenCommand
private javax.microedition.lcdui.Command getRootsItemCommand
private javax.microedition.lcdui.Form form
private javax.microedition.lcdui.StringItem infoStringItem
| Constructor Detail |
|---|
public RobotMIDlet()
| Method Detail |
|---|
private void initialize()
startMIDlet method.
public void startMIDlet()
public void resumeMIDlet()
public void switchDisplayable(javax.microedition.lcdui.Alert alert,
javax.microedition.lcdui.Displayable nextDisplayable)
display instance is taken from getDisplay method. This method is used by all actions in the design for switching displayable.
alert - the Alert which is temporarily set to the display; if null, then nextDisplayable is set immediatelynextDisplayable - the Displayable to be set
public void commandAction(javax.microedition.lcdui.Command command,
javax.microedition.lcdui.Displayable displayable)
commandAction in interface javax.microedition.lcdui.CommandListenercommand - the Command that was invokeddisplayable - the Displayable where the command was invokedpublic javax.microedition.lcdui.Command getExitCommand()
public javax.microedition.lcdui.Form getForm()
public javax.microedition.lcdui.Command getDoSnapShotCommand()
public javax.microedition.lcdui.Command getItemCommand()
public javax.microedition.lcdui.Command getInfoItemCommand()
public javax.microedition.lcdui.StringItem getInfoStringItem()
public javax.microedition.lcdui.Command getScreenCommand()
public javax.microedition.lcdui.Command getGetRootsItemCommand()
public javax.microedition.lcdui.Display getDisplay()
public void exitMIDlet()
private void getRoots()
public void doSnapShot()
public void startApp()
startApp in class javax.microedition.midlet.MIDletpublic void pauseApp()
pauseApp in class javax.microedition.midlet.MIDletpublic void destroyApp(boolean unconditional)
destroyApp in class javax.microedition.midlet.MIDletunconditional - if true, then the MIDlet has to be unconditionally terminated and all resources has to be released.public void initCamera()
void start()
void stop()
public void captureImage()
|
Copyright © 2004-2008 OLeg Lyubchenko, Anton Lyubchenko. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||