public class ToolBarGripperUI extends ComponentUI
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
ToolBarGripperUI()
Constructs a new gripper UI
|
Modifier and Type | Method and Description |
---|---|
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
|
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, uninstallUI, update
protected static Image gripImage
protected static Image gripExpandHImage
protected static Image gripExpandVImage
public static ComponentUI createUI(JComponent c)
public void installUI(JComponent comp)
installUI
in class ComponentUI
public void paint(Graphics g, JComponent comp)
paint
in class ComponentUI
© Copyright 2004-2013 Lilian Chamontin. All Rights Reserved.