ImagePainterpublic class ImagePainter extends SynthPainter ImagePainter fills in the specified region using an Image. The Image
is split into 9 segments: north, north east, east, south east, south,
south west, west, north west and the center. The corners are defined
by way of an insets, and the remaining regions are either tiled or
scaled to fit. |
Fields Summary |
---|
private Image | image | private Insets | sInsets | private Insets | dInsets | private URL | path | private boolean | tiles | private boolean | paintCenter | private Object | renderingHint |
Constructors Summary |
---|
ImagePainter(boolean tiles, boolean paintCenter, Object renderingHint, Insets sourceInsets, Insets destinationInsets)
this.sInsets = (Insets)sourceInsets.clone();
if (destinationInsets == null) {
dInsets = sInsets;
}
else {
this.dInsets = (Insets)destinationInsets.clone();
}
this.tiles = tiles;
this.paintCenter = paintCenter;
this.renderingHint = renderingHint;
| public ImagePainter(boolean tiles, boolean paintCenter, Object renderingHint, Insets sourceInsets, Insets destinationInsets, Image image)
this(tiles, paintCenter, renderingHint, sourceInsets,
destinationInsets);
this.image = image;
| public ImagePainter(boolean tiles, boolean paintCenter, Object renderingHint, Insets sourceInsets, Insets destinationInsets, URL path)
this(tiles, paintCenter, renderingHint, sourceInsets,
destinationInsets);
this.path = path;
|
Methods Summary |
---|
private void | drawChunk(java.awt.Image image, java.awt.Graphics g, boolean stretch, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, boolean xDirection)
if (stretch) {
g.drawImage(image, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, null);
}
else {
int xSize = sx2 - sx1;
int ySize = sy2 - sy1;
int deltaX;
int deltaY;
if (xDirection) {
deltaX = xSize;
deltaY = 0;
}
else {
deltaX = 0;
deltaY = ySize;
}
while (dx1 < dx2 && dy1 < dy2) {
int newDX2 = Math.min(dx2, dx1 + xSize);
int newDY2 = Math.min(dy2, dy1 + ySize);
g.drawImage(image, dx1, dy1, newDX2, newDY2,
sx1, sy1, sx1 + newDX2 - dx1,
sy1 + newDY2 - dy1, null);
dx1 += deltaX;
dy1 += deltaY;
}
}
| public java.awt.Image | getImage()
if (image == null) {
image = new ImageIcon(path, null).getImage();
}
return image;
| public java.awt.Insets | getInsets(java.awt.Insets insets)
if (insets == null) {
return (Insets)this.dInsets.clone();
}
insets.left = this.dInsets.left;
insets.right = this.dInsets.right;
insets.top = this.dInsets.top;
insets.bottom = this.dInsets.bottom;
return insets;
| public boolean | getPaintsCenter()
return paintCenter;
| public java.lang.Object | getRenderingHint()
return renderingHint;
| public boolean | getTiles()
return tiles;
| private void | paint(java.awt.Graphics g, int x, int y, int w, int h)
Image image;
Object lastHint;
Object renderingHint = getRenderingHint();
if (renderingHint != null) {
Graphics2D g2 = (Graphics2D)g;
lastHint = g2.getRenderingHint(RenderingHints.KEY_INTERPOLATION);
if (lastHint == null) {
lastHint = RenderingHints.VALUE_INTERPOLATION_NEAREST_NEIGHBOR;
}
g2.setRenderingHint(RenderingHints.KEY_INTERPOLATION,
renderingHint);
}
else {
lastHint = null;
}
if ((image = getImage()) != null) {
Insets sInsets = this.sInsets;
Insets dInsets = this.dInsets;
int iw = image.getWidth(null);
int ih = image.getHeight(null);
boolean stretch = !getTiles();
// top left
g.drawImage(image, x, y, x + dInsets.left, y + dInsets.top,
0, 0, sInsets.left, sInsets.top, null);
// top
drawChunk(image, g, stretch, x + dInsets.left, y,
x + w - dInsets.right, y + dInsets.top, sInsets.left, 0,
iw - sInsets.right, sInsets.top, true);
// top right
g.drawImage(image, x + w - dInsets.right, y, x + w,
y + dInsets.top, iw - sInsets.right, 0, iw,
sInsets.top, null);
// right
drawChunk(image, g, stretch, x + w - dInsets.right,
y + dInsets.top, x + w, y + h - dInsets.bottom,
iw - sInsets.right, sInsets.top, iw,
ih - sInsets.bottom, false);
// bottom right
g.drawImage(image, x + w - dInsets.right,
y + h - dInsets.bottom, x + w, y + h,
iw - sInsets.right, ih - sInsets.bottom, iw, ih,
null);
// bottom
drawChunk(image, g, stretch, x + dInsets.left,
y + h - dInsets.bottom, x + w - dInsets.right,
y + h, sInsets.left, ih - sInsets.bottom,
iw - sInsets.right, ih, true);
// bottom left
g.drawImage(image, x, y + h - dInsets.bottom, x + dInsets.left,
y + h, 0, ih - sInsets.bottom, sInsets.left, ih,
null);
// left
drawChunk(image, g, stretch, x, y + dInsets.top,
x + dInsets.left, y + h - dInsets.bottom,
0, sInsets.top, sInsets.left, ih - sInsets.bottom,
false);
// center
if (getPaintsCenter()) {
g.drawImage(image, x + dInsets.left, y + dInsets.top,
x + w - dInsets.right, y + h - dInsets.bottom,
sInsets.left, sInsets.top, iw - sInsets.right,
ih - sInsets.bottom, null);
}
}
if (renderingHint != null) {
((Graphics2D)g).setRenderingHint(RenderingHints.KEY_INTERPOLATION,
lastHint);
}
| public void | paintArrowButtonBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintArrowButtonBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintArrowButtonForeground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h, int direction)
paint(g, x, y, w, h);
| public void | paintButtonBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintButtonBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintCheckBoxBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintCheckBoxBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintCheckBoxMenuItemBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintCheckBoxMenuItemBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintColorChooserBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintColorChooserBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintComboBoxBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintComboBoxBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintDesktopIconBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintDesktopIconBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintDesktopPaneBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintDesktopPaneBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintEditorPaneBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintEditorPaneBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintFileChooserBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintFileChooserBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintFormattedTextFieldBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintFormattedTextFieldBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintInternalFrameBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintInternalFrameBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintInternalFrameTitlePaneBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintInternalFrameTitlePaneBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintLabelBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintLabelBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintListBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintListBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintMenuBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintMenuBarBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintMenuBarBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintMenuBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintMenuItemBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintMenuItemBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintOptionPaneBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintOptionPaneBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintPanelBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintPanelBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintPasswordFieldBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintPasswordFieldBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintPopupMenuBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintPopupMenuBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintProgressBarBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintProgressBarBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintProgressBarForeground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h, int orientation)
paint(g, x, y, w, h);
| public void | paintRadioButtonBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintRadioButtonBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintRadioButtonMenuItemBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintRadioButtonMenuItemBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintRootPaneBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintRootPaneBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintScrollBarBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintScrollBarBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintScrollBarThumbBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h, int orientation)
paint(g, x, y, w, h);
| public void | paintScrollBarThumbBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h, int orientation)
paint(g, x, y, w, h);
| public void | paintScrollBarTrackBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintScrollBarTrackBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintScrollPaneBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintScrollPaneBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintSeparatorBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintSeparatorBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintSeparatorForeground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h, int orientation)
paint(g, x, y, w, h);
| public void | paintSliderBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintSliderBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintSliderThumbBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h, int orientation)
paint(g, x, y, w, h);
| public void | paintSliderThumbBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h, int orientation)
paint(g, x, y, w, h);
| public void | paintSliderTrackBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintSliderTrackBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintSpinnerBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintSpinnerBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintSplitPaneBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintSplitPaneBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintSplitPaneDividerBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintSplitPaneDividerForeground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h, int orientation)
paint(g, x, y, w, h);
| public void | paintSplitPaneDragDivider(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h, int orientation)
paint(g, x, y, w, h);
| public void | paintTabbedPaneBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintTabbedPaneBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintTabbedPaneContentBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintTabbedPaneContentBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintTabbedPaneTabAreaBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintTabbedPaneTabAreaBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintTabbedPaneTabBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h, int tabIndex)
paint(g, x, y, w, h);
| public void | paintTabbedPaneTabBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h, int tabIndex)
paint(g, x, y, w, h);
| public void | paintTableBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintTableBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintTableHeaderBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintTableHeaderBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintTextAreaBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintTextAreaBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintTextFieldBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintTextFieldBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintTextPaneBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintTextPaneBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintToggleButtonBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintToggleButtonBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintToolBarBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintToolBarBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintToolBarContentBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintToolBarContentBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintToolBarDragWindowBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintToolBarDragWindowBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintToolTipBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintToolTipBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintTreeBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintTreeBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintTreeCellBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintTreeCellBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintTreeCellFocus(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintViewportBackground(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
| public void | paintViewportBorder(javax.swing.plaf.synth.SynthContext context, java.awt.Graphics g, int x, int y, int w, int h)
paint(g, x, y, w, h);
|
|