JIDE 3.5.15

com.jidesoft.plaf.basic
Class BasicChevronUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by javax.swing.plaf.ButtonUI
          extended by javax.swing.plaf.MenuItemUI
              extended by com.jidesoft.plaf.vsnet.VsnetMenuItemUI
                  extended by com.jidesoft.plaf.vsnet.VsnetMenuUI
                      extended by com.jidesoft.plaf.basic.BasicChevronUI

public class BasicChevronUI
extends VsnetMenuUI

A Basic L&F implementation of CommandBarChevronUI.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.jidesoft.plaf.vsnet.VsnetMenuUI
VsnetMenuUI.MouseInputHandler, VsnetMenuUI.PostAction
 
Field Summary
protected  boolean _alwaysVisible
           
protected  int _size
           
protected  Color highlight
           
static int MARGIN
           
protected  Color shadow
           
 
Fields inherited from class com.jidesoft.plaf.vsnet.VsnetMenuUI
changeListener, menuListener, propertyChangeListener
 
Fields inherited from class com.jidesoft.plaf.vsnet.VsnetMenuItemUI
_isFloatingIcon, acceleratorFont, acceleratorForeground, acceleratorRect, acceleratorSelectionForeground, arrowIcon, arrowIconRect, backgroundColor, borderColor, checkIcon, checkIconRect, defaultAccelEndGap, defaultShadowWidth, defaultTextIconGap, disabledForeground, iconRect, menuDragMouseListener, menuItem, menuKeyListener, mouseInputListener, oldBorderPainted, selectionBackground, selectionForeground, shadowColor, textRect, viewRect, windowInputMap, zeroRect
 
Constructor Summary
BasicChevronUI()
           
 
Method Summary
protected  PropertyChangeListener createPropertyChangeListener()
           
static ComponentUI createUI(JComponent c)
           
 Dimension getMaximumSize(JComponent c)
           
 Dimension getMinimumSize(JComponent c)
           
 Dimension getPreferredSize(JComponent c)
           
protected  void installDefaults(Chevron s)
           
protected  void installListeners(Chevron chevron)
           
 void installUI(JComponent c)
           
 void paint(Graphics g, JComponent c)
           
protected  void paintBackground(Graphics g, Chevron chevron)
           
protected  void uninstallDefaults(Chevron s)
           
protected  void uninstallListeners(Chevron chevron)
           
 void uninstallUI(JComponent c)
           
 
Methods inherited from class com.jidesoft.plaf.vsnet.VsnetMenuUI
appendPath, createActionMap, createChangeListener, createMenuDragMouseListener, createMenuKeyListener, createMenuListener, createMouseInputListener, createPopupMenuListener, createPropertyChangeListener, getActionMap, getPropertyPrefix, installDefaults, installKeyboardActions, installListeners, isMouseOver, paintBackground, paintText, setMouseOver, setupPostTimer, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, updateMnemonicBinding
 
Methods inherited from class com.jidesoft.plaf.vsnet.VsnetMenuItemUI
createInputMap, doClick, getIcon, getPainter, getPath, getPreferredMenuItemSize, getRightMargin, installComponents, isDownArrowVisible, isFloatingIcon, paintCheckBox, paintIcon, paintMenuItem, uninstallComponents, update, useCheckAndArrow
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MARGIN

public static final int MARGIN
See Also:
Constant Field Values

shadow

protected Color shadow

highlight

protected Color highlight

_size

protected int _size

_alwaysVisible

protected boolean _alwaysVisible
Constructor Detail

BasicChevronUI

public BasicChevronUI()
Method Detail

createUI

public static ComponentUI createUI(JComponent c)

installUI

public void installUI(JComponent c)
Overrides:
installUI in class VsnetMenuItemUI

uninstallUI

public void uninstallUI(JComponent c)
Overrides:
uninstallUI in class VsnetMenuItemUI

installDefaults

protected void installDefaults(Chevron s)

uninstallDefaults

protected void uninstallDefaults(Chevron s)

installListeners

protected void installListeners(Chevron chevron)

uninstallListeners

protected void uninstallListeners(Chevron chevron)

paint

public void paint(Graphics g,
                  JComponent c)
Overrides:
paint in class VsnetMenuItemUI

paintBackground

protected void paintBackground(Graphics g,
                               Chevron chevron)

getPreferredSize

public Dimension getPreferredSize(JComponent c)
Overrides:
getPreferredSize in class VsnetMenuUI

getMinimumSize

public Dimension getMinimumSize(JComponent c)
Overrides:
getMinimumSize in class VsnetMenuItemUI

getMaximumSize

public Dimension getMaximumSize(JComponent c)
Overrides:
getMaximumSize in class VsnetMenuUI

createPropertyChangeListener

protected PropertyChangeListener createPropertyChangeListener()

JIDE 3.5.15