Documentation of 'org.jgraph.graph.DefaultCellViewFactory' Java class
DefaultCellViewFactory
org.jgraph.graph

Class DefaultCellViewFactory

  • All Implemented Interfaces:
    java.io.Serializable, CellViewFactory


    public class DefaultCellViewFactory
    extends java.lang.Object
    implements CellViewFactory, java.io.Serializable
    The default implementation of a cell view factory that returns the default views for vertices, edges and ports.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      CellView createView(GraphModel model, java.lang.Object cell)
      Constructs a view for the specified cell and associates it with the specified object using the specified CellMapper.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultCellViewFactory

        public DefaultCellViewFactory()
    • Method Detail

      • createView

        public CellView createView(GraphModel model,
                                   java.lang.Object cell)
        Constructs a view for the specified cell and associates it with the specified object using the specified CellMapper. This calls refresh on the created CellView to create all dependent views.

        Note: The mapping needs to be available before the views of child cells and ports are created. Note: This method must return new instances!

        Specified by:
        createView in interface CellViewFactory
        Parameters:
        cell - reference to the object in the model

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.