public static Action getSelectNoneAction() { return mxGraphActions.getSelectNoneAction(); }
public static Action getSelectAllAction() { return mxGraphActions.getSelectAllAction(); }
public void actionPerformed(ActionEvent e) { updateAnimation(); }
/** * */ public void actionPerformed(ActionEvent e) { mxGraph graph = getGraph(e); if (graph != null) { graph.setSelectionCell(graph.groupCells(null, getGroupBorder(graph))); } }
/** * */ public void actionPerformed(ActionEvent e) { mxGraph graph = getGraph(e); if (graph != null) { graph.updateGroupBounds(null, getGroupBorder(graph)); } }
/** * */ public mxCellOverlay(ImageIcon icon, String warning) { this.imageIcon = icon; setToolTipText(warning); setCursor(new Cursor(Cursor.DEFAULT_CURSOR)); }
/** * */ public void actionPerformed(ActionEvent e) { mxGraph graph = getGraph(e); if (graph != null) { graph.removeCells(); } }
/** * Hook for subclassers to implement the animation. Invoke stopAnimation * when finished, startAnimation to resume. This is called whenever the * timer fires and fires an mxEvent.EXECUTE event with no properties. */ public void updateAnimation() { fireEvent(new mxEventObject(mxEvent.EXECUTE)); }
public void invoke(Object sender, mxEventObject evt) { Graphics g = (Graphics) evt.getProperty("g"); paint(g); } });
/** * */ public void actionPerformed(ActionEvent e) { mxGraph graph = getGraph(e); if (graph != null) { graph.setSelectionCell(graph.groupCells(null, getGroupBorder(graph))); } }
/** * */ public void actionPerformed(ActionEvent e) { mxGraph graph = getGraph(e); if (graph != null) { graph.updateGroupBounds(null, getGroupBorder(graph)); } }
/** * */ public void actionPerformed(ActionEvent e) { mxGraph graph = getGraph(e); if (graph != null) { graph.removeCellsFromParent(); } }
public static Action getSelectNoneAction() { return mxGraphActions.getSelectNoneAction(); }
public static Action getSelectAllAction() { return mxGraphActions.getSelectAllAction(); }
public void actionPerformed(ActionEvent e) { updateAnimation(); }
/** * Hook for subclassers to implement the animation. Invoke stopAnimation * when finished, startAnimation to resume. This is called whenever the * timer fires and fires an mxEvent.EXECUTE event with no properties. */ public void updateAnimation() { fireEvent(new mxEventObject(mxEvent.EXECUTE)); }
/** * */ public void actionPerformed(ActionEvent e) { mxGraph graph = getGraph(e); if (graph != null) { graph.removeCells(); } }
/** * */ public void actionPerformed(ActionEvent e) { mxGraph graph = getGraph(e); if (graph != null) { graph.removeCellsFromParent(); } }
/** * */ public void actionPerformed(ActionEvent e) { mxGraph graph = getGraph(e); if (graph != null) { graph.setSelectionCells(graph.ungroupCells()); } }