|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjmc.MidletEventListener
public class MidletEventListener
Midlet events manager
Field Summary | |
---|---|
boolean |
keypressed
|
Constructor Summary | |
---|---|
MidletEventListener(GuiMidlet _midlet)
|
Method Summary | |
---|---|
void |
connectedEvent()
Event method invoked by CommunicationManager when connection is established |
void |
disconnectedEvent()
Event method invoked by CommunicationManager when disconnection occurs |
void |
newComposingEvent(Conversation _conv)
ConversationListener method for a new message arrival from the server |
void |
newConversationEvent(Conversation _conv)
ConversationListener method for a new chat start notification |
void |
newInvitationEvent(java.lang.String from,
java.lang.String room)
ConversationListener method for a new invitation arrival from a jid |
void |
newMessageEvent(Conversation _conv,
int tab)
ConversationListener method for a new message arrival from the server |
void |
notifyError(Conversation _conversation,
Message _errorMessage)
ConversationListener method for the chat notification error |
void |
notifyJudInfo(java.lang.String info)
RosterListener method for alerting a new jud search response event |
void |
notifyPresence(Jid _roster,
java.lang.String _presence)
PresenceListener method for presence notifications |
void |
notifyPresenceError(java.lang.String code)
Notify an error in presence management |
void |
notifyRoster()
RosterListener method for the reading of the roster items list |
void |
registrationFailure(java.lang.Exception e,
boolean offline)
Error in registration to server |
void |
selectionChanged(int old,
int newtab)
|
void |
unauthorizedEvent(java.lang.String reason)
|
void |
updateScreen()
Refresh screen |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public boolean keypressed
Constructor Detail |
---|
public MidletEventListener(GuiMidlet _midlet)
Method Detail |
---|
public void connectedEvent()
public void unauthorizedEvent(java.lang.String reason)
unauthorizedEvent
in interface JabberListener
reason
- public void disconnectedEvent()
disconnectedEvent
in interface JabberListener
public void notifyError(Conversation _conversation, Message _errorMessage)
notifyError
in interface JabberListener
Conversation
- Message
- public void registrationFailure(java.lang.Exception e, boolean offline)
Exception
- public void newConversationEvent(Conversation _conv)
newConversationEvent
in interface JabberListener
Conversation
- public void newMessageEvent(Conversation _conv, int tab)
newMessageEvent
in interface JabberListener
Conversation
- public void newComposingEvent(Conversation _conv)
newComposingEvent
in interface JabberListener
Conversation
- public void newInvitationEvent(java.lang.String from, java.lang.String room)
newInvitationEvent
in interface JabberListener
from,
- roompublic void notifyPresence(Jid _roster, java.lang.String _presence)
notifyPresence
in interface JabberListener
Jid
- String
- public void notifyRoster()
notifyRoster
in interface JabberListener
Jid
- String
- public void notifyJudInfo(java.lang.String info)
notifyJudInfo
in interface JabberListener
String
- public void notifyPresenceError(java.lang.String code)
notifyPresenceError
in interface JabberListener
public void updateScreen()
updateScreen
in interface JabberListener
public void selectionChanged(int old, int newtab)
selectionChanged
in interface com.sun.lwuit.events.SelectionListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |