<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">java.lang.Object</A>
<IMGSRC="../../../resources/inherit.gif"ALT="extended by "><AHREF="../../../com/mxgraph/util/mxEventSource.html"title="class in com.mxgraph.util">com.mxgraph.util.mxEventSource</A>
<IMGSRC="../../../resources/inherit.gif"ALT="extended by "><B>com.mxgraph.view.mxSwimlaneManager</B>
</PRE>
<HR>
<DL>
<DT><PRE>public class <B>mxSwimlaneManager</B><DT>extends <AHREF="../../../com/mxgraph/util/mxEventSource.html"title="class in com.mxgraph.util">mxEventSource</A></DL>
</PRE>
<P>
Manager for swimlanes and nested swimlanes that sets the size of newly added
swimlanes to that of their siblings, and propagates changes to the size of a
swimlane to its siblings, if siblings is true, and its ancestors, if
<THALIGN="left"><B>Nested classes/interfaces inherited from class com.mxgraph.util.<AHREF="../../../com/mxgraph/util/mxEventSource.html"title="class in com.mxgraph.util">mxEventSource</A></B></TH>
</TR>
<TRBGCOLOR="white"CLASS="TableRowColor">
<TD><CODE><AHREF="../../../com/mxgraph/util/mxEventSource.mxIEventListener.html"title="interface in com.mxgraph.util">mxEventSource.mxIEventListener</A></CODE></TD>
<CODE>protected <AHREF="../../../com/mxgraph/util/mxEventSource.mxIEventListener.html"title="interface in com.mxgraph.util">mxEventSource.mxIEventListener</A></CODE></FONT></TD>
<CODE>protected <AHREF="../../../com/mxgraph/util/mxEventSource.mxIEventListener.html"title="interface in com.mxgraph.util">mxEventSource.mxIEventListener</A></CODE></FONT></TD>
<THALIGN="left"><B>Fields inherited from class com.mxgraph.util.<AHREF="../../../com/mxgraph/util/mxEventSource.html"title="class in com.mxgraph.util">mxEventSource</A></B></TH>
<TD><CODE><B><AHREF="../../../com/mxgraph/view/mxSwimlaneManager.html#mxSwimlaneManager(com.mxgraph.view.mxGraph)">mxSwimlaneManager</A></B>(<AHREF="../../../com/mxgraph/view/mxGraph.html"title="class in com.mxgraph.view">mxGraph</A> graph)</CODE>
<TD><CODE><B><AHREF="../../../com/mxgraph/view/mxSwimlaneManager.html#cellsAdded(java.lang.Object[])">cellsAdded</A></B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</A>[] cells)</CODE>
<BR>
Called if any cells have been added.</TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/view/mxSwimlaneManager.html#cellsResized(java.lang.Object[])">cellsResized</A></B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</A>[] cells)</CODE>
<BR>
Called if any cells have been resizes.</TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/view/mxSwimlaneManager.html#isCellHorizontal(java.lang.Object)">isCellHorizontal</A></B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</A> cell)</CODE>
<BR>
Returns true if the given cell is horizontal.</TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/view/mxSwimlaneManager.html#isSwimlaneIgnored(java.lang.Object)">isSwimlaneIgnored</A></B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</A> swimlane)</CODE>
<BR>
Returns true if the given swimlane should be ignored.</TD>
<TD><CODE><B><AHREF="../../../com/mxgraph/view/mxSwimlaneManager.html#resizeSwimlane(java.lang.Object, double, double)">resizeSwimlane</A></B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</A> swimlane,
double w,
double h)</CODE>
<BR>
Sets the width or height of the given swimlane to the given value depending
<TD><CODE><B><AHREF="../../../com/mxgraph/view/mxSwimlaneManager.html#setGraph(com.mxgraph.view.mxGraph)">setGraph</A></B>(<AHREF="../../../com/mxgraph/view/mxGraph.html"title="class in com.mxgraph.view">mxGraph</A> graph)</CODE>
<TD><CODE><B><AHREF="../../../com/mxgraph/view/mxSwimlaneManager.html#swimlaneAdded(java.lang.Object)">swimlaneAdded</A></B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</A> swimlane)</CODE>
<BR>
Called for each swimlane which has been added.</TD>
<THALIGN="left"><B>Methods inherited from class com.mxgraph.util.<AHREF="../../../com/mxgraph/util/mxEventSource.html"title="class in com.mxgraph.util">mxEventSource</A></B></TH>
<THALIGN="left"><B>Methods inherited from class java.lang.<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</A></B></TH>
</TR>
<TRBGCOLOR="white"CLASS="TableRowColor">
<TD><CODE><AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#clone()"title="class or interface in java.lang">clone</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)"title="class or interface in java.lang">equals</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#finalize()"title="class or interface in java.lang">finalize</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()"title="class or interface in java.lang">getClass</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()"title="class or interface in java.lang">hashCode</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notify()"title="class or interface in java.lang">notify</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notifyAll()"title="class or interface in java.lang">notifyAll</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#toString()"title="class or interface in java.lang">toString</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait()"title="class or interface in java.lang">wait</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long)"title="class or interface in java.lang">wait</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long, int)"title="class or interface in java.lang">wait</A></CODE></TD>
protected <AHREF="../../../com/mxgraph/view/mxGraph.html"title="class in com.mxgraph.view">mxGraph</A><B>graph</B></PRE>
<DL>
<DD>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.
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="enabled"><!----></A><H3>
enabled</H3>
<PRE>
protected boolean <B>enabled</B></PRE>
<DL>
<DD>Optional string that specifies the value of the attribute to be passed
to mxCell.is to check if the rule applies to a cell.
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="horizontal"><!----></A><H3>
horizontal</H3>
<PRE>
protected boolean <B>horizontal</B></PRE>
<DL>
<DD>Optional string that specifies the attributename to be passed to
mxCell.is to check if the rule applies to a cell.
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="addEnabled"><!----></A><H3>
addEnabled</H3>
<PRE>
protected boolean <B>addEnabled</B></PRE>
<DL>
<DD>Specifies if newly added cells should be resized to match the size of their
existing siblings. Default is true.
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="resizeEnabled"><!----></A><H3>
resizeEnabled</H3>
<PRE>
protected boolean <B>resizeEnabled</B></PRE>
<DL>
<DD>Specifies if resizing of swimlanes should be handled. Default is true.
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="addHandler"><!----></A><H3>
addHandler</H3>
<PRE>
protected <AHREF="../../../com/mxgraph/util/mxEventSource.mxIEventListener.html"title="interface in com.mxgraph.util">mxEventSource.mxIEventListener</A><B>addHandler</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<ANAME="resizeHandler"><!----></A><H3>
resizeHandler</H3>
<PRE>
protected <AHREF="../../../com/mxgraph/util/mxEventSource.mxIEventListener.html"title="interface in com.mxgraph.util">mxEventSource.mxIEventListener</A><B>resizeHandler</B></PRE>
protected boolean <B>isSwimlaneIgnored</B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</A> swimlane)</PRE>
<DL>
<DD>Returns true if the given swimlane should be ignored.
protected boolean <B>isCellHorizontal</B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</A> cell)</PRE>
<DL>
<DD>Returns true if the given cell is horizontal. If the given cell is not a
swimlane, then the <horizontal> value is returned.
protected void <B>cellsAdded</B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</A>[] cells)</PRE>
<DL>
<DD>Called if any cells have been added. Calls swimlaneAdded for all swimlanes
protected void <B>swimlaneAdded</B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</A> swimlane)</PRE>
<DL>
<DD>Called for each swimlane which has been added. This finds a reference
sibling swimlane and applies its size to the newly added swimlane. If no
sibling can be found then the parent swimlane is resized so that the
protected void <B>cellsResized</B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</A>[] cells)</PRE>
<DL>
<DD>Called if any cells have been resizes. Calls swimlaneResized for all
protected void <B>resizeSwimlane</B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</A> swimlane,
double w,
double h)</PRE>
<DL>
<DD>Sets the width or height of the given swimlane to the given value depending
on <horizontal>. If <horizontal> is true, then the width is set, otherwise,