org.shetline.gui.laf.zinc
Class ZincComboBoxUI
java.lang.Object
  
javax.swing.plaf.ComponentUI
      
javax.swing.plaf.ComboBoxUI
          
javax.swing.plaf.basic.BasicComboBoxUI
              
javax.swing.plaf.metal.MetalComboBoxUI
                  
org.shetline.gui.laf.zinc.ZincComboBoxUI
public class ZincComboBoxUI
- extends MetalComboBoxUI
 
 
 
 
 
| 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 | 
 
 
 
 
| Methods inherited from class javax.swing.plaf.basic.BasicComboBoxUI | 
addEditor, configureArrowButton, createFocusListener, createItemListener, createKeyListener, createListDataListener, getAccessibleChild, getAccessibleChildrenCount, getBaselineResizeBehavior, getDefaultSize, getDisplaySize, getInsets, getMaximumSize, installComponents, installDefaults, installKeyboardActions, isFocusTraversable, isNavigationKey, isPopupVisible, removeEditor, selectNextPossibleValue, selectPreviousPossibleValue, setPopupVisible, toggleOpenClose, unconfigureArrowButton, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallUI | 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
propertyChangeListener
protected PropertyChangeListener propertyChangeListener
tableCellEditor
protected boolean tableCellEditor
hackActionListener
protected ActionListener hackActionListener
hackListListener
protected ListSelectionListener hackListListener
hackPopupListener
protected PopupMenuListener hackPopupListener
lastSelection
protected Object lastSelection
waitingForComboBoxAction
protected boolean waitingForComboBoxAction
hackingMayBeRequired
protected static boolean hackingMayBeRequired
hackingValidated
protected static boolean hackingValidated
ZincComboBoxUI
public ZincComboBoxUI()
createUI
public static ComponentUI createUI(JComponent b)
 
installUI
public void installUI(JComponent c)
- Overrides:
 installUI in class BasicComboBoxUI
 
 
installListeners
protected void installListeners()
- Overrides:
 installListeners in class BasicComboBoxUI
 
 
uninstallListeners
protected void uninstallListeners()
- Overrides:
 uninstallListeners in class BasicComboBoxUI
 
 
createArrowButton
protected JButton createArrowButton()
- Overrides:
 createArrowButton in class MetalComboBoxUI
 
 
createEditor
protected ComboBoxEditor createEditor()
- Overrides:
 createEditor in class MetalComboBoxUI
 
 
createLayoutManager
protected LayoutManager createLayoutManager()
- Overrides:
 createLayoutManager in class MetalComboBoxUI
 
 
createPopup
protected ComboPopup createPopup()
- Overrides:
 createPopup in class MetalComboBoxUI
 
 
createRenderer
protected ListCellRenderer createRenderer()
- Overrides:
 createRenderer in class BasicComboBoxUI
 
 
getMinimumSize
public Dimension getMinimumSize(JComponent c)
- The minimum size is the size of the display area plus insets plus the button.
- Overrides:
 getMinimumSize in class MetalComboBoxUI
 
 
 
getPreferredSize
public Dimension getPreferredSize(JComponent c)
- Overrides:
 getPreferredSize in class BasicComboBoxUI
 
 
rectangleForCurrentValue
protected Rectangle rectangleForCurrentValue()
- Returns the area that is reserved for drawing the currently selected item.
- Overrides:
 rectangleForCurrentValue in class BasicComboBoxUI
 
 
 
update
public void update(Graphics g,
                   JComponent c)
- Overrides:
 update in class ComponentUI
 
 
isToolBarComboBox
protected boolean isToolBarComboBox(JComponent c)
 
getEditableButtonWidth
protected static int getEditableButtonWidth()
 
createPropertyChangeListener
public PropertyChangeListener createPropertyChangeListener()
- Overrides:
 createPropertyChangeListener in class MetalComboBoxUI
 
 
installHackListeners
protected void installHackListeners()
 
removeHackListeners
protected void removeHackListeners()