Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.gui.lookandfeel
Class SIPCommComboBoxUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by javax.swing.plaf.ComboBoxUI
          extended by javax.swing.plaf.basic.BasicComboBoxUI
              extended by net.java.sip.communicator.impl.gui.lookandfeel.SIPCommComboBoxUI
Direct Known Subclasses:
SIPCommCallComboBoxUI

public class SIPCommComboBoxUI
extends BasicComboBoxUI

SIPCommComboBoxUI implementation.

Author:
Yana Stamcheva

Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.plaf.basic.BasicComboBoxUI
BasicComboBoxUI.ComboBoxLayoutManager, BasicComboBoxUI.FocusHandler, BasicComboBoxUI.ItemHandler, BasicComboBoxUI.KeyHandler, BasicComboBoxUI.ListDataHandler, BasicComboBoxUI.PropertyChangeHandler
 
Field Summary
 
Fields inherited from class javax.swing.plaf.basic.BasicComboBoxUI
arrowButton, cachedMinimumSize, comboBox, currentValuePane, editor, focusListener, hasFocus, isMinimumSizeDirty, itemListener, keyListener, listBox, listDataListener, popup, popupKeyListener, popupMouseListener, popupMouseMotionListener, propertyChangeListener
 
Constructor Summary
SIPCommComboBoxUI()
           
 
Method Summary
protected  ComboBoxEditor createEditor()
          Creates the editor of the combo box related to this UI.
static ComponentUI createUI(JComponent c)
          Creates the UI for the given component c.
 void paint(Graphics g, JComponent c)
          Paints the UI for the given component through the given graphics object.
 
Methods inherited from class javax.swing.plaf.basic.BasicComboBoxUI
addEditor, configureArrowButton, configureEditor, createArrowButton, createFocusListener, createItemListener, createKeyListener, createLayoutManager, createListDataListener, createPopup, createPropertyChangeListener, createRenderer, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getDefaultSize, getDisplaySize, getInsets, getMaximumSize, getMinimumSize, getPreferredSize, installComponents, installDefaults, installKeyboardActions, installListeners, installUI, isFocusTraversable, isNavigationKey, isPopupVisible, paintCurrentValue, paintCurrentValueBackground, rectangleForCurrentValue, removeEditor, selectNextPossibleValue, selectPreviousPossibleValue, setPopupVisible, toggleOpenClose, unconfigureArrowButton, unconfigureEditor, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SIPCommComboBoxUI

public SIPCommComboBoxUI()
Method Detail

createUI

public static ComponentUI createUI(JComponent c)
Creates the UI for the given component c.

Parameters:
c - the component to create an UI for.
Returns:
the created ComponentUI

paint

public void paint(Graphics g,
                  JComponent c)
Paints the UI for the given component through the given graphics object.

Overrides:
paint in class BasicComboBoxUI
Parameters:
g - the Graphics object used for painting
c - the component to paint

createEditor

protected ComboBoxEditor createEditor()
Creates the editor of the combo box related to this UI.

Overrides:
createEditor in class BasicComboBoxUI
Returns:
the created combo box editor

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.