com.vlsolutions.swing.toolbars

Class ToolBarGripperUI

public class ToolBarGripperUI extends ComponentUI

The default UI for the toolbar gripper.
Field Summary
protected static ImagegripExpandHImage
protected static ImagegripExpandVImage
protected static ImagegripImage
the "grip" (an alpha blended dot image, 3*3 pixels, hightlighted underneath )
Constructor Summary
ToolBarGripperUI()
Constructs a new gripper UI
Method Summary
static ComponentUIcreateUI(JComponent c)
voidinstallUI(JComponent comp)
installs the UI and sets the preferred size of the gripper
voidpaint(Graphics g, JComponent comp)
Paints gripper dots

Field Detail

gripExpandHImage

protected static Image gripExpandHImage

gripExpandVImage

protected static Image gripExpandVImage

gripImage

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

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

paint

public void paint(Graphics g, JComponent comp)
Paints gripper dots
© Copyright 2004-2007 VLSolutions. All Rights Reserved.
www.vlsolutions.com : Java Components - Smart Client Applications