protected class WebButtonPopup.ButtonPopupPainter<D extends IDecoration<WebButtonPopup,D>> extends PanelPainter<WebButtonPopup,WebPanelUI,D>
ancestor, DECORATION_STATES_PROPERTY, decorationCache, decorations, focused, focusStateTracker, hierarchyTracker, hover, hoverStateTracker, neighboursTracker, statescomponent, listeners, ltr, propertyChangeListener, ui| Modifier | Constructor and Description |
|---|---|
protected |
ButtonPopupPainter() |
| Modifier and Type | Method and Description |
|---|---|
void |
paint(java.awt.Graphics2D g2d,
java.awt.Rectangle bounds,
WebButtonPopup c,
WebPanelUI ui)
Paints visual data using component graphics context.
|
adjustBounds, asList, collectDecorationStates, getBorders, getDecoration, getDecorations, getDecorationSize, getDecorationStates, getPreferredSize, getSectionPainters, install, installFocusListener, installHierarchyListener, installHoverListener, isDecorated, isDecorationPaintAllowed, isEnabled, isFocused, isHover, isOpaque, isOpaqueDecorated, isOpaqueUndecorated, isPlainBackgroundPaintAllowed, paintContent, propertyChange, provideShape, uninstall, uninstallFocusListener, uninstallHierarchyListener, uninstallHoverListener, updateDecorationState, usesState, usesStateaddPainterListener, b, borderChange, getCompleteBorder, i, i, i, installPropertyChangeListener, isSectionPainter, isSettingsUpdateAllowed, orientationChange, p, removePainterListener, repaint, repaint, repaint, revalidate, saveOrientation, uninstallPropertyChangeListener, updateAll, updateBorder, updateOpacity, updateOrientationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddPainterListener, getBorders, getPreferredSize, install, isOpaque, removePainterListener, uninstallpublic void paint(java.awt.Graphics2D g2d,
java.awt.Rectangle bounds,
WebButtonPopup c,
WebPanelUI 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<WebButtonPopup,WebPanelUI>paint in class AbstractDecorationPainter<WebButtonPopup,WebPanelUI,D extends IDecoration<WebButtonPopup,D>>g2d - graphics contextbounds - painting boundsc - painted componentui - painted component UI