|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.leafdigital.ircui.api.AbstractIRCAction
public abstract class AbstractIRCAction
Convenience class to make it easier to create IRCActions
Field Summary |
---|
Fields inherited from interface com.leafdigital.ircui.api.IRCAction |
---|
CATEGORY_CHAN, CATEGORY_USER, CATEGORY_USERCHAN |
Constructor Summary | |
---|---|
AbstractIRCAction(java.lang.String name,
int category,
int order)
|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.leafdigital.ircui.api.IRCAction |
---|
run |
Constructor Detail |
---|
public AbstractIRCAction(java.lang.String name, int category, int order)
name
- Name of action for displaycategory
- An IRCAction.CATEGORY_XX constantorder
- Order of actionMethod Detail |
---|
public int getCategory()
IRCAction
getCategory
in interface IRCAction
public java.lang.String getName()
getName
in interface IRCAction
public int getOrder()
IRCAction
getOrder
in interface IRCAction
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |