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 boolean
Optional string that specifies the value of the attribute to be passed to mxCell.is to check if the rule applies to a cell.protected boolean
Optional string that specifies the attributename to be passed to mxCell.is to check if the rule applies to a cell.protected mxGraph
Defines the type of the source or target terminal.protected mxEventSource.mxIEventListener
protected boolean
Optional string that specifies the attributename to be passed to mxCell.is to check if the rule applies to a cell.protected boolean
Optional 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 void
cellResized
(Object cell) protected void
cellsResized
(Object[] cells) void
destroy()
protected Object[]
getCellsToShift
(mxCellState state) getGraph()
boolean
isCellIgnored
(Object cell) boolean
isCellShiftable
(Object cell) boolean
boolean
boolean
boolean
void
setEnabled
(boolean value) void
setExtendParents
(boolean extendParents) void
void
setShiftDownwards
(boolean shiftDownwards) void
setShiftRightwards
(boolean shiftRightwards) protected void
shiftCell
(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()
-