| org.jvnet.substance.grip.GripPainter
All known Subclasses: org.jvnet.substance.grip.NullGripPainter, org.jvnet.substance.grip.DragBumpsGripPainter,
Method Summary | |
public String | getDisplayName() Returns the display name of this grip painter. | public void | paintGrip(JComponent comp, Graphics graphics, SubstanceTheme theme, Rectangle gripArea, boolean isGripVertical, ComponentOrientation gripOrientation) Paints the grip.
Parameters: comp - The associated component. Parameters: graphics - Graphics to paint on. Parameters: theme - Theme for the grip painting. Parameters: gripArea - The area of the scroll thumb. |
getDisplayName | public String getDisplayName()(Code) | | Returns the display name of this grip painter.
Display name of this grip painter. |
paintGrip | public void paintGrip(JComponent comp, Graphics graphics, SubstanceTheme theme, Rectangle gripArea, boolean isGripVertical, ComponentOrientation gripOrientation)(Code) | | Paints the grip.
Parameters: comp - The associated component. Parameters: graphics - Graphics to paint on. Parameters: theme - Theme for the grip painting. Parameters: gripArea - The area of the scroll thumb. The grip painting must notexceed this area. Parameters: isGripVertical - true , if the scroll bar is vertical,false otherwise. Parameters: gripOrientation - Orientation of the component. Right-to-left painting algorithmcan consult this parameter as necessary. |
|
|