|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MessageDisplay
Interface implemented by things that can display error messages from commands. This is how commands show messages to the current window; command calls include a MessageDisplay reference.
Field Summary | |
---|---|
static int |
TYPE_ACTION
Text sent to server as /me |
static int |
TYPE_MSG
Text sent to server as PRIVMSG |
static int |
TYPE_NOTICE
Text sent to server as NOTICE |
Method Summary | |
---|---|
void |
clear()
Clears the window where the message was typed. |
void |
showError(java.lang.String message)
Shows an error message. |
void |
showInfo(java.lang.String message)
Shows some generic information. |
void |
showOwnText(int type,
java.lang.String target,
java.lang.String text)
Shows text that has been sent to server (but will not be responded to). |
Field Detail |
---|
static final int TYPE_MSG
static final int TYPE_NOTICE
static final int TYPE_ACTION
Method Detail |
---|
void showError(java.lang.String message)
message
- Text of messagevoid showInfo(java.lang.String message)
message
- Text of messagevoid showOwnText(int type, java.lang.String target, java.lang.String text)
type
- An OWNTEXT_xx constanttarget
- Target of message/notice/etctext
- Text of message/notice/etcvoid clear()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |