|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Allows the intergration of bespoke smiley images as part of message decoding.
A concrete instance of this class can be used to supply icons to the
message decoder code, for use when generating styled output which
supports smileys. If an EmoticonLoader
is set, the
MessageDecoder
will defer all image loading to it first,
but fall-back to its own default icons whenever the loader returns null.
Method Summary | |
javax.swing.Icon |
loadEmoticon(int icon)
Load and return a given smiley icon. |
Method Detail |
public javax.swing.Icon loadEmoticon(int icon)
Icon
instance, which
corresponds to the icon number (see the Emoticons
class)
or null if the default icon is to be used.
icon
- integer from 1 to 35
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |