com.sun.xml.registry.client.browser.graph
Class JBGraphModel

java.lang.Object
  extended byjavax.swing.undo.UndoableEditSupport
      extended bycom.jgraph.graph.DefaultGraphModel
          extended bycom.sun.xml.registry.client.browser.graph.JBGraphModel
All Implemented Interfaces:
com.jgraph.graph.GraphModel, java.io.Serializable

public class JBGraphModel
extends com.jgraph.graph.DefaultGraphModel

Custom model that does not allow self references in graph.

Author:
Farrukh S. Najmi
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class com.jgraph.graph.DefaultGraphModel
com.jgraph.graph.DefaultGraphModel.EmptyIterator, com.jgraph.graph.DefaultGraphModel.GraphModelEdit, com.jgraph.graph.DefaultGraphModel.GraphModelLayerEdit
 
Field Summary
 
Fields inherited from class com.jgraph.graph.DefaultGraphModel
asksAllowsChildren, attributeStore, emptyIterator, listenerList, roots
 
Fields inherited from class javax.swing.undo.UndoableEditSupport
compoundEdit, listeners, realSource, updateLevel
 
Constructor Summary
JBGraphModel()
           
 
Method Summary
 boolean acceptsSource(java.lang.Object edge, java.lang.Object port)
           
 boolean acceptsTarget(java.lang.Object edge, java.lang.Object port)
           
 
Methods inherited from class com.jgraph.graph.DefaultGraphModel
addGraphModelListener, connect, contains, createCellEdit, createInsertEdit, createRemoveEdit, edges, edit, fireGraphChanged, getAttributes, getChild, getChildCount, getDescendants, getEdges, getGraphModelListeners, getIndexOfChild, getIndexOfRoot, getParent, getRootAt, getRootCount, getRoots, getSource, getTarget, handleConnection, handleConnectionSet, handleInsert, handleParentMap, handlePropertyMap, handleRemove, insert, isAttributeStore, isLeaf, isOrdered, remove, removeGraphModelListener, toBack, toFront
 
Methods inherited from class javax.swing.undo.UndoableEditSupport
_postEdit, addUndoableEditListener, beginUpdate, createCompoundEdit, endUpdate, getUndoableEditListeners, getUpdateLevel, postEdit, removeUndoableEditListener, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.jgraph.graph.GraphModel
addUndoableEditListener, removeUndoableEditListener
 

Constructor Detail

JBGraphModel

public JBGraphModel()
Method Detail

acceptsSource

public boolean acceptsSource(java.lang.Object edge,
                             java.lang.Object port)

acceptsTarget

public boolean acceptsTarget(java.lang.Object edge,
                             java.lang.Object port)


Copyright © 2001-2004 OASIS. All Rights Reserved.