|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.microedition.midlet.MIDlet
jmc.GuiMidlet
public class GuiMidlet
JMC GUI Midlet
Field Summary | |
---|---|
CommunicationManager |
cm
|
static int |
CONVERSATION
|
com.sun.lwuit.Display |
display
|
int |
internal_state
|
static int |
INVITATION
|
static int |
JUD
|
static int |
MULTI_CHAT
|
static int |
OFFLINE
|
static int |
ONLINE
|
static int |
OPTIONS
|
static int |
PARAMS
|
static int |
ROSTER
|
static int |
ROSTER_DETAILS
|
static int |
SUBSCRIPTION
|
com.sun.lwuit.TabbedPane |
tabbedPane
|
static int |
WAIT_CONNECT
|
static int |
WAIT_DISCONNECT
|
Constructor Summary | |
---|---|
GuiMidlet()
|
Method Summary | |
---|---|
void |
actionPerformed(com.sun.lwuit.events.ActionEvent evt)
General method to dispatch the right specific commandaAction method in base of internal_state |
void |
commandActionChangeStatus(com.sun.lwuit.Command id)
|
void |
commandActionConversation(com.sun.lwuit.Command id)
|
void |
commandActionInvite(com.sun.lwuit.Command id)
|
void |
commandActionJud(com.sun.lwuit.Command id)
|
void |
commandActionOfflineMenu(com.sun.lwuit.Command id)
|
void |
commandActionOnlineMenu(com.sun.lwuit.Command id)
|
void |
commandActionOtherOptions(com.sun.lwuit.Command id)
|
void |
commandActionParams(com.sun.lwuit.Command id)
|
void |
commandActionRooms(com.sun.lwuit.Command id)
|
void |
commandActionRoster(com.sun.lwuit.Command id)
|
void |
commandActionRosterDetails(com.sun.lwuit.Command id)
|
void |
commandActionSubscription(com.sun.lwuit.Command id)
|
void |
commandActionWaitConnect(com.sun.lwuit.Command id)
|
void |
destroyApp(boolean unconditional)
|
void |
getGuiChangeStatus()
|
void |
getGuiChoose(java.lang.String type)
Show the form to accept or deny a subscription request from another contact or a multichat invitation |
void |
getGuiConversation(int tab)
Show the gui for a chat |
void |
getGuiIntroScreen()
Show the intro logo and author info |
void |
getGuiJudMenu()
Show the gui for jud management |
void |
getGuiOfflineMenu()
Show the first menu (offline) |
void |
getGuiOnlineMenu()
Show the main menu (online) |
void |
getGuiOtherOptions()
Show other options of the online menu |
void |
getGuiParams()
Show the form to insert user jid information |
void |
getGuiRoomList()
Display existing conversations and the form to join in a new chat room |
void |
getGuiRosterDetails()
Change a current roster info or create a new one |
void |
getGuiRosterItem()
Show the details of a selected roster item |
void |
getGuiUpdateConversation(int tab)
Update the gui for a chat |
void |
getGuiWaitConnect()
Wait for connecting |
void |
pauseApp()
|
void |
setCurrentDisplay()
Utility method to set the display |
void |
startApp()
|
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 CommunicationManager cm
public com.sun.lwuit.Display display
public int internal_state
public static final int OFFLINE
public static final int ONLINE
public static final int ROSTER
public static final int CONVERSATION
public static final int SUBSCRIPTION
public static final int PARAMS
public static final int WAIT_CONNECT
public static final int WAIT_DISCONNECT
public static final int ROSTER_DETAILS
public static final int MULTI_CHAT
public static final int INVITATION
public static final int OPTIONS
public static final int JUD
public com.sun.lwuit.TabbedPane tabbedPane
Constructor Detail |
---|
public GuiMidlet()
Method Detail |
---|
public void startApp()
startApp
in class javax.microedition.midlet.MIDlet
public void pauseApp()
pauseApp
in class javax.microedition.midlet.MIDlet
public void destroyApp(boolean unconditional)
destroyApp
in class javax.microedition.midlet.MIDlet
public void getGuiOfflineMenu()
public void commandActionOfflineMenu(com.sun.lwuit.Command id)
public void getGuiOnlineMenu()
public void commandActionOnlineMenu(com.sun.lwuit.Command id)
public void getGuiOtherOptions()
public void commandActionOtherOptions(com.sun.lwuit.Command id)
public void getGuiChangeStatus()
public void commandActionChangeStatus(com.sun.lwuit.Command id)
public void getGuiRosterItem()
public void commandActionRoster(com.sun.lwuit.Command id)
public void getGuiRosterDetails()
public void commandActionRosterDetails(com.sun.lwuit.Command id)
public void getGuiJudMenu()
public void commandActionJud(com.sun.lwuit.Command id)
public void getGuiConversation(int tab)
tab
- (number of tab, -1 = get current tab, 0 = add new tab)public void getGuiUpdateConversation(int tab)
tab
- (number of tab, -1 = delete textarea, 0 = maintain textarea)public void commandActionConversation(com.sun.lwuit.Command id)
public void getGuiParams()
public void commandActionParams(com.sun.lwuit.Command id)
public void getGuiIntroScreen()
public void getGuiWaitConnect()
public void commandActionWaitConnect(com.sun.lwuit.Command id)
public void getGuiChoose(java.lang.String type)
public void commandActionSubscription(com.sun.lwuit.Command id)
public void commandActionInvite(com.sun.lwuit.Command id)
public void getGuiRoomList()
public void commandActionRooms(com.sun.lwuit.Command id)
public void actionPerformed(com.sun.lwuit.events.ActionEvent evt)
actionPerformed
in interface com.sun.lwuit.events.ActionListener
Command
- Displayable
- public void setCurrentDisplay()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |