|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.grogra.graph.Attribute<java.lang.Void> de.grogra.graph.VoidAttribute
public class VoidAttribute
Field Summary |
---|
Fields inherited from class de.grogra.graph.Attribute |
---|
ATTRIBUTE_0, attrType, quantity |
Fields inherited from interface de.grogra.util.Described |
---|
ACCELERATOR_KEY, ICON, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, TITLE |
Constructor Summary | |
---|---|
VoidAttribute()
|
Method Summary | |
---|---|
java.lang.Void |
get(java.lang.Object o,
boolean asNode,
GraphState gs)
Returns the value of this attribute for the given object in the given graph state. |
java.lang.Void |
set(java.lang.Object o,
boolean asNode,
java.lang.Object value,
GraphState gs)
Sets the value of this attribute for the given object
to the given value |
Methods inherited from class de.grogra.graph.Attribute |
---|
compareTo, find, forName, getAttributeState, getDescription, getId, getKey, getQuantity, getSimpleName, getType, hashCode, initializeI18N, initializeName, isContained, isDerived, isWritable, setAttributeState, toArray, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public VoidAttribute()
Method Detail |
---|
public final java.lang.Void get(java.lang.Object o, boolean asNode, GraphState gs)
Attribute
get
in class Attribute<java.lang.Void>
o
- the objectasNode
- true
if object
is a node,
false
if object
is an edgegs
- the graph state context
public final java.lang.Void set(java.lang.Object o, boolean asNode, java.lang.Object value, GraphState gs)
Attribute
object
to the given value
set
in class Attribute<java.lang.Void>
o
- the objectasNode
- true
if object
is a node,
false
if object
is an edgevalue
- the new value of the attribute for the objectgs
- the graph state context
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |