<AHREF="../../../../com/mxgraph/swing/handler/mxRotationHandler.html"title="class in com.mxgraph.swing.handler"><B>PREV CLASS</B></A>
<AHREF="../../../../com/mxgraph/swing/handler/mxSelectionCellsHandler.html"title="class in com.mxgraph.swing.handler"><B>NEXT CLASS</B></A></FONT></TD>
<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 "><B>com.mxgraph.swing.handler.mxRubberband</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B><DD><AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/event/MouseListener.html?is-external=true"title="class or interface in java.awt.event">MouseListener</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/event/MouseMotionListener.html?is-external=true"title="class or interface in java.awt.event">MouseMotionListener</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/util/EventListener.html?is-external=true"title="class or interface in java.util">EventListener</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public class <B>mxRubberband</B><DT>extends <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><DT>implements <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/event/MouseListener.html?is-external=true"title="class or interface in java.awt.event">MouseListener</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/event/MouseMotionListener.html?is-external=true"title="class or interface in java.awt.event">MouseMotionListener</A></DL>
<CODE>protected <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Color.html?is-external=true"title="class or interface in java.awt">Color</A></CODE></FONT></TD>
<CODE>protected <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Rectangle.html?is-external=true"title="class or interface in java.awt">Rectangle</A></CODE></FONT></TD>
<CODE>protected <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Color.html?is-external=true"title="class or interface in java.awt">Color</A></CODE></FONT></TD>
<CODE>protected <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Point.html?is-external=true"title="class or interface in java.awt">Point</A></CODE></FONT></TD>
<CODE>protected <AHREF="../../../../com/mxgraph/swing/mxGraphComponent.html"title="class in com.mxgraph.swing">mxGraphComponent</A></CODE></FONT></TD>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/handler/mxRubberband.html#mxRubberband(com.mxgraph.swing.mxGraphComponent)">mxRubberband</A></B>(<AHREF="../../../../com/mxgraph/swing/mxGraphComponent.html"title="class in com.mxgraph.swing">mxGraphComponent</A> graphComponent)</CODE>
<BR>
Constructs a new rubberband selection for the given graph component.</TD>
<CODE> <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Color.html?is-external=true"title="class or interface in java.awt">Color</A></CODE></FONT></TD>
<CODE> <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Color.html?is-external=true"title="class or interface in java.awt">Color</A></CODE></FONT></TD>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/handler/mxRubberband.html#isRubberbandTrigger(java.awt.event.MouseEvent)">isRubberbandTrigger</A></B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/event/MouseEvent.html?is-external=true"title="class or interface in java.awt.event">MouseEvent</A> e)</CODE>
<BR>
Returns true if the given event should start the rubberband selection.</TD>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/handler/mxRubberband.html#mouseClicked(java.awt.event.MouseEvent)">mouseClicked</A></B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/event/MouseEvent.html?is-external=true"title="class or interface in java.awt.event">MouseEvent</A> arg0)</CODE>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/handler/mxRubberband.html#mouseDragged(java.awt.event.MouseEvent)">mouseDragged</A></B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/event/MouseEvent.html?is-external=true"title="class or interface in java.awt.event">MouseEvent</A> e)</CODE>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/handler/mxRubberband.html#mouseEntered(java.awt.event.MouseEvent)">mouseEntered</A></B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/event/MouseEvent.html?is-external=true"title="class or interface in java.awt.event">MouseEvent</A> arg0)</CODE>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/handler/mxRubberband.html#mouseExited(java.awt.event.MouseEvent)">mouseExited</A></B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/event/MouseEvent.html?is-external=true"title="class or interface in java.awt.event">MouseEvent</A> arg0)</CODE>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/handler/mxRubberband.html#mouseMoved(java.awt.event.MouseEvent)">mouseMoved</A></B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/event/MouseEvent.html?is-external=true"title="class or interface in java.awt.event">MouseEvent</A> arg0)</CODE>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/handler/mxRubberband.html#mousePressed(java.awt.event.MouseEvent)">mousePressed</A></B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/event/MouseEvent.html?is-external=true"title="class or interface in java.awt.event">MouseEvent</A> e)</CODE>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/handler/mxRubberband.html#mouseReleased(java.awt.event.MouseEvent)">mouseReleased</A></B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/event/MouseEvent.html?is-external=true"title="class or interface in java.awt.event">MouseEvent</A> e)</CODE>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/handler/mxRubberband.html#paintRubberband(java.awt.Graphics)">paintRubberband</A></B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Graphics.html?is-external=true"title="class or interface in java.awt">Graphics</A> g)</CODE>
<CODE> <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>[]</CODE></FONT></TD>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/handler/mxRubberband.html#select(java.awt.Rectangle, java.awt.event.MouseEvent)">select</A></B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Rectangle.html?is-external=true"title="class or interface in java.awt">Rectangle</A> rect,
<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/event/MouseEvent.html?is-external=true"title="class or interface in java.awt.event">MouseEvent</A> e)</CODE>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/handler/mxRubberband.html#setBorderColor(java.awt.Color)">setBorderColor</A></B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Color.html?is-external=true"title="class or interface in java.awt">Color</A> value)</CODE>
<BR>
Sets the border color.</TD>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/handler/mxRubberband.html#setFillColor(java.awt.Color)">setFillColor</A></B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Color.html?is-external=true"title="class or interface in java.awt">Color</A> value)</CODE>
<BR>
Sets the fill color.</TD>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/handler/mxRubberband.html#start(java.awt.Point)">start</A></B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Point.html?is-external=true"title="class or interface in java.awt">Point</A> point)</CODE>
<BR>
Starts the rubberband selection at the given point.</TD>
<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="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Color.html?is-external=true"title="class or interface in java.awt">Color</A><B>borderColor</B></PRE>
<DL>
<DD>Defines the border color for drawing the rubberband selection.
Default is mxConstants.RUBBERBAND_BORDERCOLOR.
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="fillColor"><!----></A><H3>
fillColor</H3>
<PRE>
protected <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Color.html?is-external=true"title="class or interface in java.awt">Color</A><B>fillColor</B></PRE>
<DL>
<DD>Defines the color to be used for filling the rubberband selection.
Default is mxConstants.RUBBERBAND_FILLCOLOR.
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="graphComponent"><!----></A><H3>
graphComponent</H3>
<PRE>
protected <AHREF="../../../../com/mxgraph/swing/mxGraphComponent.html"title="class in com.mxgraph.swing">mxGraphComponent</A><B>graphComponent</B></PRE>
<DL>
<DD>Reference to the enclosing graph container.
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="enabled"><!----></A><H3>
enabled</H3>
<PRE>
protected boolean <B>enabled</B></PRE>
<DL>
<DD>Specifies if the rubberband is enabled.
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="first"><!----></A><H3>
first</H3>
<PRE>
protected transient <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Point.html?is-external=true"title="class or interface in java.awt">Point</A><B>first</B></PRE>
<DL>
<DD>Holds the point where the selection has started.
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="bounds"><!----></A><H3>
bounds</H3>
<PRE>
protected transient <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Rectangle.html?is-external=true"title="class or interface in java.awt">Rectangle</A><B>bounds</B></PRE>
public <B>mxRubberband</B>(<AHREF="../../../../com/mxgraph/swing/mxGraphComponent.html"title="class in com.mxgraph.swing">mxGraphComponent</A> graphComponent)</PRE>
<DL>
<DD>Constructs a new rubberband selection for the given graph component.
<P>
<DL>
<DT><B>Parameters:</B><DD><CODE>graphComponent</CODE> - Component that contains the rubberband.</DL>
public void <B>setEnabled</B>(boolean enabled)</PRE>
<DL>
<DD>Sets the enabled state.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="getBorderColor()"><!----></A><H3>
getBorderColor</H3>
<PRE>
public <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Color.html?is-external=true"title="class or interface in java.awt">Color</A><B>getBorderColor</B>()</PRE>
public void <B>setBorderColor</B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Color.html?is-external=true"title="class or interface in java.awt">Color</A> value)</PRE>
<DL>
<DD>Sets the border color.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="getFillColor()"><!----></A><H3>
getFillColor</H3>
<PRE>
public <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Color.html?is-external=true"title="class or interface in java.awt">Color</A><B>getFillColor</B>()</PRE>
public void <B>setFillColor</B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Color.html?is-external=true"title="class or interface in java.awt">Color</A> value)</PRE>
public boolean <B>isRubberbandTrigger</B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/event/MouseEvent.html?is-external=true"title="class or interface in java.awt.event">MouseEvent</A> e)</PRE>
<DL>
<DD>Returns true if the given event should start the rubberband selection.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="start(java.awt.Point)"><!----></A><H3>
start</H3>
<PRE>
public void <B>start</B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Point.html?is-external=true"title="class or interface in java.awt">Point</A> point)</PRE>
<DL>
<DD>Starts the rubberband selection at the given point.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="reset()"><!----></A><H3>
reset</H3>
<PRE>
public void <B>reset</B>()</PRE>
<DL>
<DD>Resets the rubberband selection without carrying out the selection.
public <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>select</B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Rectangle.html?is-external=true"title="class or interface in java.awt">Rectangle</A> rect,
<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/event/MouseEvent.html?is-external=true"title="class or interface in java.awt.event">MouseEvent</A> e)</PRE>
public void <B>paintRubberband</B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Graphics.html?is-external=true"title="class or interface in java.awt">Graphics</A> g)</PRE>
public void <B>mousePressed</B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/event/MouseEvent.html?is-external=true"title="class or interface in java.awt.event">MouseEvent</A> e)</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/event/MouseListener.html?is-external=true#mousePressed(java.awt.event.MouseEvent)"title="class or interface in java.awt.event">mousePressed</A></CODE> in interface <CODE><AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/event/MouseListener.html?is-external=true"title="class or interface in java.awt.event">MouseListener</A></CODE></DL>
public void <B>mouseDragged</B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/event/MouseEvent.html?is-external=true"title="class or interface in java.awt.event">MouseEvent</A> e)</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/event/MouseMotionListener.html?is-external=true#mouseDragged(java.awt.event.MouseEvent)"title="class or interface in java.awt.event">mouseDragged</A></CODE> in interface <CODE><AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/event/MouseMotionListener.html?is-external=true"title="class or interface in java.awt.event">MouseMotionListener</A></CODE></DL>
public void <B>mouseReleased</B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/event/MouseEvent.html?is-external=true"title="class or interface in java.awt.event">MouseEvent</A> e)</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/event/MouseListener.html?is-external=true#mouseReleased(java.awt.event.MouseEvent)"title="class or interface in java.awt.event">mouseReleased</A></CODE> in interface <CODE><AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/event/MouseListener.html?is-external=true"title="class or interface in java.awt.event">MouseListener</A></CODE></DL>
public void <B>mouseClicked</B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/event/MouseEvent.html?is-external=true"title="class or interface in java.awt.event">MouseEvent</A> arg0)</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/event/MouseListener.html?is-external=true#mouseClicked(java.awt.event.MouseEvent)"title="class or interface in java.awt.event">mouseClicked</A></CODE> in interface <CODE><AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/event/MouseListener.html?is-external=true"title="class or interface in java.awt.event">MouseListener</A></CODE></DL>
public void <B>mouseEntered</B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/event/MouseEvent.html?is-external=true"title="class or interface in java.awt.event">MouseEvent</A> arg0)</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/event/MouseListener.html?is-external=true#mouseEntered(java.awt.event.MouseEvent)"title="class or interface in java.awt.event">mouseEntered</A></CODE> in interface <CODE><AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/event/MouseListener.html?is-external=true"title="class or interface in java.awt.event">MouseListener</A></CODE></DL>
public void <B>mouseExited</B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/event/MouseEvent.html?is-external=true"title="class or interface in java.awt.event">MouseEvent</A> arg0)</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/event/MouseListener.html?is-external=true#mouseExited(java.awt.event.MouseEvent)"title="class or interface in java.awt.event">mouseExited</A></CODE> in interface <CODE><AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/event/MouseListener.html?is-external=true"title="class or interface in java.awt.event">MouseListener</A></CODE></DL>
public void <B>mouseMoved</B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/event/MouseEvent.html?is-external=true"title="class or interface in java.awt.event">MouseEvent</A> arg0)</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/event/MouseMotionListener.html?is-external=true#mouseMoved(java.awt.event.MouseEvent)"title="class or interface in java.awt.event">mouseMoved</A></CODE> in interface <CODE><AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/event/MouseMotionListener.html?is-external=true"title="class or interface in java.awt.event">MouseMotionListener</A></CODE></DL>
<AHREF="../../../../com/mxgraph/swing/handler/mxRotationHandler.html"title="class in com.mxgraph.swing.handler"><B>PREV CLASS</B></A>
<AHREF="../../../../com/mxgraph/swing/handler/mxSelectionCellsHandler.html"title="class in com.mxgraph.swing.handler"><B>NEXT CLASS</B></A></FONT></TD>