mxigraphlayout.java

来自「经典的java图像处理程序源码」· Java 代码 · 共 33 行

JAVA
33
字号
/** * $Id: mxIGraphLayout.java,v 1.6 2009/02/21 13:39:16 gaudenz Exp $ * Copyright (c) 2007, Gaudenz Alder */package com.mxgraph.layout;/** * Defines the requirements for an object that implements a graph layout. */public interface mxIGraphLayout{	/**	 * Executes the layout for the children of the specified parent.	 * 	 * @param parent Parent cell that contains the children to be layed out.	 */	void execute(Object parent);	/**	 * Notified when a cell is being moved in a parent that has automatic	 * layout to update the cell state (eg. index) so that the outcome of the	 * layout will position the vertex as close to the point (x, y) as	 * possible.	 * 	 * @param cell Cell which is being moved.	 * @param x X-coordinate of the new cell location.	 * @param y Y-coordinate of the new cell location.	 */	void moveCell(Object cell, double x, double y);}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?