Spec-Zone .ru
спецификации, руководства, описания, API
|
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SynthUI extends SynthConstants
SynthUI is used to fetch the SynthContext for a particular Component.
Modifier and Type | Field and Description |
---|
Fields inherited from interface javax.swing.plaf.synth.SynthConstants |
---|
DEFAULT, DISABLED, ENABLED, FOCUSED, MOUSE_OVER, PRESSED, SELECTED |
Modifier and Type | Method and Description |
---|---|
SynthContext |
getContext(JComponent c)
Returns the Context for the specified component. |
void |
paintBorder(SynthContext context,
Graphics g,
int x,
int y,
int w,
int h)
Paints the border. |
Method Detail |
---|
SynthContext getContext(JComponent c)
c
- Component requesting SynthContext.void paintBorder(SynthContext context, Graphics g, int x, int y, int w, int h)
context
- a component contextg
- Graphics
to paint onx
- the X coordinatey
- the Y coordinatew
- width of the borderh
- height of the border
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1993, 2010, Oracle Corporation. All rights reserved.