Higraph, v1.0, January 28, 2003 (02:22 PM)
A B C D E F G H I J L M N O P R S T U V W X Y Z

A

action - Variable in class uk.ac.ed.inf.higraph.HigraphEditor.EventRedirector
 
actionPerformed(ActionEvent) - Method in class uk.ac.ed.inf.higraph.HigraphEditor.EventRedirector
Redirects the ActionEvent.
actionPerformed(ActionEvent) - Method in class uk.ac.ed.inf.higraph.HigraphEditor.AbstractLongAction
Starts a separate SwingWorker thread.
actionPerformed(ActionEvent) - Method in class uk.ac.ed.inf.higraph.HigraphEditor.RemoveAction
If there is exactly one selected cell then it passes it to higraphGeometry for removal.
actionPerformed(ActionEvent) - Method in class uk.ac.ed.inf.higraph.HigraphEditor.StrongRemoveAction
If there is exactly one selected cell then it passes it to higraphGeometry for strong removal.
add(Blob) - Method in class uk.ac.ed.inf.higraph.Blobs
Adds blob to this using its id as key.
addBlobs(Blobs, Blobs) - Static method in class uk.ac.ed.inf.higraph.Blobs
Adds newBlobs to blobs.
admits(AttrCell) - Method in class uk.ac.ed.inf.higraph.EmbeddableContainmentTree
Returns true if attrCell can be inserted in the tree.
atLeastOneContains(Enumeration, AttrCell) - Static method in class uk.ac.ed.inf.higraph.AttrCell
Returns true if at least one AttrCell in attrCells contains attrCell.
atLeastOneContains(Iterator, AttrCell) - Static method in class uk.ac.ed.inf.higraph.AttrCell
Returns true if at least one AttrCell in attrCells contains attrCell.
attachPort(DefaultGraphCell) - Static method in class uk.ac.ed.inf.higraph.AttrCell
Attaches a new DefaultPort to cell.
AttrCell - class uk.ac.ed.inf.higraph.AttrCell.
Wrapper for DefaultGraphCell having default attributes as properties which can be set either directly or via a Map of attributes; crucially, the class uses the bounds property to determine blob containement (used in the insertion of new AttrCells).
AttrCell() - Constructor for class uk.ac.ed.inf.higraph.AttrCell
Creates a new AttrCell instance with a new DefaultGraphCell with a DefaultPort attached and default attributes.
AttrCell(AttrCell, Rectangle) - Constructor for class uk.ac.ed.inf.higraph.AttrCell
Creates a new AttrCell instance using the DefaultGraphCell and all attributes in attrCell, except for the bounds which are set to the given Rectangle bounds.
AttrCell(DefaultGraphCell) - Constructor for class uk.ac.ed.inf.higraph.AttrCell
Creates a new AttrCell instance and sets its cell.
AttrCell(DefaultGraphCell, Map) - Constructor for class uk.ac.ed.inf.higraph.AttrCell
Creates a new AttrCell using the attributes in attributesMap and setting its DefaultGraphCell to cell.
AttrCell(DefaultGraphCell, Rectangle) - Constructor for class uk.ac.ed.inf.higraph.AttrCell
Creates a new AttrCell instance and sets its cell and bounds.
AttrCell(Point) - Constructor for class uk.ac.ed.inf.higraph.AttrCell
Creates a new AttrCell instance setting its cell to a new DefaultGraphCell with a Port attached and setting the bounds property to the Rectangle located at location and with HigraphConstants.DEFAULT_VERTEX_SIZE.
AttrCell(Rectangle) - Constructor for class uk.ac.ed.inf.higraph.AttrCell
Creates a new AttrCell instance setting its cell to a new DefaultGraphCell with a Port attached and setting the bounds property.
AttrCell(String, Rectangle) - Constructor for class uk.ac.ed.inf.higraph.AttrCell
Creates a new AttrCell instance setting its cell to a new DefaultGraphCell with a Port attached and labelled with label; it also sets the bounds property.
AttrCellLocationComparator - class uk.ac.ed.inf.higraph.AttrCellLocationComparator.
Compares AttrCells according to their location.
AttrCellLocationComparator() - Constructor for class uk.ac.ed.inf.higraph.AttrCellLocationComparator
 
AUTHORS - Static variable in interface uk.ac.ed.inf.higraph.HigraphConstants
 
AUTHORS_EMAIL - Static variable in interface uk.ac.ed.inf.higraph.HigraphConstants
 

B

BGROUND - Static variable in interface uk.ac.ed.inf.higraph.HigraphConstants
 
Blob - class uk.ac.ed.inf.higraph.Blob.
Extends Vertex by adding a Blobs reference representing the contained sub-blobs.
BLOB_TAG - Static variable in interface uk.ac.ed.inf.higraph.HigraphConstants
 
Blob(AttrCell) - Constructor for class uk.ac.ed.inf.higraph.Blob
Creates a new Blob instance by calling the corresponding superclass constructor.
Blob(int) - Constructor for class uk.ac.ed.inf.higraph.Blob
Creates a new Blob instance calling the corresponding superclass constructor.
Blob(Object) - Constructor for class uk.ac.ed.inf.higraph.Blob
Creates a new Blob instance calling the corresponding superclass constructor.
Blob(String, String, Rectangle) - Constructor for class uk.ac.ed.inf.higraph.Blob
Creates a new Blob instance by calling the corresponding superclass constructor.
BlobRenderer - class uk.ac.ed.inf.higraph.BlobRenderer.
Extends VertexRenderer by overriding paint(Graphics) to draw rounded rectangles instead of ordinary rectangles if BlobRenderer.BlobRenderer(boolean) was invoked with argument true.
BlobRenderer() - Constructor for class uk.ac.ed.inf.higraph.BlobRenderer
Simply invokes this(true).
BlobRenderer(boolean) - Constructor for class uk.ac.ed.inf.higraph.BlobRenderer
Invokes the superclass constructor and then sets the private isRoundRect flag.
Blobs - class uk.ac.ed.inf.higraph.Blobs.
Map of Blobs with String ids as keys.
BLOBS_TAG - Static variable in interface uk.ac.ed.inf.higraph.HigraphConstants
 
Blobs() - Constructor for class uk.ac.ed.inf.higraph.Blobs
Creates a new Blobs instance invoking the corresponding superclass constructor.
Blobs(int) - Constructor for class uk.ac.ed.inf.higraph.Blobs
Creates a new Blobs instance.
Blobs(int, float) - Constructor for class uk.ac.ed.inf.higraph.Blobs
Creates a new Blobs instance.
Blobs(Map) - Constructor for class uk.ac.ed.inf.higraph.Blobs
Creates a new Blobs instance.
BlobView - class uk.ac.ed.inf.higraph.BlobView.
Extends VertexView by overriding getRenderer() to return a BlobRenderer instead of a VertexRenderer.
BlobView(Object, JGraph, CellMapper) - Constructor for class uk.ac.ed.inf.higraph.BlobView
Creates a new BlobView instance by invoking the corresponding superclass constructor.
BlobXml - class uk.ac.ed.inf.higraph.BlobXml.
XML wrapper for Blob - a bridge between JDOM Elements and Blobs.
BlobXml(Blob) - Constructor for class uk.ac.ed.inf.higraph.BlobXml
Creates a new BlobXml instance setting blob and using blob to populate element.
BlobXml(Element) - Constructor for class uk.ac.ed.inf.higraph.BlobXml
Creates a new BlobXml instance setting element to e and using e to populate blob.
BOTH_SIDES - Static variable in class uk.ac.ed.inf.higraph.EmbeddableContainmentTree
 
boundariesIntersect(AttrCell, AttrCell) - Static method in class uk.ac.ed.inf.higraph.AttrCell
Returns true if the boundaries of of the two arguments intersect.
boundariesIntersect(Iterator, AttrCell) - Static method in class uk.ac.ed.inf.higraph.AttrCell
Returns true if the boundary of attrCell intersects the boundary of an AttrCell in the Iterator attrCells.
Browser - class uk.ac.ed.inf.higraph.Browser.
Simple web browser.
BROWSER_LOCATION - Static variable in interface uk.ac.ed.inf.higraph.HigraphConstants
 
Browser(String, String) - Constructor for class uk.ac.ed.inf.higraph.Browser
Invokes the constructor Browser.Browser(String, String, Point) with the origin as location.
Browser(String, String, Point) - Constructor for class uk.ac.ed.inf.higraph.Browser
Creates a new Browser instance at location and pointing at url if that is a valid URL.
BUGS_HTML - Static variable in interface uk.ac.ed.inf.higraph.HigraphConstants
 

C

castToAttrCells(Object[]) - Static method in class uk.ac.ed.inf.higraph.AttrCell
Casts array to an array of AttrCells.
CellNotInModelException - exception uk.ac.ed.inf.higraph.CellNotInModelException.
 
CellNotInModelException(String) - Constructor for class uk.ac.ed.inf.higraph.CellNotInModelException
 
cells() - Method in class uk.ac.ed.inf.higraph.EmbeddableContainmentTree
Returns the Set of AttrCells in this.
cells(EmbeddableContainmentTree[]) - Static method in class uk.ac.ed.inf.higraph.EmbeddableContainmentTree
Returns the Set of AttrCells in forest.
cellsExcludingRoot() - Method in class uk.ac.ed.inf.higraph.EmbeddableContainmentTree
Returns the Set of AttrCells in the Nodes of this, excluding the one in the root node.
cellsInBreadthFirst() - Method in class uk.ac.ed.inf.higraph.EmbeddableContainmentTree
Returns the array of AttrCells ordered by breadth first traversal of the tree.
cellsInBreadthFirst() - Method in class uk.ac.ed.inf.higraph.EmbeddableContainmentTree.Node
Returns the array of AttrCells build in breadth-first.
childrenBounds() - Method in class uk.ac.ed.inf.higraph.EmbeddableContainmentTree.Node
Returns the Set of bounds of the children cells contained in this.
childrenCells() - Method in class uk.ac.ed.inf.higraph.EmbeddableContainmentTree.Node
Returns an Iterator over the AttrCells in the children of this node.
childrenContainedIn(AttrCell) - Method in class uk.ac.ed.inf.higraph.EmbeddableContainmentTree.Node
Returns the Set of children AttrCells which are contained in cell.
childrenNodesContainedIn(AttrCell) - Method in class uk.ac.ed.inf.higraph.EmbeddableContainmentTree.Node
Returns the Set of children nodes whose cells are contained in cell.
clearModel() - Method in class uk.ac.ed.inf.higraph.HigraphGeometry
Erases the information in the model.
clone() - Method in class uk.ac.ed.inf.higraph.EmbeddableContainmentTree
Returns a new EmbeddableContainmentTree with as root Node a clone of the current root Node.
clone() - Method in class uk.ac.ed.inf.higraph.EmbeddableContainmentTree.Node
Recursively clones the TreeNode.
collectiveBounds(Set) - Static method in class uk.ac.ed.inf.higraph.AttrCell
Returns the smallest rectangle containing the AttrCells in cells.
collectiveBounds(Set) - Static method in class uk.ac.ed.inf.higraph.EmbeddableContainmentTree
Returns the smallest rectangle containing the EmbeddableContainmentTrees in trees.
compare(Object, Object) - Method in class uk.ac.ed.inf.higraph.AttrCellLocationComparator
Compares its two arguments according to their location.
connect(AttrCell, AttrCell) - Method in class uk.ac.ed.inf.higraph.HigraphGeometry
Inserts a new Edge between source and target.
connect(DefaultGraphCell, DefaultGraphCell) - Method in class uk.ac.ed.inf.higraph.HigraphGeometry
Inserts a new Edge between source and target.
connect(Edge, AttrCell, AttrCell) - Method in class uk.ac.ed.inf.higraph.HigraphGeometry
Inserts edge between source and target.
connect(Edge, DefaultGraphCell, DefaultGraphCell) - Method in class uk.ac.ed.inf.higraph.HigraphGeometry
Inserts edge between source and target.
connect(Port, Port) - Method in class uk.ac.ed.inf.higraph.Connector
Connects source and target with an Edge.
Connector - class uk.ac.ed.inf.higraph.Connector.
Responds to mouse activity on a Port of a JGraph by allowing to build an edge to the Port where the mouse is dragged.
Connector(JGraph) - Constructor for class uk.ac.ed.inf.higraph.Connector
Creates a new Connector instance storing the graph reference.
containedChildren() - Method in class uk.ac.ed.inf.higraph.EmbeddableContainmentTree.Node
Returns the Set of children cells contained in this.
containedChildrenNodes() - Method in class uk.ac.ed.inf.higraph.EmbeddableContainmentTree.Node
Returns the Set of children nodes contained in this.
contains(AttrCell) - Method in class uk.ac.ed.inf.higraph.AttrCell
Returns true if the bounding Rectangle of this contains the bounding Rectangle of attrCell.
contains(AttrCell) - Method in class uk.ac.ed.inf.higraph.EmbeddableContainmentTree
Returns true if attrCell is contained in this.
contains(Rectangle) - Method in class uk.ac.ed.inf.higraph.AttrCell
Returns true if the bounding Rectangle of this contains rectangle.
containsEquivalent(AttrCell) - Method in class uk.ac.ed.inf.higraph.EmbeddableContainmentTree
Returns true if this contains an AttrCell with same bounds as attrCell.
containsOnBoundary(Point) - Method in class uk.ac.ed.inf.higraph.AttrCell
Return true if point lies on the boundary of this.
createCellWithPort() - Static method in class uk.ac.ed.inf.higraph.AttrCell
Returns a new DefaultGraphCell with a Port attached.
createCellWithPort(String) - Static method in class uk.ac.ed.inf.higraph.AttrCell
Returns a new DefaultGraphCell with a Port attached and labelled with label.
createVertexView(Object, CellMapper) - Method in class uk.ac.ed.inf.higraph.JHigraph
Returns a BlobView instead of a simple VertexView value.
current - Variable in class uk.ac.ed.inf.higraph.Connector
 

D

DARKER_BGROUND - Static variable in interface uk.ac.ed.inf.higraph.HigraphConstants
 
DB_DRIVER - Static variable in interface uk.ac.ed.inf.higraph.HigraphConstants
 
DEFAULT_BACKGROUND - Static variable in interface uk.ac.ed.inf.higraph.HigraphConstants
 
DEFAULT_BLOB_SPACING - Static variable in class uk.ac.ed.inf.higraph.HigraphGeometry
The default spacing between blobs: value = 5
DEFAULT_BORDER_COLOR - Static variable in interface uk.ac.ed.inf.higraph.HigraphConstants
 
DEFAULT_BOUNDS - Static variable in interface uk.ac.ed.inf.higraph.HigraphConstants
 
DEFAULT_CANVAS_BOUNDS - Static variable in interface uk.ac.ed.inf.higraph.HigraphConstants
 
DEFAULT_NEW_LOCATION - Static variable in interface uk.ac.ed.inf.higraph.HigraphConstants
 
DEFAULT_OPAQUE - Static variable in interface uk.ac.ed.inf.higraph.HigraphConstants
Value: false
DEFAULT_VERTEX_SIZE - Static variable in interface uk.ac.ed.inf.higraph.HigraphConstants
 
detachContentsOfRoot() - Method in class uk.ac.ed.inf.higraph.EmbeddableContainmentTree
Detaches and returns the contents of the root as a set of EmbeddableContainmentTrees.
detachContentsOfRootLocatedToSideOf(Point, int) - Method in class uk.ac.ed.inf.higraph.EmbeddableContainmentTree
Detaches and returns a subset of the immediate subtrees of the root.
detachForestRootedAt(AttrCell) - Method in class uk.ac.ed.inf.higraph.EmbeddableContainmentTree
Detaches and returns the subtrees children of attrCell from attrCell if it is contained in this.
detachSubtreeRootedAt(AttrCell) - Method in class uk.ac.ed.inf.higraph.EmbeddableContainmentTree
Detaches the subtree rooted at attrCell from its parent if attrCell is contained in this.
detachSubtreeRootedAtEquivalent(AttrCell) - Method in class uk.ac.ed.inf.higraph.EmbeddableContainmentTree
Similar to EmbeddableContainmentTree.detachSubtreeRootedAt(AttrCell) but it suffices that an AttrCell equivalent to attrCell is contained in this.
disjoint(Set) - Static method in class uk.ac.ed.inf.higraph.AttrCell
Returns true if the the bounding Rectangle of this contains rectangle.
displayTree() - Method in class uk.ac.ed.inf.higraph.HigraphGeometry
Displays the AttrCell's in the vertex containment tree using a JTree.

E

EDGE_TAG - Static variable in interface uk.ac.ed.inf.higraph.HigraphConstants
 
Edges - class uk.ac.ed.inf.higraph.Edges.
A Map to store the edges of a JGraph with proper cells, rather than ports, as source and targets.
EDGES_TAG - Static variable in interface uk.ac.ed.inf.higraph.HigraphConstants
 
Edges.Element - class uk.ac.ed.inf.higraph.Edges.Element.
Wrapper for Edge which returns proper cells rather than ports as source and target.
Edges() - Constructor for class uk.ac.ed.inf.higraph.Edges
Simply invokes the superclass empty constructor.
Edges(GraphModel) - Constructor for class uk.ac.ed.inf.higraph.Edges
Creates a new Edges instance with the set of edges of model as elements.
edgesOf(GraphModel) - Static method in class uk.ac.ed.inf.higraph.Edges
Returns the Set of Edges in the model.
EdgeXml - class uk.ac.ed.inf.higraph.EdgeXml.
XML wrapper for GraphEdge - a bridge between JDOM Elements and GraphEdges.
EdgeXml(Element, Blobs) - Constructor for class uk.ac.ed.inf.higraph.EdgeXml
Creates a new EdgeXml instance setting element to e and edge to the GraphEdge with source and target Blobs derived from blobs using the appropriate attributes in e.
EdgeXml(GraphEdge) - Constructor for class uk.ac.ed.inf.higraph.EdgeXml
Creates a new EdgeXml instance setting edge and then setting element using the information in edge.
EDITOR_MARGIN - Static variable in interface uk.ac.ed.inf.higraph.HigraphConstants
 
EmbeddableContainmentTree - class uk.ac.ed.inf.higraph.EmbeddableContainmentTree.
Encapsulates a tree of AttrCells maintaining the following properties.
EmbeddableContainmentTree.CellIsRootException - exception uk.ac.ed.inf.higraph.EmbeddableContainmentTree.CellIsRootException.
 
EmbeddableContainmentTree.CellIsRootException(String) - Constructor for class uk.ac.ed.inf.higraph.EmbeddableContainmentTree.CellIsRootException
 
EmbeddableContainmentTree.CellNotShiftInsertableException - exception uk.ac.ed.inf.higraph.EmbeddableContainmentTree.CellNotShiftInsertableException.
 
EmbeddableContainmentTree.CellNotShiftInsertableException() - Constructor for class uk.ac.ed.inf.higraph.EmbeddableContainmentTree.CellNotShiftInsertableException
 
EmbeddableContainmentTree.NoAttrCellFoundException - exception uk.ac.ed.inf.higraph.EmbeddableContainmentTree.NoAttrCellFoundException.
 
EmbeddableContainmentTree.NoAttrCellFoundException(String) - Constructor for class uk.ac.ed.inf.higraph.EmbeddableContainmentTree.NoAttrCellFoundException
 
EmbeddableContainmentTree.NoChildrenException - exception uk.ac.ed.inf.higraph.EmbeddableContainmentTree.NoChildrenException.
 
EmbeddableContainmentTree.NoChildrenException(String) - Constructor for class uk.ac.ed.inf.higraph.EmbeddableContainmentTree.NoChildrenException
 
EmbeddableContainmentTree.NoContainerFoundError - error uk.ac.ed.inf.higraph.EmbeddableContainmentTree.NoContainerFoundError.
 
EmbeddableContainmentTree.NoContainerFoundError(String) - Constructor for class uk.ac.ed.inf.higraph.EmbeddableContainmentTree.NoContainerFoundError
 
EmbeddableContainmentTree.NoContainerFoundError(Throwable) - Constructor for class uk.ac.ed.inf.higraph.EmbeddableContainmentTree.NoContainerFoundError
 
EmbeddableContainmentTree.NoContainerFoundException - exception uk.ac.ed.inf.higraph.EmbeddableContainmentTree.NoContainerFoundException.
 
EmbeddableContainmentTree.NoContainerFoundException(String) - Constructor for class uk.ac.ed.inf.higraph.EmbeddableContainmentTree.NoContainerFoundException
 
EmbeddableContainmentTree.Node - class uk.ac.ed.inf.higraph.EmbeddableContainmentTree.Node.
DefaultMutableTreeNode wrapper for AttrCell.
EmbeddableContainmentTree.Node(AttrCell) - Constructor for class uk.ac.ed.inf.higraph.EmbeddableContainmentTree.Node
Creates a new Node instance calling its corresponding superclass constructor, hence setting userObject to attrCell.
EmbeddableContainmentTree() - Constructor for class uk.ac.ed.inf.higraph.EmbeddableContainmentTree
Constructs an empty ContainmentTree.
EmbeddableContainmentTree(AttrCell) - Constructor for class uk.ac.ed.inf.higraph.EmbeddableContainmentTree
Constructs a EmbeddableContainmentTree using candidateRoot as a candidate root cell for the tree.
equal(DefaultMutableTreeNode, DefaultMutableTreeNode) - Static method in class uk.ac.ed.inf.higraph.EmbeddableContainmentTree.Node
Recursively checks whether the trees rooted at the two nodes are equal.
equals(Object) - Method in class uk.ac.ed.inf.higraph.Blobs
Returns true if o is a Blobs of the same size as this and with the same labels.
equals(Object) - Method in class uk.ac.ed.inf.higraph.EmbeddableContainmentTree
Returns true if tree's root is equal to the current root according to EmbeddableContainmentTree.Node.equal(DefaultMutableTreeNode, DefaultMutableTreeNode).
error(SAXParseException) - Method in class uk.ac.ed.inf.higraph.HigraphXml.SAXErrorHandler
The SAXBuilder did not react to setting its DTDHandler, but this methods obviates by setting the dtdNotValid flag to true if an exception is raised during parsing whose message ends with "must be declared.".
expandCellAt(EmbeddableContainmentTree.Node, int, int) - Method in class uk.ac.ed.inf.higraph.EmbeddableContainmentTree
Expands the AttrCell associated with node and, subsequently, all the AttrCells accossiated with the ancestors of node, by widthUnits along their width and by heightUnits units along their height.
expansiveInsert(AttrCell, int) - Method in class uk.ac.ed.inf.higraph.EmbeddableContainmentTree
Inserts newAttrCell into this.
extractFrom(Blobs) - Method in class uk.ac.ed.inf.higraph.HigraphGeometry
Sets the vertex containment tree to the content of blobs (and the canvas as root).
extractFrom(DefaultGraphModel) - Method in class uk.ac.ed.inf.higraph.HigraphGeometry
Extracts the containment tree and the edges from model if it is valid and sets them to be the tree and the edges of this respectively.

F

FILE_SEPARATOR - Static variable in interface uk.ac.ed.inf.higraph.HigraphConstants
 
firstPort - Variable in class uk.ac.ed.inf.higraph.Connector
 

G

GEOMETRY_TAG - Static variable in interface uk.ac.ed.inf.higraph.HigraphConstants
 
get(Edge) - Method in class uk.ac.ed.inf.higraph.Edges
Gets the Edges.Element with key edge.
getAll() - Method in class uk.ac.ed.inf.higraph.Blobs
Returns all the blobs and sub-blobs in this.
getAllBlobs() - Method in class uk.ac.ed.inf.higraph.Blob
Returns all blobs and sub-blobs in this.
getAllBlobs() - Method in class uk.ac.ed.inf.higraph.Higraph
Traverses all blobs and sub-blobs in the higraph and returns them as a Blobs instance.
getAllBounds() - Method in class uk.ac.ed.inf.higraph.Blob
Returns all bounds in the blobs and sub-blobs of this.
getAllBounds() - Method in class uk.ac.ed.inf.higraph.Blobs
Returns all bounds in the blobs and sub-blobs of this.
getAllIds() - Method in class uk.ac.ed.inf.higraph.Blob
Returns all ids in the blobs and sub-blobs of this.
getAllIds() - Method in class uk.ac.ed.inf.higraph.Blobs
Returns all ids in the blobs and sub-blobs of this.
getAllLabels() - Method in class uk.ac.ed.inf.higraph.Blob
Returns all labels in the blobs and sub-blobs of this.
getAllLabels() - Method in class uk.ac.ed.inf.higraph.Blobs
Returns all labels in the blobs and sub-blobs of this.
getAllSources() - Method in class uk.ac.ed.inf.higraph.Higraph
Returns all blobs which are sources of edges in the higraph.
getAllTargets() - Method in class uk.ac.ed.inf.higraph.Higraph
Returns all blobs which are targets of edges in the higraph.
getAttrCell() - Method in class uk.ac.ed.inf.higraph.EmbeddableContainmentTree.Node
Returns userObject as an AttrCell value.
getAttrCell(GraphCell) - Method in class uk.ac.ed.inf.higraph.EmbeddableContainmentTree
Returns the AttrCell containing cell if it exists.
getAttrCell(int) - Method in class uk.ac.ed.inf.higraph.EmbeddableContainmentTree
Returns the AttrCell whose GraphCell has hashCode if it exists.
getBackground() - Method in class uk.ac.ed.inf.higraph.AttrCell
Gets the value of background.
getBlob() - Method in class uk.ac.ed.inf.higraph.BlobXml
Gets the value of blob.
getBlobs() - Method in class uk.ac.ed.inf.higraph.Blob
Gets the value of blobs.
getBlobs() - Method in class uk.ac.ed.inf.higraph.Higraph
Gets the value of blobs.
getBorderColor() - Method in class uk.ac.ed.inf.higraph.AttrCell
Gets the value of borderColor.
getBounds() - Method in class uk.ac.ed.inf.higraph.Vertex
Gets the value of bounds.
getBounds() - Method in class uk.ac.ed.inf.higraph.AttrCell
Gets the value of bounds.
getBounds() - Method in class uk.ac.ed.inf.higraph.EmbeddableContainmentTree
Returns null if the tree is empty and the bounds of the root AttrCell otherwise.
getBounds(Element) - Static method in class uk.ac.ed.inf.higraph.BlobXml
Returns the Rectangle corresponding to the bounds stored in e.
getCell() - Method in class uk.ac.ed.inf.higraph.AttrCell
Gets the value of cell.
getCells(Set) - Static method in class uk.ac.ed.inf.higraph.EmbeddableContainmentTree
Returns the Set of AttrCells in the set of nodes.
getContainerCell(AttrCell) - Method in class uk.ac.ed.inf.higraph.EmbeddableContainmentTree
Returns the AttrCell with smallest bounds Rectangle containing the bounds of attrCell.
getContainerCell(Point) - Method in class uk.ac.ed.inf.higraph.EmbeddableContainmentTree
Returns the AttrCell with smallest bounds Rectangle containing point.
getContainerCell(Rectangle) - Method in class uk.ac.ed.inf.higraph.EmbeddableContainmentTree
Returns the AttrCell with smallest bounds Rectangle containing rectangle.
getContainerCells(AttrCell) - Method in class uk.ac.ed.inf.higraph.EmbeddableContainmentTree
Returns the LinkedHashSet of all cells in the tree which contain the given attrCell.
getContainerNode(AttrCell) - Method in class uk.ac.ed.inf.higraph.EmbeddableContainmentTree
Returns the Node with smallest bounds Rectangle containing rectangle.
getContainerNode(Point) - Method in class uk.ac.ed.inf.higraph.EmbeddableContainmentTree
Returns the Node with smallest bounds Rectangle containing point.
getContainerNode(Rectangle) - Method in class uk.ac.ed.inf.higraph.EmbeddableContainmentTree
Returns the EmbeddableContainmentTree.Node with smallest bounds Rectangle containing rectangle.
getDocument() - Method in class uk.ac.ed.inf.higraph.HigraphXml
Gets the value of document.
getEdge() - Method in class uk.ac.ed.inf.higraph.EdgeXml
Gets the value of edge.
getEdge() - Method in class uk.ac.ed.inf.higraph.GraphEdge
Gets the value of edge.
getEdge() - Method in class uk.ac.ed.inf.higraph.Edges.Element
Gets the value of edge.
getEdges() - Method in class uk.ac.ed.inf.higraph.Higraph
Gets the edges value, which is a Set of GraphEdges.
getEdges() - Method in class uk.ac.ed.inf.higraph.HigraphGeometry
Returns an Edges object representing the edges in the model as a map of GraphEdges.
getEdges(GraphCell) - Method in class uk.ac.ed.inf.higraph.HigraphGeometry
Returns the Set of all edges having the GraphCell in cell as either source or target.
getElement() - Method in class uk.ac.ed.inf.higraph.EdgeXml
Gets the value of element.
getElement() - Method in class uk.ac.ed.inf.higraph.BlobXml
Gets the value of element.
getHigraph() - Method in class uk.ac.ed.inf.higraph.HigraphXml
Gets the value of higraph.
getHigraphGeometry() - Method in class uk.ac.ed.inf.higraph.HigraphEditor
Gets the value of higraphGeometry.
getId() - Method in class uk.ac.ed.inf.higraph.Vertex
Gets the value of id.
getInEdges(AttrCell) - Method in class uk.ac.ed.inf.higraph.HigraphGeometry
Returns the Set of all edges having the GraphCell in attrCell as target.
getInEdges(GraphCell) - Method in class uk.ac.ed.inf.higraph.HigraphGeometry
Returns the Set of all edges having cell as target.
getJHigraph() - Method in class uk.ac.ed.inf.higraph.HigraphEditor
Gets the value of jHigraph.
getJHigraphModel() - Method in class uk.ac.ed.inf.higraph.HigraphEditor
Gets the model of jHigraph casting it to a DefaultGraphModel.
getLabel() - Method in class uk.ac.ed.inf.higraph.Vertex
Gets the value of label.
getLastClickedPoint() - Method in class uk.ac.ed.inf.higraph.HigraphEditor
Gets the value of lastClickedPoint.
getLocation() - Method in class uk.ac.ed.inf.higraph.AttrCell
Returns the location of bounds.
getModel() - Method in class uk.ac.ed.inf.higraph.HigraphGeometry
Returns the DefaultGraphModel for the higraph.
getNodeOf(AttrCell) - Method in class uk.ac.ed.inf.higraph.EmbeddableContainmentTree
Returns the smallest EmbeddableContainmentTree.Node in this which contains attrCell.
getOutEdges(AttrCell) - Method in class uk.ac.ed.inf.higraph.HigraphGeometry
Returns the Set of all edges having the GraphCell in attrCell as source.
getOutEdges(GraphCell) - Method in class uk.ac.ed.inf.higraph.HigraphGeometry
Returns the Set of all edges having cell as source.
getOutputter() - Method in class uk.ac.ed.inf.higraph.HigraphXml
Returns a validating XMLOutputter, creating it if it does not already exist.
getOutputter() - Method in class uk.ac.ed.inf.higraph.BlobXml
Returns a validating XMLOutputter, creating it if it does not already exist.
getParent(Set) - Method in class uk.ac.ed.inf.higraph.EmbeddableContainmentTree
Returns a EmbeddableContainmentTree.Node in this which can be parent of all trees.
getParentCell(AttrCell) - Method in class uk.ac.ed.inf.higraph.EmbeddableContainmentTree
Returns the parent of attrCell if it exists.
getRenderer() - Method in class uk.ac.ed.inf.higraph.BlobView
Overrides the method in VertexView by returning a BlobRenderer instead of a VertexRenderer.
getRoot() - Method in class uk.ac.ed.inf.higraph.EmbeddableContainmentTree
Gets the value of root.
getRootCell() - Method in class uk.ac.ed.inf.higraph.EmbeddableContainmentTree
Gets the AttrCell in the root node.
getRoots(Set) - Static method in class uk.ac.ed.inf.higraph.EmbeddableContainmentTree
Returns the Set of root Nodes of trees.
getSiblings() - Method in class uk.ac.ed.inf.higraph.EmbeddableContainmentTree.Node
Returns its siblings as a LinkedHashSet of Nodes.
getSource() - Method in class uk.ac.ed.inf.higraph.GraphEdge
Gets the value of source.
getSource() - Method in class uk.ac.ed.inf.higraph.Edges.Element
Gets the value of source.
getSourcePortAt(Point) - Method in class uk.ac.ed.inf.higraph.Connector
 
getTarget() - Method in class uk.ac.ed.inf.higraph.GraphEdge
Gets the value of target.
getTarget() - Method in class uk.ac.ed.inf.higraph.Edges.Element
Gets the value of target.
getTargetPortAt(Point) - Method in class uk.ac.ed.inf.higraph.Connector
Finds a Cell at point and returns its first Port as a PortView.
getVertexContainmentTree() - Method in class uk.ac.ed.inf.higraph.HigraphGeometry
Gets the value of vertexContainmentTree.
graph - Variable in class uk.ac.ed.inf.higraph.Connector
 
graphChanged(GraphModelEvent) - Method in class uk.ac.ed.inf.higraph.HigraphGeometry
Implements the only method needed for this to become a listener of the JGraph model as follows.
GraphEdge - class uk.ac.ed.inf.higraph.GraphEdge.
Represents a graph edge as a triple (Edge edge, Vertex source, Vertex target) hence encapsulating the low level Edge class.
GraphEdge(Edge, Vertex, Vertex) - Constructor for class uk.ac.ed.inf.higraph.GraphEdge
Creates a new GraphEdge instance setting edge, source and target.
GraphEdge(Vertex, Vertex) - Constructor for class uk.ac.ed.inf.higraph.GraphEdge
Creates a new GraphEdge instance setting source and target.

H

hasChildrenIntersecting(AttrCell, AttrCell) - Method in class uk.ac.ed.inf.higraph.EmbeddableContainmentTree
Returns true if a node in this contains attrCell and a child of that node intersects newAttrCell.
hasVertexContainmentTree() - Method in class uk.ac.ed.inf.higraph.HigraphGeometry
Return true if the vertex containment tree is not null.
HEIGHT_ATTR_TAG - Static variable in interface uk.ac.ed.inf.higraph.HigraphConstants
 
Higraph - class uk.ac.ed.inf.higraph.Higraph.
Represents a higraph in terms of a Blobs object and a Set of GraphEdges.
HIGRAPH_DTD - Static variable in interface uk.ac.ed.inf.higraph.HigraphConstants
 
HIGRAPH_TAG - Static variable in interface uk.ac.ed.inf.higraph.HigraphConstants
 
Higraph() - Constructor for class uk.ac.ed.inf.higraph.Higraph
Creates a new Higraph instance initializing blobs and edges with new instances.
Higraph(Blobs, Set) - Constructor for class uk.ac.ed.inf.higraph.Higraph
Creates a new Higraph instance and sets setting blobs and edges using the corresponding parameters.
Higraph(EmbeddableContainmentTree, Edges) - Constructor for class uk.ac.ed.inf.higraph.Higraph
Creates a new Higraph instance by inferring the blobs from tree and the edges from edges and tree.
Higraph(HigraphGeometry) - Constructor for class uk.ac.ed.inf.higraph.Higraph
Creates a new Higraph instance by calling Higraph.Higraph(EmbeddableContainmentTree, Edges) with the tree and the edges of geometry.
HigraphConstants - interface uk.ac.ed.inf.higraph.HigraphConstants.
 
HIGRAPHED_URL - Static variable in interface uk.ac.ed.inf.higraph.HigraphConstants
 
HigraphEditor - class uk.ac.ed.inf.higraph.HigraphEditor.
GUI for editing higraphs.
HigraphEditor.AbstractLongAction - class uk.ac.ed.inf.higraph.HigraphEditor.AbstractLongAction.
Subclasses AbstractAction by setting the cursor to Cursor.WAIT_CURSOR when the action is performed.
HigraphEditor.AbstractLongAction(String) - Constructor for class uk.ac.ed.inf.higraph.HigraphEditor.AbstractLongAction
 
HigraphEditor.EventRedirector - class uk.ac.ed.inf.higraph.HigraphEditor.EventRedirector.
Changes the source of the ActionEvent to graph.
HigraphEditor.EventRedirector(Action) - Constructor for class uk.ac.ed.inf.higraph.HigraphEditor.EventRedirector
Constructs the Wrapper Action.
HigraphEditor.RemoveAction - class uk.ac.ed.inf.higraph.HigraphEditor.RemoveAction.
Remove action for blobs and edges which no effect on the selected blob if there are edges attached to it.
HigraphEditor.StrongRemoveAction - class uk.ac.ed.inf.higraph.HigraphEditor.StrongRemoveAction.
Strong Remove action - if the selected component is a blob then it also removes all edges attached to the blob.
HigraphEditor.ZoomingAction - class uk.ac.ed.inf.higraph.HigraphEditor.ZoomingAction.
Blob zooming action.
HigraphEditor() - Constructor for class uk.ac.ed.inf.higraph.HigraphEditor
 
HigraphGeometry - class uk.ac.ed.inf.higraph.HigraphGeometry.
Higraph validator: understands the higraph structure implicit in JGraph's model and ensures that the insertion of new vertices does not violate the higraph containment constraints.
HigraphGeometry.CellIsNotVertexException - exception uk.ac.ed.inf.higraph.HigraphGeometry.CellIsNotVertexException.
 
HigraphGeometry.CellIsRootError - error uk.ac.ed.inf.higraph.HigraphGeometry.CellIsRootError.
 
HigraphGeometry.CellIsRootError(Throwable) - Constructor for class uk.ac.ed.inf.higraph.HigraphGeometry.CellIsRootError
 
HigraphGeometry.ModelNotValidException - exception uk.ac.ed.inf.higraph.HigraphGeometry.ModelNotValidException.
 
HigraphGeometry.ModelNotValidException(String) - Constructor for class uk.ac.ed.inf.higraph.HigraphGeometry.ModelNotValidException
 
HigraphGeometry.ModelUpdater - class uk.ac.ed.inf.higraph.HigraphGeometry.ModelUpdater.
Encapsulates the updates of the model.
HigraphGeometry.ModelUpdater() - Constructor for class uk.ac.ed.inf.higraph.HigraphGeometry.ModelUpdater
Creates a new ModelUpdater instance which first updates the old vertices and then inserts the new ones.
HigraphGeometry.NoPortError - error uk.ac.ed.inf.higraph.HigraphGeometry.NoPortError.
 
HigraphGeometry.NoPortError(Throwable) - Constructor for class uk.ac.ed.inf.higraph.HigraphGeometry.NoPortError
 
HigraphGeometry.NoPortException - exception uk.ac.ed.inf.higraph.HigraphGeometry.NoPortException.
 
HigraphGeometry.PointLiesOnBoundaryException - exception uk.ac.ed.inf.higraph.HigraphGeometry.PointLiesOnBoundaryException.
 
HigraphGeometry.PointLiesOnBoundaryException(String) - Constructor for class uk.ac.ed.inf.higraph.HigraphGeometry.PointLiesOnBoundaryException
 
HigraphGeometry.ShiftInserter - class uk.ac.ed.inf.higraph.HigraphGeometry.ShiftInserter.
Encapsulates the various methods needed to perform HigraphGeometry.shiftInsert(Point).
HigraphGeometry() - Constructor for class uk.ac.ed.inf.higraph.HigraphGeometry
Creates a new HigraphGeometry instance setting the the vertexContainmentTree to consists only of a root with the canvas as bounds.
HigraphGeometry(DefaultGraphModel) - Constructor for class uk.ac.ed.inf.higraph.HigraphGeometry
Creates a new HigraphGeometry instance, setting its model to model (hence registering itself as listener for model) and extracting the vertex containment tree and the edges from model.
HigraphGeometry(EmbeddableContainmentTree) - Constructor for class uk.ac.ed.inf.higraph.HigraphGeometry
Creates a new HigraphGeometry instance setting its vertexContainmentTree to tree
HigraphXml - class uk.ac.ed.inf.higraph.HigraphXml.
XML wrapper for Higraph - a bridge between JDOM Elements and Higraphs.
HigraphXml.SAXErrorHandler - class uk.ac.ed.inf.higraph.HigraphXml.SAXErrorHandler.
Extends MySAXErrorHandler by intercepting exceptions signalling that the document does not conform to the DTD and setting the dtdNotValid flag accordingly.
HigraphXml.SAXErrorHandler() - Constructor for class uk.ac.ed.inf.higraph.HigraphXml.SAXErrorHandler
 
HigraphXml() - Constructor for class uk.ac.ed.inf.higraph.HigraphXml
Creates a new HigraphXml instance setting the value of this.higraph to a new Higraph
HigraphXml(File) - Constructor for class uk.ac.ed.inf.higraph.HigraphXml
Creates a new HigraphXml instance from the XML representation stored in file.
HigraphXml(Higraph) - Constructor for class uk.ac.ed.inf.higraph.HigraphXml
Creates a new HigraphXml instance setting the value of this.higraph to higraph.
hyperlinkUpdate(HyperlinkEvent) - Method in class uk.ac.ed.inf.higraph.Browser
Implements HyperlinkListener - invoked when the user clicks on a hyperlink, or move the mouse onto or off of a link

I

ID_ATTR_TAG - Static variable in interface uk.ac.ed.inf.higraph.HigraphConstants
 
immediatelyContains(AttrCell) - Method in class uk.ac.ed.inf.higraph.EmbeddableContainmentTree.Node
Returns true if the AttrCell in this contains attrCell and, moreover, none of its children contains attrCell.
insert(AttrCell) - Method in class uk.ac.ed.inf.higraph.EmbeddableContainmentTree
Tries to insert newAttrCell in the tree.
insert(AttrCell) - Method in class uk.ac.ed.inf.higraph.EmbeddableContainmentTree.Node
Creates a new Node with attrCell as userObject and then appends node as a new child, but first tries to assert that attrCell can be immediately contained in this.
insert(Blobs) - Method in class uk.ac.ed.inf.higraph.EmbeddableContainmentTree
Inserts blobs in this and returns the inserted AttrCells in the form of a Map with entries of the form (id, attrCell), where id is the blob id.
insert(EmbeddableContainmentTree.Node) - Method in class uk.ac.ed.inf.higraph.EmbeddableContainmentTree.Node
Appends node as a new child, but first tries to assert that the AttrCell in node can be immediately contained in this.
insert(Point) - Method in class uk.ac.ed.inf.higraph.HigraphEditor
Attempts to create a new vertex (blob) at point and insert it into higraphGeometry by calling its shiftInsert(AttrCell).
insert(Set) - Method in class uk.ac.ed.inf.higraph.EmbeddableContainmentTree
Attempts to add all the AttrCells in newAttrCells.
insertAsSiblings(Set) - Method in class uk.ac.ed.inf.higraph.EmbeddableContainmentTree
Simultaneously inserts, if possible, trees as siblings of a node in this.
intersects(AttrCell) - Method in class uk.ac.ed.inf.higraph.AttrCell
Returns true if the bounds of this intersect the bounds of other.
isDtdNotValid() - Method in class uk.ac.ed.inf.higraph.HigraphXml
Returns true when the parsed document does not conform to HigraphConstants.HIGRAPH_DTD.
isEdge(GraphCell) - Static method in class uk.ac.ed.inf.higraph.HigraphGeometry
Returns true if cell is an instance of Edge.
isEdgeOrPort(GraphCell) - Static method in class uk.ac.ed.inf.higraph.HigraphGeometry
Returns true if cell is an instance of Edge or Port.
isEmpty() - Method in class uk.ac.ed.inf.higraph.EmbeddableContainmentTree
Returns true if the tree is empty.
isForceMarqueeEvent(MouseEvent) - Method in class uk.ac.ed.inf.higraph.Connector
If finds a Port under the mouse stores it and then returns true, otherwise invokes superclass method.
isLocatedLeftOf(Point) - Method in class uk.ac.ed.inf.higraph.AttrCell
Returns true if the x-coordinate of the location of this is left of or equal to the x-coordinate of point.
isLocatedRightOf(Point) - Method in class uk.ac.ed.inf.higraph.AttrCell
Returns true if the x-coordinate of the location of this is right of or equal to the x-coordinate of point.
isLocatedStrictlyLeftOf(Point) - Method in class uk.ac.ed.inf.higraph.AttrCell
Returns true if the x-coordinate of the location of this is strictly left of the x-coordinate of point.
isOpaque() - Method in class uk.ac.ed.inf.higraph.AttrCell
Gets the value of opaque.
isPort(GraphCell) - Static method in class uk.ac.ed.inf.higraph.HigraphGeometry
Returns true if cell is an instance of Port.
isRootCell(AttrCell) - Method in class uk.ac.ed.inf.higraph.EmbeddableContainmentTree
Returns true if attrCell equals the root cell.
isValid(DefaultGraphModel) - Static method in class uk.ac.ed.inf.higraph.HigraphGeometry
Returns true if the vertices in model form a valid EmbeddableContainmentTree.
isVisible() - Method in class uk.ac.ed.inf.higraph.AttrCell
Gets the value of visible.

J

JAVA_PUB_URL - Static variable in interface uk.ac.ed.inf.higraph.HigraphConstants
 
JAVASRC - Static variable in interface uk.ac.ed.inf.higraph.HigraphConstants
 
JHigraph - class uk.ac.ed.inf.higraph.JHigraph.
Creates BlobViews instead of VertexViews as the JGraph class from which it inherits.
JHigraph(GraphModel) - Constructor for class uk.ac.ed.inf.higraph.JHigraph
Creates a new JHigraph instance by invoking the corresponding superclass constructor and then setting the MarqueeHandler to a new Connector, and setting various other parameters.

L

LABEL_ATTR_TAG - Static variable in interface uk.ac.ed.inf.higraph.HigraphConstants
 
LEFT_SIDE - Static variable in class uk.ac.ed.inf.higraph.EmbeddableContainmentTree
 
load(File) - Method in class uk.ac.ed.inf.higraph.HigraphXml
It displays the higraph stored as XML in file.
longExecute() - Method in class uk.ac.ed.inf.higraph.HigraphEditor.AbstractLongAction
Executes in a separate thread.
longExecute() - Method in class uk.ac.ed.inf.higraph.HigraphEditor.ZoomingAction
If there is exactly one selected cell then it passes it to higraphGeometry for zooming.

M

main(String[]) - Static method in class uk.ac.ed.inf.higraph.HigraphEditor
Launches the editor by invoking HigraphEditor.HigraphEditor().
MANUAL_HTML - Static variable in interface uk.ac.ed.inf.higraph.HigraphConstants
 
MANUAL_MESSAGE - Static variable in interface uk.ac.ed.inf.higraph.HigraphConstants
 
max(int, int) - Static method in class uk.ac.ed.inf.higraph.EmbeddableContainmentTree.Node
Returns x if x<y, y otherwise.
menuBar() - Method in class uk.ac.ed.inf.higraph.HigraphEditor
Returns the JMenuBar for the GUI.
MIN_BLOB_HEIGHT - Static variable in interface uk.ac.ed.inf.higraph.HigraphConstants
Value: 10
MIN_BLOB_WIDTH - Static variable in interface uk.ac.ed.inf.higraph.HigraphConstants
Value: 10
mouseDragged(MouseEvent) - Method in class uk.ac.ed.inf.higraph.Connector
Finds port under mouse and repaint connector
mouseMoved(MouseEvent) - Method in class uk.ac.ed.inf.higraph.Connector
Shows special cursor if over port
mousePressed(MouseEvent) - Method in class uk.ac.ed.inf.higraph.Connector
Stores start location and first port
mouseReleased(MouseEvent) - Method in class uk.ac.ed.inf.higraph.Connector
 

N

nodes() - Method in class uk.ac.ed.inf.higraph.EmbeddableContainmentTree
Returns the Set of Nodes in this.
nodesExcludingRoot() - Method in class uk.ac.ed.inf.higraph.EmbeddableContainmentTree
Returns the Set of Nodes in this excluding the root node.
numberOfVertices() - Method in class uk.ac.ed.inf.higraph.HigraphGeometry
Returns the number of blobs, excluding the root, in the vertex containment tree.

O

orderedCells() - Method in class uk.ac.ed.inf.higraph.EmbeddableContainmentTree
Returns the AttrCells excluding the root ordered according to AttrCellLocationComparator.
orderedCells() - Method in class uk.ac.ed.inf.higraph.EmbeddableContainmentTree.Node
Returns the descendant AttrCells ordered according to AttrCellLocationComparator.
OVERVIEW_HTML - Static variable in interface uk.ac.ed.inf.higraph.HigraphConstants
 

P

PACKAGE_DIR - Static variable in interface uk.ac.ed.inf.higraph.HigraphConstants
 
paint(Graphics) - Method in class uk.ac.ed.inf.higraph.BlobRenderer
Overrides the method in VertexRenderer by drawing rounded rectangles instead of ordinary rectangles only if the isRoundRect flag is set to true by the constructor.
paintConnector(Color, Color, Graphics) - Method in class uk.ac.ed.inf.higraph.Connector
Use Xor-Mode on Graphics to Paint Connector
paintPort(Graphics) - Method in class uk.ac.ed.inf.higraph.Connector
Use the Preview Flag to Draw a Highlighted Port
parse(File) - Method in class uk.ac.ed.inf.higraph.HigraphXml
Parses file using SAXBuilder and HigraphXml.SAXErrorHandler.
populateBlobs() - Method in class uk.ac.ed.inf.higraph.BlobXml
Populates the sub-blobs of blob using element.
populateElement() - Method in class uk.ac.ed.inf.higraph.BlobXml
Populates element using blob.
port - Variable in class uk.ac.ed.inf.higraph.Connector
 
printToXmlString() - Method in class uk.ac.ed.inf.higraph.HigraphEditor
Sends to console the XML preview.
PROJECT_DESCRIPTION - Static variable in interface uk.ac.ed.inf.higraph.HigraphConstants
 
PROJECT_NAME - Static variable in interface uk.ac.ed.inf.higraph.HigraphConstants
 
PROJECT_URL - Static variable in interface uk.ac.ed.inf.higraph.HigraphConstants
 
put(Edge, GraphModel) - Method in class uk.ac.ed.inf.higraph.Edges
Puts the pair (edge, element) in this, where element is a representation of edge inferred from model which has proper cells, rather than ports, as source and targets.
put(Edges.Element) - Method in class uk.ac.ed.inf.higraph.Edges
Puts element with its associated edge as key.

R

remove(AttrCell) - Method in class uk.ac.ed.inf.higraph.EmbeddableContainmentTree
Removes the subtree rooted at attrCell, if contained in this and attrCell is not the root of this.
remove(DefaultGraphCell) - Method in class uk.ac.ed.inf.higraph.HigraphGeometry
If cell is an Edge then it removes it both from the JGraph model and from the edges, while if it is a vertex then it removes it only if there are no edges attached to it.
RIGHT_SIDE - Static variable in class uk.ac.ed.inf.higraph.EmbeddableContainmentTree
 

S

sameParentAndChildren(AttrCell, EmbeddableContainmentTree, AttrCell, EmbeddableContainmentTree) - Static method in class uk.ac.ed.inf.higraph.EmbeddableContainmentTree
Returns true if the bounds of parent and children of attrCell1 in tree1 are those of attrCell2 in tree2.
SAVES - Static variable in interface uk.ac.ed.inf.higraph.HigraphConstants
 
SAX_PARSER - Static variable in interface uk.ac.ed.inf.higraph.HigraphConstants
 
setAttrCell(AttrCell) - Method in class uk.ac.ed.inf.higraph.EmbeddableContainmentTree.Node
Sets userObject to attrCell.
setAttributes(Map) - Method in class uk.ac.ed.inf.higraph.AttrCell
This method, called by the AttrCell constructor, sets bounds, borderColor, background and opaque using map.
setBackground(Color) - Method in class uk.ac.ed.inf.higraph.AttrCell
Sets the value of background.
setBlob(Blob) - Method in class uk.ac.ed.inf.higraph.BlobXml
Sets the value of blob.
setBlobs(Blobs) - Method in class uk.ac.ed.inf.higraph.Blob
Sets the value of blobs.
setBlobs(Blobs) - Method in class uk.ac.ed.inf.higraph.Higraph
Sets the value of blobs.
setBlobs(Element) - Method in class uk.ac.ed.inf.higraph.HigraphXml
Sets the blobs of higraph using blobsEl.
setBorderColor(Color) - Method in class uk.ac.ed.inf.higraph.AttrCell
Sets the value of borderColor.
setBounds(Rectangle) - Method in class uk.ac.ed.inf.higraph.Vertex
Sets the value of bounds.
setCell(DefaultGraphCell) - Method in class uk.ac.ed.inf.higraph.AttrCell
Sets the value of cell.
setDocument(Document) - Method in class uk.ac.ed.inf.higraph.HigraphXml
Sets the value of document.
setEdge(Edge) - Method in class uk.ac.ed.inf.higraph.GraphEdge
Sets the value of edge.
setEdge(GraphEdge) - Method in class uk.ac.ed.inf.higraph.EdgeXml
Sets the value of edge.
setEdges(Edges) - Method in class uk.ac.ed.inf.higraph.HigraphGeometry
See HigraphGeometry.getEdges().
setEdges(Edges, EmbeddableContainmentTree) - Method in class uk.ac.ed.inf.higraph.Higraph
Alternative setter for the edges property, having an Edges object as parameter, rather than a Set of GraphEdges.
setEdges(Element) - Method in class uk.ac.ed.inf.higraph.HigraphXml
Sets the edges of higraph using edgesEl.
setEdges(Set) - Method in class uk.ac.ed.inf.higraph.Higraph
Sets the edges value to v.
setElement(Element) - Method in class uk.ac.ed.inf.higraph.EdgeXml
Sets the value of element.
setElement(Element) - Method in class uk.ac.ed.inf.higraph.BlobXml
Sets the value of element.
setHigraph(Higraph) - Method in class uk.ac.ed.inf.higraph.HigraphXml
Sets the value of higraph.
setHigraphGeometry(HigraphGeometry) - Method in class uk.ac.ed.inf.higraph.HigraphEditor
Sets the value of higraphGeometry.
setId(String) - Method in class uk.ac.ed.inf.higraph.Vertex
Sets the value of id.
setJHigraph(JHigraph) - Method in class uk.ac.ed.inf.higraph.HigraphEditor
Sets the value of jHigraph.
setLabel(String) - Method in class uk.ac.ed.inf.higraph.Vertex
Sets the value of label.
setLastClickedPoint(Point) - Method in class uk.ac.ed.inf.higraph.HigraphEditor
Sets the value of lastClickedPoint.
setOpaque(boolean) - Method in class uk.ac.ed.inf.higraph.AttrCell
Sets the value of opaque.
setRootCell(AttrCell) - Method in class uk.ac.ed.inf.higraph.EmbeddableContainmentTree
Returns true if either the tree is empty, in which case sets root to a new EmbeddableContainmentTree.Node, or if v contains the root cell, in which case sets the root cell to v.
setSource(Vertex) - Method in class uk.ac.ed.inf.higraph.GraphEdge
Sets the value of source.
setTarget(Vertex) - Method in class uk.ac.ed.inf.higraph.GraphEdge
Sets the value of target.
setVertexContainmentTree(EmbeddableContainmentTree) - Method in class uk.ac.ed.inf.higraph.HigraphGeometry
Sets the value of vertexContainmentTree.
setVisible(boolean) - Method in class uk.ac.ed.inf.higraph.AttrCell
Sets the value of visible.
shallowRemove(AttrCell) - Method in class uk.ac.ed.inf.higraph.EmbeddableContainmentTree
Removes attrCell if contained in this and it is not the root.
shiftInsert(AttrCell) - Method in class uk.ac.ed.inf.higraph.HigraphGeometry
Attempts to create and then insert a new vertex (blob) with attrCell as its associated AttrCell.
shiftInsert(Point) - Method in class uk.ac.ed.inf.higraph.HigraphGeometry
Calls HigraphGeometry.shiftInsert(AttrCell) with a default AttrCell located at location.
shortExecute() - Method in class uk.ac.ed.inf.higraph.HigraphEditor.AbstractLongAction
Empty implementation - override to have further execution in the main thread when HigraphEditor.AbstractLongAction.longExecute() terminates.
SHRINKING_FACTOR - Static variable in interface uk.ac.ed.inf.higraph.HigraphConstants
Value: 0.5d
siblingCellsLocatedStrictlyToLeftOf(AttrCell) - Method in class uk.ac.ed.inf.higraph.EmbeddableContainmentTree
Returns the set of sibling AttrCells located strictly to the left of attrCell's location.
siblingCellsLocatedStrictlyToLeftOf(Point) - Method in class uk.ac.ed.inf.higraph.EmbeddableContainmentTree
Returns the set of sibling AttrCells located strictly to the left of point.
siblingCellsLocatedToSideOf(Point, int) - Method in class uk.ac.ed.inf.higraph.EmbeddableContainmentTree
Returns the set of sibling AttrCells located to the side of point.
SOURCE_ATTR_TAG - Static variable in interface uk.ac.ed.inf.higraph.HigraphConstants
 
start - Variable in class uk.ac.ed.inf.higraph.Connector
 
storeTo(File) - Method in class uk.ac.ed.inf.higraph.HigraphXml
Builds the XML document corresponding to higraph and saves it to file.
strongRemove(DefaultGraphCell) - Method in class uk.ac.ed.inf.higraph.HigraphGeometry
If cell is an Edge then it removes it both from the JGraph model and from the edges, while if it is a vertex then it removes it together with all the edges attached to it.

T

TARGET_ATTR_TAG - Static variable in interface uk.ac.ed.inf.higraph.HigraphConstants
 
TEST_DIR - Static variable in interface uk.ac.ed.inf.higraph.HigraphConstants
 
TEST_GEOMETRY_FILE - Static variable in interface uk.ac.ed.inf.higraph.HigraphConstants
 
TEST_XML_LOAD_FILE - Static variable in interface uk.ac.ed.inf.higraph.HigraphConstants
 
TEST_XML_STORE_FILE - Static variable in interface uk.ac.ed.inf.higraph.HigraphConstants
 
TEST_XML_STORE2_FILE - Static variable in interface uk.ac.ed.inf.higraph.HigraphConstants
 
toAttrCell() - Method in class uk.ac.ed.inf.higraph.Vertex
Return a new AttrCell with bounds and label (if not null) of this.
toAttributesMap() - Method in class uk.ac.ed.inf.higraph.AttrCell
Uses GraphConstants to create a Map and populates it using its attributes.
toBlob() - Method in class uk.ac.ed.inf.higraph.EmbeddableContainmentTree.Node
Returns a Blob description of this node.
toBlobs() - Method in class uk.ac.ed.inf.higraph.EmbeddableContainmentTree
Returns a Blobs description of the AttrCells in this.
toHashCodeString(Object) - Static method in class uk.ac.ed.inf.higraph.Vertex
Returns the String consisting of underscore followed by the hash code of the Object o.
toHigraph() - Method in class uk.ac.ed.inf.higraph.HigraphGeometry
Returns a Higraph representation of the model inferred from the containment tree and the edges property.
toolBar() - Method in class uk.ac.ed.inf.higraph.HigraphEditor
Returns the JToolBar for the GUI.
toString() - Method in class uk.ac.ed.inf.higraph.EdgeXml
Returns the source and target attributes of element.
toString() - Method in class uk.ac.ed.inf.higraph.BlobXml
Returns the attributes of element.
toString() - Method in class uk.ac.ed.inf.higraph.Higraph
Returns the blobs and edges as a String value.
toString() - Method in class uk.ac.ed.inf.higraph.AttrCell
String representation of the attributes.
toXmlDocument() - Method in class uk.ac.ed.inf.higraph.HigraphXml
Builds and returns the XML Document corresponding to higraph.
toXmlElement() - Method in class uk.ac.ed.inf.higraph.HigraphXml
Returns the XML Element corresponding to higraph by taking the root element of HigraphXml.toXmlDocument().
toXmlElement() - Method in class uk.ac.ed.inf.higraph.BlobXml
Returns the XML Element corresponding to blob.
toXmlString() - Method in class uk.ac.ed.inf.higraph.HigraphXml
Returns the String corresponding to the XML Element produced by HigraphXml.toXmlElement().
toXmlString() - Method in class uk.ac.ed.inf.higraph.BlobXml
Returns the String corresponding to the XML Element produced by BlobXml.toXmlElement().
toXmlString() - Method in class uk.ac.ed.inf.higraph.HigraphEditor
Returns a String consisting of the XML representation of the current higraph.
translate(int, int) - Method in class uk.ac.ed.inf.higraph.EmbeddableContainmentTree
 
translate(Set, int, int) - Static method in class uk.ac.ed.inf.higraph.EmbeddableContainmentTree
 
translateSubtreeRootedAt(EmbeddableContainmentTree.Node, int, int) - Static method in class uk.ac.ed.inf.higraph.EmbeddableContainmentTree
 

U

uk.ac.ed.inf.higraph - package uk.ac.ed.inf.higraph
 
updateFrom(Blobs) - Method in class uk.ac.ed.inf.higraph.EmbeddableContainmentTree
First detaches the contents of root, then inserts blobs using EmbeddableContainmentTree.insert(Blobs), and finally returns the inserted AttrCells in the form of a Map with entries of the form (id, attrCell), where id is the blob id.
updateFrom(Higraph) - Method in class uk.ac.ed.inf.higraph.HigraphGeometry
Resets the containment tree and the edges using the information in the blobs and edges of higraph and then synchronises the model accordingly.
updateModel() - Method in class uk.ac.ed.inf.higraph.HigraphGeometry
Synchronizes model with this.
USER_HOME - Static variable in interface uk.ac.ed.inf.higraph.HigraphConstants
 
UTF_ENCODING - Static variable in interface uk.ac.ed.inf.higraph.HigraphConstants
 

V

valueChanged(GraphSelectionEvent) - Method in class uk.ac.ed.inf.higraph.HigraphEditor
Implements GraphSelectionListener by enabling the wastebasket icon when the graph selection is not empty.
Vertex - class uk.ac.ed.inf.higraph.Vertex.
Represents a vertex as a triple (id, label, bounds).
Vertex(AttrCell) - Constructor for class uk.ac.ed.inf.higraph.Vertex
Creates a new Vertex instance setting the id to the hash code of attrCell (preceded by underscore) and the label and the bounds to the label and bounds of attrCell.
Vertex(AttrCell, String, String) - Constructor for class uk.ac.ed.inf.higraph.Vertex
 
Vertex(int) - Constructor for class uk.ac.ed.inf.higraph.Vertex
Creates a new Vertex instance setting the id to hashCode (preceded by underscore) and setting the label to the empty string.
Vertex(Object) - Constructor for class uk.ac.ed.inf.higraph.Vertex
Creates a new Vertex instance setting the id to the hash code of o (preceded by underscore) and setting the label to the empty string.
Vertex(String) - Constructor for class uk.ac.ed.inf.higraph.Vertex
Creates a new Vertex instance setting id and empty label.
Vertex(String, String) - Constructor for class uk.ac.ed.inf.higraph.Vertex
Creates a new Vertex instance setting id and label.
Vertex(String, String, Rectangle) - Constructor for class uk.ac.ed.inf.higraph.Vertex
Creates a new Vertex instance setting id, label, and bounds.
vertexCells(DefaultGraphModel) - Static method in class uk.ac.ed.inf.higraph.HigraphGeometry
Returns a Set of AttrCells corresponding to the vertices in model.

W

WIDTH_ATTR_TAG - Static variable in interface uk.ac.ed.inf.higraph.HigraphConstants
 

X

X_ATTR_TAG - Static variable in interface uk.ac.ed.inf.higraph.HigraphConstants
 
XML_DIR - Static variable in interface uk.ac.ed.inf.higraph.HigraphConstants
 
xmlLoad() - Method in class uk.ac.ed.inf.higraph.HigraphEditor
Asks the user a file name and then tries to open it.
xmlStore() - Method in class uk.ac.ed.inf.higraph.HigraphEditor
Asks the user a file name and then saves the XML representation of the graph to that file.

Y

Y_ATTR_TAG - Static variable in interface uk.ac.ed.inf.higraph.HigraphConstants
 

Z

zoom(DefaultGraphCell) - Method in class uk.ac.ed.inf.higraph.HigraphGeometry
Performs the blob zooming operation consisting of removing all the blobs contained in the blob corresponding to cell and attaching to it all resulting dangling edges.

A B C D E F G H I J L M N O P R S T U V W X Y Z
Higraph, v1.0, January 28, 2003 (02:22 PM)

Copyright © The University of Edinburgh. All Rights Reserved.