net.java.sip.communicator.impl.gui.lookandfeel
Class SIPCommCallComboBoxUI
java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.ComboBoxUI
javax.swing.plaf.basic.BasicComboBoxUI
net.java.sip.communicator.impl.gui.lookandfeel.SIPCommComboBoxUI
net.java.sip.communicator.impl.gui.lookandfeel.SIPCommCallComboBoxUI
public class SIPCommCallComboBoxUI
- extends SIPCommComboBoxUI
A custom implementation of the SIPCommComboBoxUI specially designed
for the call combo box.
- Author:
- Yana Stamcheva
| 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 |
| Methods inherited from class javax.swing.plaf.basic.BasicComboBoxUI |
addEditor, configureArrowButton, configureEditor, createArrowButton, createFocusListener, createItemListener, createKeyListener, createLayoutManager, createListDataListener, createPropertyChangeListener, createRenderer, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getDefaultSize, getDisplaySize, getInsets, getMaximumSize, getMinimumSize, getPreferredSize, installDefaults, installKeyboardActions, installListeners, installUI, isFocusTraversable, isNavigationKey, isPopupVisible, paintCurrentValue, paintCurrentValueBackground, removeEditor, selectNextPossibleValue, selectPreviousPossibleValue, setPopupVisible, toggleOpenClose, unconfigureArrowButton, unconfigureEditor, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SIPCommCallComboBoxUI
public SIPCommCallComboBoxUI()
createUI
public static ComponentUI createUI(JComponent c)
- Creates an instance of the SIPCommCallComboBoxUI for the given
component.
- Parameters:
c - the component for which we create the UI
- Returns:
- an instance of the SIPCommCallComboBoxUI
createPopup
protected ComboPopup createPopup()
- Creates the popup portion of the combo box.
- Overrides:
createPopup in class BasicComboBoxUI
- Returns:
- an instance of
ComboPopup - See Also:
ComboPopup
installComponents
protected void installComponents()
- Creates and initializes the components which make up the
aggregate combo box. This method is called as part of the UI
installation process.
- Overrides:
installComponents in class BasicComboBoxUI
rectangleForCurrentValue
protected Rectangle rectangleForCurrentValue()
- Returns the area that is reserved for drawing the currently selected item.
- Overrides:
rectangleForCurrentValue in class BasicComboBoxUI
- Returns:
- the rectangle
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.