public class WebBreadcrumbToggleButtonPainter<E extends WebBreadcrumbToggleButton> extends AbstractPainter<E>
| Modifier and Type | Field and Description |
|---|---|
protected com.alee.utils.swing.AncestorAdapter |
ancestorAdapter |
protected WebBreadcrumb |
breadcrumb
Runtime variables.
|
protected java.awt.event.ContainerAdapter |
containerAdapter
Listeners.
|
listeners, margin, opaque, preferredSize| Constructor and Description |
|---|
WebBreadcrumbToggleButtonPainter() |
| Modifier and Type | Method and Description |
|---|---|
java.awt.Insets |
getMargin(E c)
Returns margin required for visual data provided by this painter.
|
void |
install(E c)
Called when painter is intalled into some component.
|
java.lang.Boolean |
isOpaque(E c)
Returns whether visual data provided by this painter is opaque or not.
|
void |
paint(java.awt.Graphics2D g2d,
java.awt.Rectangle bounds,
E c)
Paints visual data onto the component graphics.
|
protected void |
removeBreadcrumbAdapter()
Removes ContainerAdapter from parent breadcrumb if it exists.
|
void |
uninstall(E c)
Called when painter is intalled into some component.
|
addPainterListener, getPreferredSize, p, removePainterListener, repaint, repaint, repaint, revalidate, setMargin, setMargin, setMargin, setOpaque, setPreferredSize, updateAll, updateOpacityprotected java.awt.event.ContainerAdapter containerAdapter
protected com.alee.utils.swing.AncestorAdapter ancestorAdapter
protected WebBreadcrumb breadcrumb
public void install(E c)
install in interface Painter<E extends WebBreadcrumbToggleButton>install in class AbstractPainter<E extends WebBreadcrumbToggleButton>c - component to processpublic void uninstall(E c)
uninstall in interface Painter<E extends WebBreadcrumbToggleButton>uninstall in class AbstractPainter<E extends WebBreadcrumbToggleButton>c - component to processprotected void removeBreadcrumbAdapter()
public java.lang.Boolean isOpaque(E c)
isOpaque in interface Painter<E extends WebBreadcrumbToggleButton>isOpaque in class AbstractPainter<E extends WebBreadcrumbToggleButton>c - component to processpublic java.awt.Insets getMargin(E c)
getMargin in interface Painter<E extends WebBreadcrumbToggleButton>getMargin in class AbstractPainter<E extends WebBreadcrumbToggleButton>c - component to processpublic void paint(java.awt.Graphics2D g2d,
java.awt.Rectangle bounds,
E c)
g2d - component graphicsbounds - bounds for painter visual datac - component to process