Package com.mxgraph.util

Examples of com.mxgraph.util.mxEventObject


    if (isHideSelectionHandler())
    {
      graphComponent.getSelectionCellsHandler().setVisible(false);
    }

    fireEvent(new mxEventObject(mxEvent.CONTINUE, "event", e, "dx", dx,
        "dy", dy));
  }
View Full Code Here


        double s = graph.getView().getScale();
        cells = graph.moveCells(cells, dx / s, dy / s, clone, target,
            e.getPoint());
      }

      fireEvent(new mxEventObject(mxEvent.STOP, "event", e, "commit",
          commit));
    }
    finally
    {
      graph.getModel().endUpdate();
View Full Code Here

          graphComponent.getGraphControl().add(this);
        }
      }

      repaint();
      eventSource.fireEvent(new mxEventObject(mxEvent.MARK, "state",
          markedState));
    }
  }
View Full Code Here

  {
    if (getParent() != null)
    {
      setVisible(false);
      getParent().remove(this);
      eventSource.fireEvent(new mxEventObject(mxEvent.MARK));
    }
  }
View Full Code Here

          }
        }

      }

      fireEvent(new mxEventObject(mxEvent.ROOT));
    }
    else if (change instanceof mxChildChange)
    {
      mxChildChange cc = (mxChildChange) change;
View Full Code Here

              resetEdges(new Object[] { cells[i] });
            }
          }
        }

        fireEvent(new mxEventObject(mxEvent.ALIGN_CELLS, "cells",
            cells, "align", align));
      }
      finally
      {
        model.endUpdate();
View Full Code Here

          model.setStyle(edge, null);
        }

        // Removes all existing control points
        resetEdge(edge);
        fireEvent(new mxEventObject(mxEvent.FLIP_EDGE, "edge", edge));
      }
      finally
      {
        model.endUpdate();
      }
View Full Code Here

    model.beginUpdate();
    try
    {
      cellsOrdered(cells, back);
      fireEvent(new mxEventObject(mxEvent.ORDER_CELLS, "cells", cells,
          "back", back));
    }
    finally
    {
      model.endUpdate();
View Full Code Here

            model.add(parent, cells[i],
                model.getChildCount(parent) - 1);
          }
        }

        fireEvent(new mxEventObject(mxEvent.CELLS_ORDERED, "cells",
            cells, "back", back));
      }
      finally
      {
        model.endUpdate();
View Full Code Here

        cellsAdded(new Object[] { group }, parent, index, null, null,
            false, false);
        cellsResized(new Object[] { group },
            new mxRectangle[] { bounds });

        fireEvent(new mxEventObject(mxEvent.GROUP_CELLS, "group",
            group, "cells", cells, "border", border));
      }
      finally
      {
        model.endUpdate();
View Full Code Here

TOP

Related Classes of com.mxgraph.util.mxEventObject

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.