com.mxgraph.view
Class mxLayoutManager
java.lang.Object
com.mxgraph.util.mxEventSource
com.mxgraph.view.mxLayoutManager
public class mxLayoutManager
- extends mxEventSource
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
graph
protected mxGraph graph
- Defines the type of the source or target terminal. The type is a string
passed to mxCell.is to check if the rule applies to a cell.
enabled
protected boolean enabled
- Optional string that specifies the value of the attribute to be passed
to mxCell.is to check if the rule applies to a cell. Default is true.
bubbling
protected boolean bubbling
- Optional string that specifies the attributename to be passed to
mxCell.is to check if the rule applies to a cell. Default is true.
undoHandler
protected mxEventSource.mxIEventListener undoHandler
moveHandler
protected mxEventSource.mxIEventListener moveHandler
mxLayoutManager
public mxLayoutManager(mxGraph graph)
isEnabled
public boolean isEnabled()
- Returns:
- the enabled
setEnabled
public void setEnabled(boolean value)
- Parameters:
value
- the enabled to set
isBubbling
public boolean isBubbling()
- Returns:
- the bubbling
setBubbling
public void setBubbling(boolean value)
- Parameters:
value
- the bubbling to set
getGraph
public mxGraph getGraph()
- Returns:
- the graph
setGraph
public void setGraph(mxGraph value)
- Parameters:
value
- the graph to set
getLayout
protected mxIGraphLayout getLayout(Object parent)
cellsMoved
protected void cellsMoved(Object[] cells,
Point location)
beforeUndo
protected void beforeUndo(mxUndoableEdit edit)
getCellsForChanges
protected Collection getCellsForChanges(List changes)
getCellsForChange
protected Collection getCellsForChange(Object change)
layoutCells
protected void layoutCells(Object[] cells)
executeLayout
protected void executeLayout(mxIGraphLayout layout,
Object parent)
destroy
public void destroy()
Copyright (c) 2008 Gaudenz Alder. All rights reserved.