|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<DrawOption>
org.diylc.common.DrawOption
public enum DrawOption
Enumerates all options that can be used when drawing a project.
IPlugInPort.draw(java.awt.Graphics2D, java.util.Set, IComponentFiler)| Enum Constant Summary | |
|---|---|
ANTIALIASING
Anti-aliasing is used when drawing. |
|
CONTROL_POINTS
Control points are drawn. |
|
GRID
Grid lines are drawn. |
|
OUTLINE_MODE
Draw components in outline mode. |
|
SELECTION
Selection rectangle will be drawn when needed and selected components may be rendered differently. |
|
ZOOM
Selected zoom level will be applied to scale the Graphics before drawing. |
|
| Method Summary | |
|---|---|
static DrawOption |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static DrawOption[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final DrawOption SELECTION
public static final DrawOption ZOOM
Graphics before drawing.
public static final DrawOption GRID
public static final DrawOption CONTROL_POINTS
public static final DrawOption ANTIALIASING
public static final DrawOption OUTLINE_MODE
| Method Detail |
|---|
public static DrawOption[] values()
for (DrawOption c : DrawOption.values()) System.out.println(c);
public static DrawOption valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||