|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ToolBar.ArrowDistance>
com.sun.electric.tool.user.ui.ToolBar.ArrowDistance
public static enum ToolBar.ArrowDistance
ArrowDisatance is a typesafe enum class that describes the distance that arrow keys move (full, half, or quarter).
Enum Constant Summary | |
---|---|
FULL
Describes full grid unit motion. |
|
HALF
Describes half grid unit motion. |
|
QUARTER
Describes quarter grid unit motion. |
Method Summary | |
---|---|
boolean |
isSelected()
|
void |
setAlignmentToGrid()
|
static ToolBar.ArrowDistance |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ToolBar.ArrowDistance[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, 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 ToolBar.ArrowDistance FULL
public static final ToolBar.ArrowDistance HALF
public static final ToolBar.ArrowDistance QUARTER
Method Detail |
---|
public static ToolBar.ArrowDistance[] values()
for (ToolBar.ArrowDistance c : ToolBar.ArrowDistance.values()) System.out.println(c);
public static ToolBar.ArrowDistance 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 nullpublic boolean isSelected()
public void setAlignmentToGrid()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |