|
||||||||||
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.WebDecorationPainter<E> com.alee.managers.style.skin.web.WebPanelPainter<E> com.alee.managers.style.skin.web.WebBreadcrumbPanelPainter<E>
public class WebBreadcrumbPanelPainter<E extends WebBreadcrumbPanel>
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.WebDecorationPainter |
---|
actualPaintLeft, actualPaintRight, BACKGROUND_SHAPE, BORDER_SHAPE, borderColor, borderStroke, disabledBorderColor, focused, focusTracker, h, ltr, paintBackground, paintBottom, paintBottomLine, paintFocus, paintLeft, paintLeftLine, paintRight, paintRightLine, paintTop, paintTopLine, round, shadeTransparency, shadeWidth, undecorated, w, webColoredBackground |
Fields inherited from class com.alee.extended.painter.AbstractPainter |
---|
listeners, margin, opaque, preferredSize |
Constructor Summary | |
---|---|
WebBreadcrumbPanelPainter()
|
Method Summary | |
---|---|
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. |
Methods inherited from class com.alee.extended.painter.AbstractPainter |
---|
addPainterListener, getPreferredSize, 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.laf.panel.PanelPainter |
---|
setPaintFocus, setUndecorated |
Methods inherited from interface com.alee.extended.painter.Painter |
---|
addPainterListener, getPreferredSize, removePainterListener |
Methods inherited from interface com.alee.extended.painter.PartialDecoration |
---|
setPaintBottom, setPaintBottomLine, setPaintLeft, setPaintLeftLine, setPaintRight, setPaintRightLine, setPaintSideLines, setPaintSides, setPaintTop, setPaintTopLine |
Field Detail |
---|
protected java.awt.event.ContainerAdapter containerAdapter
protected AncestorAdapter ancestorAdapter
protected WebBreadcrumb breadcrumb
Constructor Detail |
---|
public WebBreadcrumbPanelPainter()
Method Detail |
---|
public void install(E c)
install
in interface Painter<E extends WebBreadcrumbPanel>
install
in class WebDecorationPainter<E extends WebBreadcrumbPanel>
c
- component to processpublic void uninstall(E c)
uninstall
in interface Painter<E extends WebBreadcrumbPanel>
uninstall
in class WebDecorationPainter<E extends WebBreadcrumbPanel>
c
- component to processprotected void removeBreadcrumbAdapter()
public java.lang.Boolean isOpaque(E c)
isOpaque
in interface Painter<E extends WebBreadcrumbPanel>
isOpaque
in class WebPanelPainter<E extends WebBreadcrumbPanel>
c
- component to process
public java.awt.Insets getMargin(E c)
getMargin
in interface Painter<E extends WebBreadcrumbPanel>
getMargin
in class WebDecorationPainter<E extends WebBreadcrumbPanel>
c
- component to process
public void paint(java.awt.Graphics2D g2d, java.awt.Rectangle bounds, E c)
paint
in interface Painter<E extends WebBreadcrumbPanel>
paint
in class WebPanelPainter<E extends WebBreadcrumbPanel>
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 |