Package com.mxgraph.view
Class mxSpaceManager
java.lang.Object
com.mxgraph.util.mxEventSource
com.mxgraph.view.mxSpaceManager
-
Nested Class Summary
Nested classes/interfaces inherited from class com.mxgraph.util.mxEventSource
mxEventSource.mxIEventListener -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanOptional string that specifies the value of the attribute to be passed to mxCell.is to check if the rule applies to a cell.protected booleanOptional string that specifies the attributename to be passed to mxCell.is to check if the rule applies to a cell.protected mxGraphDefines the type of the source or target terminal.protected mxEventSource.mxIEventListenerprotected booleanOptional string that specifies the attributename to be passed to mxCell.is to check if the rule applies to a cell.protected booleanOptional string that specifies the attributename to be passed to mxCell.is to check if the rule applies to a cell.Fields inherited from class com.mxgraph.util.mxEventSource
eventListeners, eventsEnabled, eventSource -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcellResized(Object cell) protected voidcellsResized(Object[] cells) voiddestroy()protected Object[]getCellsToShift(mxCellState state) getGraph()booleanisCellIgnored(Object cell) booleanisCellShiftable(Object cell) booleanbooleanbooleanbooleanvoidsetEnabled(boolean value) voidsetExtendParents(boolean extendParents) voidvoidsetShiftDownwards(boolean shiftDownwards) voidsetShiftRightwards(boolean shiftRightwards) protected voidshiftCell(Object cell, double dx, double dy, double x0, double y0, double right, double bottom, double fx, double fy, boolean extendParent) Methods inherited from class com.mxgraph.util.mxEventSource
addListener, fireEvent, fireEvent, getEventSource, isEventsEnabled, removeListener, removeListener, setEventsEnabled, setEventSource
-
Field Details
-
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 enabledOptional string that specifies the value of the attribute to be passed to mxCell.is to check if the rule applies to a cell. -
shiftRightwards
protected boolean shiftRightwardsOptional string that specifies the attributename to be passed to mxCell.is to check if the rule applies to a cell. -
shiftDownwards
protected boolean shiftDownwardsOptional string that specifies the attributename to be passed to mxCell.is to check if the rule applies to a cell. -
extendParents
protected boolean extendParentsOptional string that specifies the attributename to be passed to mxCell.is to check if the rule applies to a cell. -
resizeHandler
-
-
Constructor Details
-
mxSpaceManager
-
-
Method Details
-
isCellIgnored
-
isCellShiftable
-
isEnabled
public boolean isEnabled()- Returns:
- the enabled
-
setEnabled
public void setEnabled(boolean value) - Parameters:
value- the enabled to set
-
isShiftRightwards
public boolean isShiftRightwards()- Returns:
- the shiftRightwards
-
setShiftRightwards
public void setShiftRightwards(boolean shiftRightwards) - Parameters:
shiftRightwards- the shiftRightwards to set
-
isShiftDownwards
public boolean isShiftDownwards()- Returns:
- the shiftDownwards
-
setShiftDownwards
public void setShiftDownwards(boolean shiftDownwards) - Parameters:
shiftDownwards- the shiftDownwards to set
-
isExtendParents
public boolean isExtendParents()- Returns:
- the extendParents
-
setExtendParents
public void setExtendParents(boolean extendParents) - Parameters:
extendParents- the extendParents to set
-
getGraph
- Returns:
- the graph
-
setGraph
- Parameters:
graph- the graph to set
-
cellsResized
-
cellResized
-
shiftCell
protected void shiftCell(Object cell, double dx, double dy, double x0, double y0, double right, double bottom, double fx, double fy, boolean extendParent) -
getCellsToShift
-
destroy
public void destroy()
-