|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jdesktop.beans.AbstractBean
org.jdesktop.swingx.painter.AbstractPainter<T>
org.jdesktop.swingx.painter.AbstractLayoutPainter<T>
org.jdesktop.swingx.painter.AbstractAreaPainter<java.lang.Object>
org.jdesktop.swingx.painter.CapsulePainter
public class CapsulePainter
Draws a capsule. This is a rectangle capped by two semi circles. You can draw only a portion of a capsule using the portion property.
Nested Class Summary | |
---|---|
static class |
CapsulePainter.Portion
|
Nested classes/interfaces inherited from class org.jdesktop.swingx.painter.AbstractAreaPainter |
---|
AbstractAreaPainter.Style |
Nested classes/interfaces inherited from class org.jdesktop.swingx.painter.AbstractLayoutPainter |
---|
AbstractLayoutPainter.HorizontalAlignment, AbstractLayoutPainter.VerticalAlignment |
Nested classes/interfaces inherited from class org.jdesktop.swingx.painter.AbstractPainter |
---|
AbstractPainter.Interpolation |
Constructor Summary | |
---|---|
CapsulePainter()
Create a new CapsulePainter that draws a full capsule. |
|
CapsulePainter(CapsulePainter.Portion portion)
Create a new CapsulePainter that only draws the portion specified. |
Method Summary | |
---|---|
CapsulePainter.Portion |
getPortion()
Returns the current portion property. |
void |
setPortion(CapsulePainter.Portion portion)
Sets the current portion property. |
Methods inherited from class org.jdesktop.swingx.painter.AbstractAreaPainter |
---|
getAreaEffects, getBorderPaint, getBorderWidth, getFillPaint, getStyle, isPaintStretched, setAreaEffects, setBorderPaint, setBorderWidth, setFillPaint, setPaintStretched, setStyle |
Methods inherited from class org.jdesktop.swingx.painter.AbstractLayoutPainter |
---|
getHorizontalAlignment, getInsets, getVerticalAlignment, isFillHorizontal, isFillVertical, setFillHorizontal, setFillVertical, setHorizontalAlignment, setInsets, setVerticalAlignment |
Methods inherited from class org.jdesktop.swingx.painter.AbstractPainter |
---|
clearCache, getFilters, getInterpolation, isAntialiasing, isCacheable, isVisible, paint, setAntialiasing, setCacheable, setFilters, setInterpolation, setVisible |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CapsulePainter()
public CapsulePainter(CapsulePainter.Portion portion)
portion
- the portion to drawMethod Detail |
---|
public CapsulePainter.Portion getPortion()
public void setPortion(CapsulePainter.Portion portion)
portion
- the new portion
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |