suvi.api.alg.attr
Interface GraphLayoutAttrBuilder

All Known Implementing Classes:
AbstractGraphLayoutAttrBuilder

public interface GraphLayoutAttrBuilder

Builder for graph layout attributes.


Field Summary
static GraphLayoutAttrBuilder NULL
          A Null Object [PLOP3, Fowler1999] implementation of the interface.
 
Method Summary
 java.lang.Object[] globalKeys()
          The global attribute keys recognized by this builder.
 java.lang.Object[] keys()
          The attribute keys recognized by this builder.
 GraphLayoutAttr newAttr()
          A new instance of the attribute class.
 void setAttr(java.lang.Object key, java.lang.Object nodeOrEdge, java.lang.Object value)
          Sets the value of the attribute of the given graph member (node or edge).
 void setGlobalAttr(java.lang.Object globalKey, java.lang.Object value)
          Sets the value of the given global attribute.
 

Field Detail

NULL

public static final GraphLayoutAttrBuilder NULL

A Null Object [PLOP3, Fowler1999] implementation of the interface.

Method Detail

globalKeys

public java.lang.Object[] globalKeys()

The global attribute keys recognized by this builder.


keys

public java.lang.Object[] keys()

The attribute keys recognized by this builder.


setGlobalAttr

public void setGlobalAttr(java.lang.Object globalKey,
                          java.lang.Object value)

Sets the value of the given global attribute.


setAttr

public void setAttr(java.lang.Object key,
                    java.lang.Object nodeOrEdge,
                    java.lang.Object value)

Sets the value of the attribute of the given graph member (node or edge).


newAttr

public GraphLayoutAttr newAttr()

A new instance of the attribute class.