| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final int | |
| private Color | |
| private Object[] | |
| private AbstractRegionPainter. | |
| private Ellipse2D | |
| private Path2D | |
| private Rectangle2D | |
| private RoundRectangle2D | |
| private int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private Rectangle2D | |
| protected void | doPaint(Graphics2D g, JComponent c, int width, int height, Object[] extendedCacheKeys)
Implements abstract javax. Actually performs the painting operation. |
| protected final AbstractRegionPainter. | getPaintContext()
Implements abstract javax. Gets the PaintContext for this painting operation. |
| private void |
| BACKGROUND_ENABLED | back to summary |
|---|---|
| pack-priv static final int BACKGROUND_ENABLED | |
| color1 | back to summary |
|---|---|
| private Color color1 | |
| componentColors | back to summary |
|---|---|
| private Object[] componentColors | |
| ctx | back to summary |
|---|---|
| private AbstractRegionPainter. | |
| ellipse | back to summary |
|---|---|
| private Ellipse2D ellipse | |
| path | back to summary |
|---|---|
| private Path2D path | |
| rect | back to summary |
|---|---|
| private Rectangle2D rect | |
| roundRect | back to summary |
|---|---|
| private RoundRectangle2D roundRect | |
| state | back to summary |
|---|---|
| private int state | |
| SeparatorPainter | back to summary |
|---|---|
| public SeparatorPainter(AbstractRegionPainter. | |
| decodeRect1 | back to summary |
|---|---|
| private Rectangle2D decodeRect1() | |
| doPaint | back to summary |
|---|---|
| protected void doPaint(Graphics2D g, JComponent c, int width, int height, Object[] extendedCacheKeys) Implements abstract javax. Doc from javax. Actually performs the painting operation. Subclasses must implement this method.
The graphics object passed may represent the actual surface being rendered to,
or it may be an intermediate buffer. It has also been pre-translated. Simply render
the component as if it were located at 0, 0 and had a width of
| |
| getPaintContext | back to summary |
|---|---|
| protected final AbstractRegionPainter. Implements abstract javax. Doc from javax. Gets the PaintContext for this painting operation. This method is called on every paint, and so should be fast and produce no garbage. The PaintContext contains information such as cache hints. It also contains data necessary for decoding points at runtime, such as the stretching insets, the canvas size at which the encoded points were defined, and whether the stretching insets are inverted. This method allows for subclasses to package the painting of different states with possibly different canvas sizes, etc, into one AbstractRegionPainter implementation.
| |
| paintBackgroundEnabled | back to summary |
|---|---|
| private void paintBackgroundEnabled(Graphics2D g) | |