|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object y.io.graphml.KeyScope
public final class KeyScope
Enumeration for the possible scopes of a graphml attribute.
Field Summary | |
---|---|
static KeyScope |
ALL
Scope type all . |
static KeyScope |
EDGE
Scope type edge . |
static KeyScope |
GRAPH
Scope type graph . |
static KeyScope |
GRAPHML
Scope type graphml . |
static KeyScope |
NODE
Scope type node . |
static KeyScope |
PORT
Scope type port . |
Method Summary | |
---|---|
int |
compareTo(java.lang.Object o)
|
static java.util.Collection |
getValues()
Returns all declared scope type constants. |
java.lang.String |
name()
Returns the name of this scope type constant, exactly as specified in the constant declaration. |
java.lang.String |
toString()
Returns the name of this scope type constant. |
static KeyScope |
valueOf(java.lang.String value)
Returns the enum constant for the enum type with the specified name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final KeyScope ALL
all
.
public static final KeyScope NODE
node
.
public static final KeyScope EDGE
edge
.
public static final KeyScope GRAPH
graph
.
public static final KeyScope PORT
port
.
public static final KeyScope GRAPHML
graphml
.
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
name()
public static java.util.Collection getValues()
ALL
,
EDGE
,
GRAPH
,
GRAPHML
,
NODE
,
PORT
}.
public java.lang.String name()
valueOf(String)
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
public static KeyScope valueOf(java.lang.String value)
value
- the name of the enum constant to return.
Should be one of
ALL
,
EDGE
,
GRAPH
,
GRAPHML
,
NODE
, and
PORT
.
java.lang.NullPointerException
- if value
is null
.
java.lang.IllegalArgumentException
- if value
does not the name
of a declared scope type constant.name()
|
© Copyright 2000-2022, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |