|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.microedition.lcdui.Displayable
javax.microedition.lcdui.Screen
javax.microedition.lcdui.Form
uk.co.silentsoftware.ui.views.AbstractFormView
uk.co.silentsoftware.ui.views.AbstractTextMessageView
uk.co.silentsoftware.ui.views.ReceivedMessageView
public class ReceivedMessageView
View shown when a text message is received - either a request of this user to send their location or to prompt the user to set their target as the location sent to them from another user
| Constructor Summary | |
|---|---|
ReceivedMessageView(javax.microedition.midlet.MIDlet parent)
Default constructor |
|
| Method Summary | |
|---|---|
void |
commandAction(javax.microedition.lcdui.Command c,
javax.microedition.lcdui.Displayable d)
Processes the command to either send the last position provided by the GPS to another phone or sets the received position as the current target |
boolean |
isPendingDecision()
Returns whether this view is finished with - required to ensure that the view stays on top of other views, especially if the midlet is started by push registry to avoid the mainview appearing on top |
void |
process(javax.microedition.location.Location loc)
Stores the last fix from the GPS reader for sending |
void |
process(java.lang.String data)
Stores as raw NMEA data the last fix from the GPS reader for sending |
void |
setMessage(javax.wireless.messaging.TextMessage content)
Sets the message on this screen based on the text message content. |
| Methods inherited from class javax.microedition.lcdui.Form |
|---|
append, append, append, delete, deleteAll, get, getHeight, getWidth, insert, set, setItemStateListener, size |
| Methods inherited from class javax.microedition.lcdui.Displayable |
|---|
addCommand, getTicker, getTitle, isShown, removeCommand, setCommandListener, setTicker, setTitle |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ReceivedMessageView(javax.microedition.midlet.MIDlet parent)
parent - | Method Detail |
|---|
public void setMessage(javax.wireless.messaging.TextMessage content)
content - public void process(java.lang.String data)
process in interface GPSDataViewpublic void process(javax.microedition.location.Location loc)
process in interface GPSDataView
public void commandAction(javax.microedition.lcdui.Command c,
javax.microedition.lcdui.Displayable d)
commandAction in interface javax.microedition.lcdui.CommandListenercommandAction in class AbstractFormViewpublic boolean isPendingDecision()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||