|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--irc.SmileyTable
Smiley table.
Constructor Summary | |
SmileyTable()
Create a new, empty, smiley table. |
Method Summary | |
void |
addSmiley(java.lang.String match,
java.awt.Image img)
Add a smiley in the table. |
java.awt.Image |
getImage(int index)
Get the i'th image in the smiley table. |
java.lang.String |
getMatch(int index)
Get the i'th match in the smiley table. |
int |
getSize()
Get the smileys count. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SmileyTable()
Method Detail |
public void addSmiley(java.lang.String match, java.awt.Image img)
match
- the macthing text.img
- image of the smiley.public int getSize()
public java.lang.String getMatch(int index)
index
- table index.
public java.awt.Image getImage(int index)
index
- table index.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |