org.jgraph.graph

Interface GraphCell

Known Subinterfaces:
Edge, Port
Known Implementing Classes:
DefaultEdge, DefaultGraphCell, DefaultPort

public interface GraphCell

Defines the requirements for objects that appear as GraphCells. This is the base interface for all GraphCells.

Method Summary

Map
changeAttributes(Map change)
Deprecated. Use getAttributes().applyMap
AttributeMap
getAttributes()
Returns the attributes of the cell.
void
setAttributes(AttributeMap map)
Sets the attributes

Method Details

changeAttributes

public Map changeAttributes(Map change)

Deprecated. Use getAttributes().applyMap

Changes the attributes of the cell.

getAttributes

public AttributeMap getAttributes()
Returns the attributes of the cell.

setAttributes

public void setAttributes(AttributeMap map)
Sets the attributes

Copyright (C) 2001-2006 Gaudenz Alder. All rights reserved.