|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.valhalla.jbother.Emoticons
Replaces different emote symbols with images
Nested Class Summary | |
(package private) class |
Emoticons.EmoteClickListener
Listens for an emoticon to get clicked |
Method Summary | |
void |
displayEmoticonChooser(javax.swing.JFrame window,
java.awt.Component component,
javax.swing.JTextArea area)
Shows a small window displaying all available emoticons. |
static Emoticons |
getInstance()
|
java.lang.String |
replaceIcons(java.lang.String text)
Replaces the different symbols with the images defined in the emote data file |
void |
switchTheme(java.lang.String theme)
Switches the emoticon theme |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static Emoticons getInstance()
public void switchTheme(java.lang.String theme)
theme
- the theme to switch topublic java.lang.String replaceIcons(java.lang.String text)
text
- the text to modify
public void displayEmoticonChooser(javax.swing.JFrame window, java.awt.Component component, javax.swing.JTextArea area)
window
- the parent windowcomponent
- the Component to display this frame overarea
- the text area that the emoticons will be placed on when the user clicks an image
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |