|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.alee.extended.painter.AbstractPainter<E> com.alee.managers.style.skin.web.WebLabelPainter<E> com.alee.managers.style.skin.web.WebBreadcrumbLabelPainter<E>
public class WebBreadcrumbLabelPainter<E extends WebBreadcrumbLabel>
Custom painter for WebBreadcrumbLabel component.
Field Summary | |
---|---|
protected AncestorAdapter |
ancestorAdapter
|
protected WebBreadcrumb |
breadcrumb
Runtime variables. |
protected java.awt.event.ContainerAdapter |
containerAdapter
Listeners. |
Fields inherited from class com.alee.managers.style.skin.web.WebLabelPainter |
---|
backgroundPainter, drawShade, paintIconR, paintTextR, shadeColor, transparency |
Fields inherited from class com.alee.extended.painter.AbstractPainter |
---|
listeners, margin, opaque, preferredSize |
Constructor Summary | |
---|---|
WebBreadcrumbLabelPainter()
|
Method Summary | |
---|---|
java.awt.Insets |
getMargin(E label)
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. |
Methods inherited from class com.alee.managers.style.skin.web.WebLabelPainter |
---|
getBackgroundPainter, getPreferredSize, getShadeColor, getTransparency, isDrawShade, layout, layoutCL, paintDisabledText, paintEnabledText, paintShadowText, setBackgroundPainter, setDrawShade, setShadeColor, setTransparency |
Methods inherited from class com.alee.extended.painter.AbstractPainter |
---|
addPainterListener, p, removePainterListener, repaint, repaint, repaint, revalidate, setMargin, setMargin, setMargin, setOpaque, setPreferredSize, updateAll, updateOpacity |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.alee.extended.painter.Painter |
---|
addPainterListener, removePainterListener |
Field Detail |
---|
protected java.awt.event.ContainerAdapter containerAdapter
protected AncestorAdapter ancestorAdapter
protected WebBreadcrumb breadcrumb
Constructor Detail |
---|
public WebBreadcrumbLabelPainter()
Method Detail |
---|
public void install(E c)
install
in interface Painter<E extends WebBreadcrumbLabel>
install
in class AbstractPainter<E extends WebBreadcrumbLabel>
c
- component to processpublic void uninstall(E c)
uninstall
in interface Painter<E extends WebBreadcrumbLabel>
uninstall
in class AbstractPainter<E extends WebBreadcrumbLabel>
c
- component to processprotected void removeBreadcrumbAdapter()
public java.lang.Boolean isOpaque(E c)
isOpaque
in interface Painter<E extends WebBreadcrumbLabel>
isOpaque
in class WebLabelPainter<E extends WebBreadcrumbLabel>
c
- component to process
public java.awt.Insets getMargin(E label)
getMargin
in interface Painter<E extends WebBreadcrumbLabel>
getMargin
in class WebLabelPainter<E extends WebBreadcrumbLabel>
label
- component to process
public void paint(java.awt.Graphics2D g2d, java.awt.Rectangle bounds, E c)
paint
in interface Painter<E extends WebBreadcrumbLabel>
paint
in class WebLabelPainter<E extends WebBreadcrumbLabel>
g2d
- component graphicsbounds
- bounds for painter visual datac
- component to process
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |