com.vlsolutions.swing.toolbars
Class ToolBarGripperUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by com.vlsolutions.swing.toolbars.ToolBarGripperUI

public class ToolBarGripperUI
extends ComponentUI

The default UI for the toolbar gripper.


Field Summary
protected static Image gripExpandHImage
           
protected static Image gripExpandVImage
           
protected static Image gripImage
          the "grip" (an alpha blended dot image, 3*3 pixels, hightlighted underneath )
 
Constructor Summary
ToolBarGripperUI()
          Constructs a new gripper UI
 
Method Summary
static ComponentUI createUI(JComponent c)
           
 void installUI(JComponent comp)
          installs the UI and sets the preferred size of the gripper
 void paint(Graphics g, JComponent comp)
          Paints gripper dots
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, uninstallUI, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

gripImage

protected static Image gripImage
the "grip" (an alpha blended dot image, 3*3 pixels, hightlighted underneath )


gripExpandHImage

protected static Image gripExpandHImage

gripExpandVImage

protected static Image gripExpandVImage
Constructor Detail

ToolBarGripperUI

public ToolBarGripperUI()
Constructs a new gripper UI

Method Detail

createUI

public static ComponentUI createUI(JComponent c)

installUI

public void installUI(JComponent comp)
installs the UI and sets the preferred size of the gripper

Overrides:
installUI in class ComponentUI

paint

public void paint(Graphics g,
                  JComponent comp)
Paints gripper dots

Overrides:
paint in class ComponentUI


© Copyright 2004-2005 VLSolutions. All Rights Reserved.
www.vlsolutions.com : Java Components - Smart Client Applications