net.java.sip.communicator.impl.gui.lookandfeel
Class SIPCommMenuItemUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.ButtonUI
javax.swing.plaf.MenuItemUI
javax.swing.plaf.basic.BasicMenuItemUI
net.java.sip.communicator.impl.gui.lookandfeel.SIPCommMenuItemUI
public class SIPCommMenuItemUI
- extends BasicMenuItemUI
The SIPCommMenuItemUI implementation.
- Author:
- Yana Stamcheva
| Fields inherited from class javax.swing.plaf.basic.BasicMenuItemUI |
acceleratorFont, acceleratorForeground, acceleratorSelectionForeground, arrowIcon, checkIcon, defaultTextIconGap, disabledForeground, menuDragMouseListener, menuItem, menuKeyListener, mouseInputListener, oldBorderPainted, propertyChangeListener, selectionBackground, selectionForeground |
| Methods inherited from class javax.swing.plaf.basic.BasicMenuItemUI |
createMenuDragMouseListener, createMenuKeyListener, createMouseInputListener, createPropertyChangeListener, doClick, getMaximumSize, getMinimumSize, getPath, getPreferredMenuItemSize, getPreferredSize, getPropertyPrefix, installComponents, installDefaults, installKeyboardActions, installListeners, installUI, paint, paintBackground, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI, update |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SIPCommMenuItemUI
public SIPCommMenuItemUI()
createUI
public static ComponentUI createUI(JComponent x)
- Creates a new SIPCommMenuItemUI instance.
paintMenuItem
protected void paintMenuItem(Graphics g,
JComponent c,
Icon checkIcon,
Icon arrowIcon,
Color background,
Color foreground,
int defaultTextIconGap)
- Overrides:
paintMenuItem in class BasicMenuItemUI
paintText
protected void paintText(Graphics g,
JMenuItem menuItem,
Rectangle textRect,
String text)
- Overrides:
paintText in class BasicMenuItemUI
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.