|
||||||||||
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.extended.painter.BorderPainter<E> com.alee.extended.painter.DashedBorderPainter<E>
E
- component typepublic class DashedBorderPainter<E extends javax.swing.JComponent>
Dashed border painter.
BorderPainter
,
AbstractPainter
,
Painter
Field Summary |
---|
Fields inherited from class com.alee.extended.painter.BorderPainter |
---|
color, round, stroke, width |
Fields inherited from class com.alee.extended.painter.AbstractPainter |
---|
listeners, margin, opaque, preferredSize |
Constructor Summary | |
---|---|
DashedBorderPainter()
Constructs default dashed border painter. |
|
DashedBorderPainter(float[] dash)
Constructs dashed border painter with specified dashing pattern. |
|
DashedBorderPainter(float[] dash,
float dashPhase)
Constructs dashed border painter with specified dashing pattern and offset. |
Method Summary | |
---|---|
float[] |
getDash()
Returns dashing pattern. |
float |
getDashPhase()
Returns dashing pattern offset. |
void |
setDash(float[] dash)
Sets dashing pattern. |
void |
setDashPhase(float dashPhase)
Sets dashing pattern offset. |
protected void |
updateStroke()
Updates border stroke depending on painter settings. |
Methods inherited from class com.alee.extended.painter.BorderPainter |
---|
getBorderShape, getColor, getMargin, getPreferredSize, getRound, getStroke, getWidth, paint, setColor, setRound, setStroke, setWidth |
Methods inherited from class com.alee.extended.painter.AbstractPainter |
---|
addPainterListener, install, isOpaque, p, removePainterListener, repaint, repaint, repaint, revalidate, setMargin, setMargin, setMargin, setOpaque, setPreferredSize, uninstall, updateAll, updateOpacity |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DashedBorderPainter()
public DashedBorderPainter(float[] dash)
dash
- dashing patternpublic DashedBorderPainter(float[] dash, float dashPhase)
dash
- dashing patterndashPhase
- dashing pattern offsetMethod Detail |
---|
public float[] getDash()
public void setDash(float[] dash)
dash
- new dashing patternpublic float getDashPhase()
public void setDashPhase(float dashPhase)
dashPhase
- new dashing pattern offsetprotected void updateStroke()
updateStroke
in class BorderPainter<E extends javax.swing.JComponent>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |