public class TableCornerPainter<E extends javax.swing.JPanel,U extends WebPanelUI> extends AbstractPainter<E,U> implements IPanelPainter<E,U>
| Modifier and Type | Field and Description |
|---|---|
static java.awt.Color |
bottomBgColor
Default bottom header background color.
|
static java.awt.Color |
bottomLineColor
Default bottom header line color.
|
static java.awt.Color |
gridColor
Table grid color.
|
static java.awt.Color |
topBgColor
Default top header background color.
|
static java.awt.Color |
topLineColor
Default top header line color.
|
component, listeners, ltr, propertyChangeListener, ui| Constructor and Description |
|---|
TableCornerPainter() |
| Modifier and Type | Method and Description |
|---|---|
protected java.awt.Paint |
createBackgroundPaint(int x1,
int y1,
int x2,
int y2) |
void |
paint(java.awt.Graphics2D g2d,
java.awt.Rectangle bounds,
E c,
U ui)
Paints visual data using component graphics context.
|
addPainterListener, b, borderChange, getBorders, getCompleteBorder, getPreferredSize, i, i, i, install, installPropertyChangeListener, isOpaque, isSectionPainter, isSettingsUpdateAllowed, orientationChange, p, propertyChange, removePainterListener, repaint, repaint, repaint, revalidate, saveOrientation, uninstall, uninstallPropertyChangeListener, updateAll, updateBorder, updateOpacity, updateOrientationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddPainterListener, getBorders, getPreferredSize, install, isOpaque, removePainterListener, uninstallpublic static java.awt.Color topLineColor
public static java.awt.Color bottomLineColor
public static java.awt.Color topBgColor
public static java.awt.Color bottomBgColor
public static java.awt.Color gridColor
public void paint(java.awt.Graphics2D g2d,
java.awt.Rectangle bounds,
E c,
U ui)
PainterIt is highly recommended to honor provided painting bounds to avoid painting issues. These bounds might be representing full component size or contain just a small portion of the component.
paint in interface Painter<E extends javax.swing.JPanel,U extends WebPanelUI>g2d - graphics contextbounds - painting boundsc - painted componentui - painted component UIprotected java.awt.Paint createBackgroundPaint(int x1,
int y1,
int x2,
int y2)