|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRCAction
Interface to be implemented by code that provides a particular action.
IRCActionListMsg
Field Summary | |
---|---|
static int |
CATEGORY_CHAN
Predefined category: channel-related. |
static int |
CATEGORY_USER
Predefined category: user-related. |
static int |
CATEGORY_USERCHAN
Predefined category: user and channel-related. |
Method Summary | |
---|---|
int |
getCategory()
Obtains the category, used for ordering and separating items in the list. |
java.lang.String |
getName()
|
int |
getOrder()
Obtains the ordering within the category. |
void |
run(Server s,
java.lang.String contextChannel,
java.lang.String contextNick,
java.lang.String selectedChannel,
java.lang.String[] selectedNicks,
MessageDisplay caller)
Called when the action should actually run. |
Field Detail |
---|
static final int CATEGORY_USER
static final int CATEGORY_USERCHAN
static final int CATEGORY_CHAN
Method Detail |
---|
int getCategory()
int getOrder()
java.lang.String getName()
void run(Server s, java.lang.String contextChannel, java.lang.String contextNick, java.lang.String selectedChannel, java.lang.String[] selectedNicks, MessageDisplay caller)
s
- ServercontextChannel
- Context channel (the one the user's action happened in)contextNick
- Context nick (the one the user's action happened in)selectedChannel
- Selected channel (one which was actively chosen)selectedNicks
- Selected nicks (which were actively chosen)caller
- Reference to window that should be used to display messages
if needed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |