com.vlsolutions.swing.toolbars

Class 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

Field Details

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 Details

ToolBarGripperUI

public ToolBarGripperUI()
Constructs a new gripper UI

Method Details

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-2006 VLSolutions. All Rights Reserved.
www.vlsolutions.com : Java Components - Smart Client Applications