E - component typeU - component UI typeD - decoration typepublic class HotkeyLabelPainter<E extends javax.swing.JLabel,U extends WebLabelUI,D extends IDecoration<E,D>> extends LabelPainter<E,U,D>
| Modifier and Type | Field and Description |
|---|---|
protected java.awt.Color |
background |
protected java.awt.Color |
border
Style settings.
|
protected java.awt.Color |
spacing |
drawShade, paintIconR, paintTextR, paintViewR, rotation, shadeColor, shadeSizeancestor, DECORATION_STATES_PROPERTY, decorationCache, decorations, focused, focusStateTracker, hierarchyTracker, hover, hoverStateTracker, neighboursTracker, statescomponent, listeners, ltr, propertyChangeListener, ui| Constructor and Description |
|---|
HotkeyLabelPainter() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
paintBackground(java.awt.Graphics2D g2d,
java.awt.Rectangle bounds,
E label,
U ui)
Paints background.
|
getActualRotation, getCompleteBorder, getContentSize, getPreferredSize, isHtmlText, isOpaqueUndecorated, layout, layoutCL, paintContent, paintDisabledText, paintEnabledText, paintHtmlText, paintIcon, paintPlainText, paintShadowText, paintText, transposeDimensionadjustBounds, asList, collectDecorationStates, getBorders, getDecoration, getDecorations, getDecorationSize, getDecorationStates, getSectionPainters, install, installFocusListener, installHierarchyListener, installHoverListener, isDecorated, isDecorationPaintAllowed, isEnabled, isFocused, isHover, isOpaque, isOpaqueDecorated, isPlainBackgroundPaintAllowed, paint, propertyChange, provideShape, uninstall, uninstallFocusListener, uninstallHierarchyListener, uninstallHoverListener, updateDecorationState, usesState, usesStateaddPainterListener, b, borderChange, 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, paint, removePainterListener, uninstallprotected java.awt.Color border
protected java.awt.Color spacing
protected java.awt.Color background
protected void paintBackground(java.awt.Graphics2D g2d,
java.awt.Rectangle bounds,
E label,
U ui)
AbstractLabelPainterpaintBackground in class AbstractLabelPainter<E extends javax.swing.JLabel,U extends WebLabelUI,D extends IDecoration<E,D>>g2d - graphics contextbounds - bounds for painter visual datalabel - painted componentui - painted component UI