Modifier and Type | Field and Description |
---|---|
static KeyType |
EDGE_DESCRIPTION
The type for the edge description.
|
static KeyType |
EDGE_GRAPHICS
The type for the edge graphics.
|
static KeyType |
EDGE_URL
The type for the edge URL.
|
static KeyType |
GRAPH_DESCRIPTION
The type for the graph description.
|
static KeyType |
NODE_DESCRIPTION
The type for the node description.
|
static KeyType |
NODE_GRAPHICS
The type for the node graphics.
|
static KeyType |
NODE_URL
The type for the node url.
|
static KeyType |
PORT_CONSTRAINTS
The type for the edge port constraint.
|
static KeyType |
PORT_GEOMETRY |
static KeyType |
PORT_GRAPHICS |
static KeyType |
RESOURCES
The type for the resources description.
|
Constructor and Description |
---|
KeyType(java.lang.String forElt,
java.lang.String type) |
KeyType(java.lang.String forElt,
java.lang.String type,
boolean isAttr) |
KeyType(java.lang.String forElt,
java.lang.String name,
java.lang.String type,
boolean isAttr) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(KeyType o) |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getForElt()
Return the "for" attribute.
|
java.lang.String |
getName()
Return the key associated name if it exists.
|
java.lang.String |
getType()
Return the key type.
|
int |
hashCode() |
boolean |
hasName()
Return true if the key has an associated name.
|
boolean |
isAttr()
Return true if the key is an "attr.type" key, fals eif it is an "yfiles.typ" key.
|
public static final KeyType GRAPH_DESCRIPTION
public static final KeyType PORT_GRAPHICS
public static final KeyType PORT_GEOMETRY
public static final KeyType NODE_GRAPHICS
public static final KeyType NODE_URL
public static final KeyType NODE_DESCRIPTION
public static final KeyType EDGE_GRAPHICS
public static final KeyType EDGE_URL
public static final KeyType PORT_CONSTRAINTS
public static final KeyType EDGE_DESCRIPTION
public static final KeyType RESOURCES
public KeyType(java.lang.String forElt, java.lang.String type)
public KeyType(java.lang.String forElt, java.lang.String name, java.lang.String type, boolean isAttr)
public KeyType(java.lang.String forElt, java.lang.String type, boolean isAttr)
public boolean isAttr()
public java.lang.String getForElt()
public java.lang.String getName()
public boolean hasName()
public java.lang.String getType()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2021, 2022 Herve Girod. All Rights Reserved. Documentation and source under the BSD 3-Clause licence