Tabnine Logo
DefaultGraphModel.edit
Code IndexAdd Tabnine to your IDE (free)

How to use
edit
method
in
org.jgraph.graph.DefaultGraphModel

Best Java code snippets using org.jgraph.graph.DefaultGraphModel.edit (Showing top 2 results out of 315)

origin: net.sf.ingenias/ingeniasjgraphmod

/**
 * Shortcut to the new edit method which allows inserts and removes to go
 * along with an edit.
 */
public void edit(Map attributes, ConnectionSet cs, ParentMap pm,
    UndoableEdit[] edits) {
  edit(null, null, attributes, cs, pm, edits);
}
origin: net.sf.ingenias/editor

public void fireChange() {
  super.edit(new Hashtable(),null,null, null);
  /*    super.fireGraphChanged(this,new DefaultGraphModel.GraphModelEdit(new Object[]{},
  new Object[]{},new Hashtable(),new ConnectionSet(),null));*/
}
org.jgraph.graphDefaultGraphModeledit

Javadoc

Shortcut to the new edit method which allows inserts and removes to go along with an edit.

Popular methods of DefaultGraphModel

  • <init>
    Constructs a model using the specified information to construct the cells, attributes and connection
  • getEdges
    Returns the set of all connected edges to cells or their descendants. The passed-in cells are never
  • getRoots
    Returns the roots in cells by checking if their parent isnull. This implementation only uses the Gra
  • isGroup
    Checks whether the cell has at least one child which is not a port. This implementation operates on
  • connect
    Connects or disconnects the edge and port in this model based onremove. Subclassers should override
  • getAll
    Returns all cells of the model in an array.
  • getAttributes
    Returns a Map that represents the attributes for the specified cell. This attributes have precedence
  • getDescendants
    Flattens the given array of root cells by adding the roots and their descandants. The resulting set
  • getRootsAsCollection
    Returns the roots of the specified model as a collection. This implementation uses the GraphModel in
  • addUndoableEditListener
  • cloneCell
    Returns a deep clone of the specified cells, including all children.
  • cloneUserObject
    Clones the user object. Helper method that is invoked from cloneCells. You must use cloneCells (or c
  • cloneCell,
  • cloneUserObject,
  • createEdit,
  • createLayerEdit,
  • createRemoveEdit,
  • fireGraphChanged,
  • getChildCount,
  • getEdgesBetween,
  • getGraphModelListeners

Popular in Java

  • Creating JSON documents from java classes using gson
  • scheduleAtFixedRate (Timer)
  • getSupportFragmentManager (FragmentActivity)
  • getResourceAsStream (ClassLoader)
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • JTable (javax.swing)
  • IsNull (org.hamcrest.core)
    Is the value null?
  • 14 Best Plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now