JIDE 3.5.15

com.jidesoft.plaf.basic
Class BasicCommandBarUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by javax.swing.plaf.MenuBarUI
          extended by com.jidesoft.plaf.CommandBarUI
              extended by com.jidesoft.plaf.basic.BasicCommandBarUI
All Implemented Interfaces:
SwingConstants
Direct Known Subclasses:
EclipseCommandBarUI

public class BasicCommandBarUI
extends CommandBarUI
implements SwingConstants

A Basic L&F implementation of CommandBarUI.


Nested Class Summary
protected  class BasicCommandBarUI.PropertyListener
           
 
Field Summary
protected  JMenuBar _menuBar
           
protected  JComponent _target
           
protected  ChangeListener changeListener
           
protected  ContainerListener containerListener
           
protected  PropertyChangeListener propertyListener
           
 
Fields inherited from interface javax.swing.SwingConstants
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST
 
Constructor Summary
BasicCommandBarUI()
           
 
Method Summary
protected  ChangeListener createChangeListener()
           
protected  ContainerListener createContainerListener()
           
protected  PropertyChangeListener createPropertyListener()
           
static ComponentUI createUI(JComponent c)
           
 Component getGripper()
           
 Dimension getMaximumSize(JComponent c)
           
 Dimension getMinimumSize(JComponent c)
           
 ThemePainter getPainter()
           
 Dimension getPreferredSize(JComponent c)
           
 Component getTitleBar()
           
protected  void installComponents()
           
protected  void installDefaults()
           
protected  void installKeyboardActions()
           
protected  void installListeners()
           
 void installUI(JComponent c)
           
 void paint(Graphics g, JComponent c)
           
protected  void uninstallComponents()
           
protected  void uninstallDefaults()
           
protected  void uninstallKeyboardActions()
           
protected  void uninstallListeners()
           
 void uninstallUI(JComponent c)
           
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_target

protected JComponent _target

propertyListener

protected PropertyChangeListener propertyListener

containerListener

protected ContainerListener containerListener

changeListener

protected ChangeListener changeListener

_menuBar

protected JMenuBar _menuBar
Constructor Detail

BasicCommandBarUI

public BasicCommandBarUI()
Method Detail

getPreferredSize

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

createUI

public static ComponentUI createUI(JComponent c)

installUI

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

uninstallUI

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

installDefaults

protected void installDefaults()

uninstallDefaults

protected void uninstallDefaults()

getGripper

public Component getGripper()
Specified by:
getGripper in class CommandBarUI

getTitleBar

public Component getTitleBar()
Specified by:
getTitleBar in class CommandBarUI

installComponents

protected void installComponents()

uninstallComponents

protected void uninstallComponents()

installListeners

protected void installListeners()

uninstallListeners

protected void uninstallListeners()

installKeyboardActions

protected void installKeyboardActions()

uninstallKeyboardActions

protected void uninstallKeyboardActions()

getMinimumSize

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

getMaximumSize

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

createChangeListener

protected ChangeListener createChangeListener()

createPropertyListener

protected PropertyChangeListener createPropertyListener()

createContainerListener

protected ContainerListener createContainerListener()

paint

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

getPainter

public ThemePainter getPainter()

JIDE 3.5.15