|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GripPainter
Base interface for grip painters.
SubstanceLookAndFeel.GRIP_PAINTER
Method Summary | |
---|---|
java.lang.String |
getDisplayName()
Returns the display name of this grip painter. |
void |
paintGrip(javax.swing.JComponent comp,
java.awt.Graphics graphics,
SubstanceTheme theme,
java.awt.Rectangle gripArea,
boolean isGripVertical,
java.awt.ComponentOrientation gripOrientation)
Paints the grip. |
Method Detail |
---|
void paintGrip(javax.swing.JComponent comp, java.awt.Graphics graphics, SubstanceTheme theme, java.awt.Rectangle gripArea, boolean isGripVertical, java.awt.ComponentOrientation gripOrientation)
comp
- The associated component.graphics
- Graphics to paint on.theme
- Theme for the grip painting.gripArea
- The area of the scroll thumb. The grip painting must not
exceed this area.isGripVertical
- true
, if the scroll bar is vertical,
false
otherwise.gripOrientation
- Orientation of the component. Right-to-left painting algorithm
can consult this parameter as necessary.java.lang.String getDisplayName()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |