public interface SynthUI extends SynthConstants
DEFAULT, DISABLED, ENABLED, FOCUSED, MOUSE_OVER, PRESSED, SELECTED| Modifier and Type | Method and Description |
|---|---|
SynthContext |
getContext(JComponent
Returns the Context for the specified component.
|
void |
paintBorder(SynthContext
Paints the border.
|
SynthContextgetContext(JComponent c)
c - Component requesting SynthContext.
void paintBorder(SynthContextcontext, Graphics g, int x, int y, int w, int h)
context - a component context
g -
Graphics to paint on
x - the X coordinate
y - the Y coordinate
w - width of the border
h - height of the border