|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectCodeList<E>
SimpleEnumerationType<GraphicArc.ArcClosure>
GraphicArc.ArcClosure
public static class GraphicArc.ArcClosure
Instances of the ArcClosure
class represent the various
methods of connecting the endpoints of an arc. There are three static
constants defined in this class that can be used as parameters to
the setClosureType
method.
Field Summary | |
---|---|
static GraphicArc.ArcClosure |
CHORD
Closure type that indicates that one line should be drawn between the endpoints of the arc. |
static GraphicArc.ArcClosure |
OPEN
Closure type that indicates that the endpoints of the arc should not be connected. |
static GraphicArc.ArcClosure |
PIE
Closure type that indicates that two lines, one from each endpoint of the arc, should be drawn to the center of the ellipse defining the arc. |
Method Summary | |
---|---|
CodeList[] |
family()
Returns the list of enumerations of the same kind than this enum. |
static GraphicArc.ArcClosure[] |
getArray()
Deprecated. Use values() instead. |
static GraphicArc.ArcClosure[] |
values()
Returns the list of ArcClosure s. |
Methods inherited from class SimpleEnumerationType |
---|
getDescription, getIcon, getNullIcon, loadIconResource, toString |
Methods inherited from class CodeList |
---|
compareTo, name, ordinal, readResolve |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final GraphicArc.ArcClosure OPEN
public static final GraphicArc.ArcClosure CHORD
public static final GraphicArc.ArcClosure PIE
Method Detail |
---|
@Deprecated public static GraphicArc.ArcClosure[] getArray()
values()
instead.
ArcClosure
s. This is useful when making combo-boxes
with code like:
JComboBox comboBox = new JComboBox(ArcClosure.getArray());
IMPORTANT SAFETY TIP:
Modifying the array returned is a Bad Thing. Don't do it.
public static GraphicArc.ArcClosure[] values()
ArcClosure
s.
public CodeList[] family()
family
in class CodeList<GraphicArc.ArcClosure>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |