Class NESTWorkflowEditor.CustomGraphComponent

java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JScrollPane
com.mxgraph.swing.mxGraphComponent
de.uni_trier.wi2.procake.gui.objecteditor.nestworkfloweditor.NESTWorkflowEditor.CustomGraphComponent
All Implemented Interfaces:
ImageObserver, MenuContainer, Printable, Serializable, Accessible, ScrollPaneConstants
Enclosing class:
NESTWorkflowEditor

public static class NESTWorkflowEditor.CustomGraphComponent extends com.mxgraph.swing.mxGraphComponent
See Also:
  • Constructor Details

    • CustomGraphComponent

      public CustomGraphComponent(com.mxgraph.view.mxGraph graph)
      Parameters:
      graph -
  • Method Details

    • setStylesheet

      public void setStylesheet(String xml)
    • getStylesheet

      public String getStylesheet()
    • createHandler

      public com.mxgraph.swing.handler.mxCellHandler createHandler(com.mxgraph.view.mxCellState state)
      Override so that CustomVertexHandler is used
      Overrides:
      createHandler in class com.mxgraph.swing.mxGraphComponent
    • createCellEditor

      protected com.mxgraph.swing.view.mxICellEditor createCellEditor()
      Overrides:
      createCellEditor in class com.mxgraph.swing.mxGraphComponent
    • updateAllCellLabels

      public void updateAllCellLabels()
    • createConnectionHandler

      protected com.mxgraph.swing.handler.mxConnectionHandler createConnectionHandler()
      Overrides:
      createConnectionHandler in class com.mxgraph.swing.mxGraphComponent