|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.AbstractButton
javax.swing.JMenuItem
javax.swing.JMenu
net.java.sip.communicator.util.swing.SIPCommMenu
net.java.sip.communicator.impl.gui.main.chat.SmileysSelectorBox
public class SmileysSelectorBox
The SmileysSelectorBox is the component where user could choose a smiley icon to send.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JMenu |
|---|
JMenu.AccessibleJMenu, JMenu.WinListener |
| Nested classes/interfaces inherited from class javax.swing.JMenuItem |
|---|
JMenuItem.AccessibleJMenuItem |
| Nested classes/interfaces inherited from class javax.swing.AbstractButton |
|---|
AbstractButton.AccessibleAbstractButton, AbstractButton.ButtonChangeListener |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary |
|---|
| Fields inherited from class javax.swing.JMenu |
|---|
popupListener |
| Fields inherited from class javax.swing.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface javax.swing.SwingConstants |
|---|
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
SmileysSelectorBox()
Initializes a new SmileysSelectorBox instance. |
|
| Method Summary | |
|---|---|
void |
actionPerformed(ActionEvent e)
Writes the symbol corresponding to a chosen smiley icon to the write message area at the end of the current text. |
boolean |
isMenuSelected()
Returns TRUE if the selector box is opened, otherwise returns FALSE. |
void |
loadSkin()
Reloads icons in this menu. |
void |
mouseClicked(MouseEvent e)
|
void |
mouseEntered(MouseEvent e)
Changes the static image of the underlying smiley with a dynamic one. |
void |
mouseExited(MouseEvent e)
Clears all mouse over effects when the mouse has exited the smiley area. |
void |
mousePressed(MouseEvent e)
|
void |
mouseReleased(MouseEvent e)
|
void |
open()
Opens the smileys selector box. |
void |
popupMenuCanceled(PopupMenuEvent e)
Implements PopupMenuListener#popupMenuCanceled(PopupMenuEvent). |
void |
popupMenuWillBecomeInvisible(PopupMenuEvent e)
Implements PopupMenuListener#popupMenuWillBecomeInvisible(PopupMenuEvent). |
void |
popupMenuWillBecomeVisible(PopupMenuEvent e)
Implements PopupMenuListener#popupMenuWillBecomeVisible(PopupMenuEvent). |
void |
setChat(ChatPanel chatPanel)
Sets the chat panel, for which smilieys would be created. |
| Methods inherited from class net.java.sip.communicator.util.swing.SIPCommMenu |
|---|
addItem, getSelectedObject, paintComponent, setMouseOver, setSelected, setSelectedObject |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface javax.swing.MenuElement |
|---|
processKeyEvent, processMouseEvent |
| Constructor Detail |
|---|
public SmileysSelectorBox()
| Method Detail |
|---|
public void setChat(ChatPanel chatPanel)
chatPanel - the chat panel, for which smilieys would be createdpublic void open()
public boolean isMenuSelected()
public void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListenere - the ActionEvent that notified uspublic void mouseEntered(MouseEvent e)
mouseEntered in interface MouseListenere - the MouseEvent that notified uspublic void mouseExited(MouseEvent e)
mouseExited in interface MouseListenere - the MouseEvent that notified uspublic void mouseClicked(MouseEvent e)
mouseClicked in interface MouseListenerpublic void mousePressed(MouseEvent e)
mousePressed in interface MouseListenerpublic void mouseReleased(MouseEvent e)
mouseReleased in interface MouseListenerpublic void popupMenuCanceled(PopupMenuEvent e)
popupMenuCanceled in interface PopupMenuListenere - the PopupMenuEventpublic void popupMenuWillBecomeInvisible(PopupMenuEvent e)
popupMenuWillBecomeInvisible in interface PopupMenuListenere - the PopupMenuEventpublic void popupMenuWillBecomeVisible(PopupMenuEvent e)
popupMenuWillBecomeVisible in interface PopupMenuListenere - the PopupMenuEvent that notified uspublic void loadSkin()
loadSkin in interface Skinnable
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||