com.mxgraph.view
Class mxSwimlaneManager
java.lang.Object
com.mxgraph.util.mxEventSource
com.mxgraph.view.mxSwimlaneManager
public class mxSwimlaneManager
- extends mxEventSource
Field Summary |
protected mxEventSource.mxIEventListener |
addHandler
|
protected boolean |
bubbling
Optional string that specifies the attributename to be passed to
mxCell.is to check if the rule applies to a cell. |
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. |
protected mxGraph |
graph
Defines the type of the source or target terminal. |
protected boolean |
horizontal
Optional string that specifies the attributename to be passed to
mxCell.is to check if the rule applies to a cell. |
protected mxEventSource.mxIEventListener |
resizeHandler
|
protected boolean |
siblings
Optional string that specifies the attributename to be passed to
mxCell.is to check if the rule applies to a cell. |
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.
horizontal
protected boolean horizontal
- Optional string that specifies the attributename to be passed to
mxCell.is to check if the rule applies to a cell.
siblings
protected boolean siblings
- Optional string that specifies the attributename to be passed to
mxCell.is to check if the rule applies to a cell.
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.
addHandler
protected mxEventSource.mxIEventListener addHandler
resizeHandler
protected mxEventSource.mxIEventListener resizeHandler
mxSwimlaneManager
public mxSwimlaneManager(mxGraph graph)
isSwimlaneIgnored
public boolean isSwimlaneIgnored(Object swimlane)
isEnabled
public boolean isEnabled()
- Returns:
- the enabled
setEnabled
public void setEnabled(boolean value)
- Parameters:
value
- the enabled to set
isHorizontal
public boolean isHorizontal()
- Returns:
- the bubbling
setHorizontal
public void setHorizontal(boolean value)
- Parameters:
value
- the bubbling to set
isSiblings
public boolean isSiblings()
- Returns:
- the bubbling
setSiblings
public void setSiblings(boolean value)
- Parameters:
value
- the bubbling 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 graph)
- Parameters:
graph
- the graph to set
cellsAdded
protected void cellsAdded(Object[] cells)
swimlaneAdded
protected void swimlaneAdded(Object swimlane)
cellsResized
protected void cellsResized(Object[] cells)
swimlaneResized
protected void swimlaneResized(Object swimlane)
resizeSwimlane
protected void resizeSwimlane(Object swimlane,
double w,
double h)
resizeParent
protected void resizeParent(Object parent,
double w,
double h)
destroy
public void destroy()
Copyright (c) 2010 Gaudenz Alder. All rights reserved.