|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ericsson.tic.vi.NodeType
public class NodeType
Defines a graph node of a specific type.
| Field Summary | |
|---|---|
float[] |
color
The default color of this node type. |
int |
id
A unique identifier for this node type. |
int |
level
Which level in the hierarcy this type belongs to. |
String |
name
A name for this type. |
| Constructor Summary | |
|---|---|
NodeType(int id,
String name,
int level)
Creates a Node type. |
|
NodeType(int id,
String name,
int level,
float[] defaultColor)
Creates a Node type. |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public int id
public String name
public int level
public float[] color
| Constructor Detail |
|---|
public NodeType(int id,
String name,
int level,
float[] defaultColor)
id - The id of this type.name - The name of this type.level - Which level in the hierarcy this type belongs to.defaultColor - The default color for this type of nodes.
public NodeType(int id,
String name,
int level)
id - The id of this type.name - The name of this type.level - Which level in the hierarcy this type belongs to.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||