E - component typeU - component UI typeD - decoration typepublic abstract class AbstractSectionDecorationPainter<E extends javax.swing.JComponent,U extends javax.swing.plaf.ComponentUI,D extends IDecoration<E,D>> extends AbstractDecorationPainter<E,U,D> implements SectionPainter<E,U>
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.ref.WeakReference<Painter<E,U>> |
origin
Origin painter.
|
ancestor, DECORATION_STATES_PROPERTY, decorationCache, decorations, focused, focusStateTracker, hierarchyTracker, hover, hoverStateTracker, neighboursTracker, statescomponent, listeners, ltr, propertyChangeListener, ui| Constructor and Description |
|---|
AbstractSectionDecorationPainter() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearOrigin()
Clears origin painter reference.
|
protected java.util.List<java.lang.String> |
getDecorationStates()
Returns current component decoration states.
|
Painter<E,U> |
getOrigin()
Returns origin painter.
|
void |
setOrigin(Painter<E,U> origin)
Sets origin painter.
|
adjustBounds, asList, collectDecorationStates, getBorders, getDecoration, getDecorations, getDecorationSize, getPreferredSize, getSectionPainters, install, installFocusListener, installHierarchyListener, installHoverListener, isDecorated, isDecorationPaintAllowed, isEnabled, isFocused, isHover, isOpaque, isOpaqueDecorated, isOpaqueUndecorated, isPlainBackgroundPaintAllowed, 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 java.lang.ref.WeakReference<Painter<E extends javax.swing.JComponent,U extends javax.swing.plaf.ComponentUI>> origin
public void setOrigin(Painter<E,U> origin)
origin - origin painterpublic void clearOrigin()
protected java.util.List<java.lang.String> getDecorationStates()
AbstractDecorationPaintergetDecorationStates in class AbstractDecorationPainter<E extends javax.swing.JComponent,U extends javax.swing.plaf.ComponentUI,D extends IDecoration<E,D>>