E - component typeU - component UI typepublic class ViewportPainter<E extends javax.swing.JViewport,U extends WebViewportUI> extends AbstractPainter<E,U> implements IViewportPainter<E,U>
component, listeners, ltr, propertyChangeListener, ui| Constructor and Description |
|---|
ViewportPainter() |
| Modifier and Type | Method and Description |
|---|---|
void |
paint(java.awt.Graphics2D g2d,
java.awt.Rectangle bounds,
E c,
U ui)
Paints visual data using component graphics context.
|
void |
updateBorder()
Updates component with complete border.
|
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, updateOpacity, updateOrientationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddPainterListener, getBorders, getPreferredSize, install, isOpaque, removePainterListener, uninstallpublic void updateBorder()
AbstractPainterupdateBorder in interface BorderMethodsupdateBorder in class AbstractPainter<E extends javax.swing.JViewport,U extends WebViewportUI>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.JViewport,U extends WebViewportUI>g2d - graphics contextbounds - painting boundsc - painted componentui - painted component UI