public class TreeSelectorPainter<E extends javax.swing.JTree,U extends WebTreeUI,D extends IDecoration<E,D>> extends AbstractSectionDecorationPainter<E,U,D> implements ITreeSelectorPainter<E,U>
AbstractDecorationPainter.
It is used within TreePainter to paint nodes selector.originancestor, DECORATION_STATES_PROPERTY, decorationCache, decorations, focused, focusStateTracker, hierarchyTracker, hover, hoverStateTracker, neighboursTracker, statescomponent, listeners, ltr, propertyChangeListener, ui| Constructor and Description |
|---|
TreeSelectorPainter() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
isFocused()
Returns whether or not component has focus.
|
protected boolean |
isPlainBackgroundPaintAllowed(E c)
Returns whether or not painting plain component background is allowed.
|
clearOrigin, getDecorationStates, getOrigin, setOriginadjustBounds, asList, collectDecorationStates, getBorders, getDecoration, getDecorations, getDecorationSize, getPreferredSize, getSectionPainters, install, installFocusListener, installHierarchyListener, installHoverListener, isDecorated, isDecorationPaintAllowed, isEnabled, isHover, isOpaque, isOpaqueDecorated, isOpaqueUndecorated, paint, 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, paint, removePainterListener, uninstallprotected boolean isFocused()
AbstractDecorationPainterisFocused in class AbstractDecorationPainter<E extends javax.swing.JTree,U extends WebTreeUI,D extends IDecoration<E,D>>protected boolean isPlainBackgroundPaintAllowed(E c)
AbstractDecorationPainterBy default this condition is limited to component being opaque. When component is opaque we must fill every single pixel in its bounds with something to avoid issues.
isPlainBackgroundPaintAllowed in class AbstractDecorationPainter<E extends javax.swing.JTree,U extends WebTreeUI,D extends IDecoration<E,D>>c - component to paint background for