|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectCodeList<E>
SimpleEnumerationType<LineCap>
LineCap
public class LineCap
Instances of LineCap
indicate the various
ways of capping the end of a styled line. This class defines static
constants for all of the standard choices.
Field Summary | |
---|---|
static LineCap |
BUTT
This constant indicates that line ends should be drawn with no extra decoration. |
static LineCap |
ROUND
This constant indicates that line ends should be drawn with a half circle of diameter equal to the width of the line. |
static LineCap |
SQUARE
This constant indicates that the line should be capped by a straight line extending half the line's width past the endpoint of the line. |
Constructor Summary | |
---|---|
protected |
LineCap(String name,
String description)
Construct a new LineCap with the given name and description. |
Method Summary | |
---|---|
CodeList[] |
family()
Returns the list of enumerations of the same kind than this enum. |
static LineCap[] |
values()
Returns the list of LineCap 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 LineCap BUTT
public static final LineCap ROUND
public static final LineCap SQUARE
Constructor Detail |
---|
protected LineCap(String name, String description)
DisplayCapabilities.getSupportedLineCaps()
.
name
- a String defining the name of the Arrow pattern.description
- a String describing the pattern.Method Detail |
---|
public static LineCap[] values()
LineCap
s.
public CodeList[] family()
family
in class CodeList<LineCap>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |