<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="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Component.html?is-external=true"title="class or interface in java.awt">java.awt.Component</A>
<IMGSRC="../../../../resources/inherit.gif"ALT="extended by "><AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Container.html?is-external=true"title="class or interface in java.awt">java.awt.Container</A>
<IMGSRC="../../../../resources/inherit.gif"ALT="extended by "><AHREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/swing/JComponent.html?is-external=true"title="class or interface in javax.swing">javax.swing.JComponent</A>
<IMGSRC="../../../../resources/inherit.gif"ALT="extended by "><B>com.mxgraph.swing.handler.mxCellMarker</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B><DD><AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/image/ImageObserver.html?is-external=true"title="class or interface in java.awt.image">ImageObserver</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/MenuContainer.html?is-external=true"title="class or interface in java.awt">MenuContainer</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/io/Serializable.html?is-external=true"title="class or interface in java.io">Serializable</A></DD>
</DL>
<DL>
<DT><B>Direct Known Subclasses:</B><DD><AHREF="../../../../com/mxgraph/swing/handler/mxCellTracker.html"title="class in com.mxgraph.swing.handler">mxCellTracker</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public class <B>mxCellMarker</B><DT>extends <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/swing/JComponent.html?is-external=true"title="class or interface in javax.swing">JComponent</A></DL>
</PRE>
<P>
Implements a mouse tracker that marks cells under the mouse.
This class fires the following event:
mxEvent.MARK fires in mark and unmark to notify the listener of a new cell
under the mouse. The <code>state</code> property contains the mxCellState
of the respective cell or null if no cell is under the mouse.
To create a cell marker which highlights cells "in-place", the following
code can be used:
<code>
mxCellMarker highlighter = new mxCellMarker(graphComponent) {
<THALIGN="left"><B>Nested classes/interfaces inherited from class javax.swing.<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/swing/JComponent.html?is-external=true"title="class or interface in javax.swing">JComponent</A></B></TH>
</TR>
<TRBGCOLOR="white"CLASS="TableRowColor">
<TD><CODE><AHREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/swing/JComponent.AccessibleJComponent.html?is-external=true"title="class or interface in javax.swing">JComponent.AccessibleJComponent</A></CODE></TD>
<THALIGN="left"><B>Nested classes/interfaces inherited from class java.awt.<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Container.html?is-external=true"title="class or interface in java.awt">Container</A></B></TH>
</TR>
<TRBGCOLOR="white"CLASS="TableRowColor">
<TD><CODE><AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Container.AccessibleAWTContainer.html?is-external=true"title="class or interface in java.awt">Container.AccessibleAWTContainer</A></CODE></TD>
<THALIGN="left"><B>Nested classes/interfaces inherited from class java.awt.<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Component.html?is-external=true"title="class or interface in java.awt">Component</A></B></TH>
</TR>
<TRBGCOLOR="white"CLASS="TableRowColor">
<TD><CODE><AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Component.AccessibleAWTComponent.html?is-external=true"title="class or interface in java.awt">Component.AccessibleAWTComponent</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Component.BaselineResizeBehavior.html?is-external=true"title="class or interface in java.awt">Component.BaselineResizeBehavior</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Component.BltBufferStrategy.html?is-external=true"title="class or interface in java.awt">Component.BltBufferStrategy</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Component.FlipBufferStrategy.html?is-external=true"title="class or interface in java.awt">Component.FlipBufferStrategy</A></CODE></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>static <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Stroke.html?is-external=true"title="class or interface in java.awt">Stroke</A></CODE></FONT></TD>
<CODE>protected <AHREF="../../../../com/mxgraph/swing/mxGraphComponent.html"title="class in com.mxgraph.swing">mxGraphComponent</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/Color.html?is-external=true"title="class or interface in java.awt">Color</A></CODE></FONT></TD>
<THALIGN="left"><B>Fields inherited from class javax.swing.<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/swing/JComponent.html?is-external=true"title="class or interface in javax.swing">JComponent</A></B></TH>
</TR>
<TRBGCOLOR="white"CLASS="TableRowColor">
<TD><CODE><AHREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/swing/JComponent.html?is-external=true#accessibleContext"title="class or interface in javax.swing">accessibleContext</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/swing/JComponent.html?is-external=true#listenerList"title="class or interface in javax.swing">listenerList</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/swing/JComponent.html?is-external=true#TOOL_TIP_TEXT_KEY"title="class or interface in javax.swing">TOOL_TIP_TEXT_KEY</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/swing/JComponent.html?is-external=true#ui"title="class or interface in javax.swing">ui</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/swing/JComponent.html?is-external=true#UNDEFINED_CONDITION"title="class or interface in javax.swing">UNDEFINED_CONDITION</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/swing/JComponent.html?is-external=true#WHEN_ANCESTOR_OF_FOCUSED_COMPONENT"title="class or interface in javax.swing">WHEN_ANCESTOR_OF_FOCUSED_COMPONENT</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/swing/JComponent.html?is-external=true#WHEN_FOCUSED"title="class or interface in javax.swing">WHEN_FOCUSED</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/swing/JComponent.html?is-external=true#WHEN_IN_FOCUSED_WINDOW"title="class or interface in javax.swing">WHEN_IN_FOCUSED_WINDOW</A></CODE></TD>
<THALIGN="left"><B>Fields inherited from class java.awt.<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Component.html?is-external=true"title="class or interface in java.awt">Component</A></B></TH>
</TR>
<TRBGCOLOR="white"CLASS="TableRowColor">
<TD><CODE><AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Component.html?is-external=true#BOTTOM_ALIGNMENT"title="class or interface in java.awt">BOTTOM_ALIGNMENT</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Component.html?is-external=true#CENTER_ALIGNMENT"title="class or interface in java.awt">CENTER_ALIGNMENT</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Component.html?is-external=true#LEFT_ALIGNMENT"title="class or interface in java.awt">LEFT_ALIGNMENT</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Component.html?is-external=true#RIGHT_ALIGNMENT"title="class or interface in java.awt">RIGHT_ALIGNMENT</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Component.html?is-external=true#TOP_ALIGNMENT"title="class or interface in java.awt">TOP_ALIGNMENT</A></CODE></TD>
<THALIGN="left"><B>Fields inherited from interface java.awt.image.<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/image/ImageObserver.html?is-external=true"title="class or interface in java.awt.image">ImageObserver</A></B></TH>
</TR>
<TRBGCOLOR="white"CLASS="TableRowColor">
<TD><CODE><AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/image/ImageObserver.html?is-external=true#ABORT"title="class or interface in java.awt.image">ABORT</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/image/ImageObserver.html?is-external=true#ALLBITS"title="class or interface in java.awt.image">ALLBITS</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/image/ImageObserver.html?is-external=true#ERROR"title="class or interface in java.awt.image">ERROR</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/image/ImageObserver.html?is-external=true#FRAMEBITS"title="class or interface in java.awt.image">FRAMEBITS</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/image/ImageObserver.html?is-external=true#HEIGHT"title="class or interface in java.awt.image">HEIGHT</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/image/ImageObserver.html?is-external=true#PROPERTIES"title="class or interface in java.awt.image">PROPERTIES</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/image/ImageObserver.html?is-external=true#SOMEBITS"title="class or interface in java.awt.image">SOMEBITS</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/image/ImageObserver.html?is-external=true#WIDTH"title="class or interface in java.awt.image">WIDTH</A></CODE></TD>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/handler/mxCellMarker.html#mxCellMarker(com.mxgraph.swing.mxGraphComponent)">mxCellMarker</A></B>(<AHREF="../../../../com/mxgraph/swing/mxGraphComponent.html"title="class in com.mxgraph.swing">mxGraphComponent</A> graphComponent)</CODE>
<BR>
Constructs a new marker for the given graph component.</TD>
</TR>
<TRBGCOLOR="white"CLASS="TableRowColor">
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/handler/mxCellMarker.html#mxCellMarker(com.mxgraph.swing.mxGraphComponent, java.awt.Color)">mxCellMarker</A></B>(<AHREF="../../../../com/mxgraph/swing/mxGraphComponent.html"title="class in com.mxgraph.swing">mxGraphComponent</A> graphComponent,
<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> validColor)</CODE>
<BR>
Constructs a new marker for the given graph component.</TD>
</TR>
<TRBGCOLOR="white"CLASS="TableRowColor">
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/handler/mxCellMarker.html#mxCellMarker(com.mxgraph.swing.mxGraphComponent, java.awt.Color, java.awt.Color)">mxCellMarker</A></B>(<AHREF="../../../../com/mxgraph/swing/mxGraphComponent.html"title="class in com.mxgraph.swing">mxGraphComponent</A> graphComponent,
<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> validColor,
<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> invalidColor)</CODE>
<BR>
Constructs a new marker for the given graph component.</TD>
</TR>
<TRBGCOLOR="white"CLASS="TableRowColor">
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/handler/mxCellMarker.html#mxCellMarker(com.mxgraph.swing.mxGraphComponent, java.awt.Color, java.awt.Color, double)">mxCellMarker</A></B>(<AHREF="../../../../com/mxgraph/swing/mxGraphComponent.html"title="class in com.mxgraph.swing">mxGraphComponent</A> graphComponent,
<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> validColor,
<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> invalidColor,
double hotspot)</CODE>
<BR>
Constructs a new marker for the given graph component.</TD>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/handler/mxCellMarker.html#addListener(java.lang.String, com.mxgraph.util.mxEventSource.mxIEventListener)">addListener</A></B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</A> eventName,
<AHREF="../../../../com/mxgraph/util/mxEventSource.mxIEventListener.html"title="interface in com.mxgraph.util">mxEventSource.mxIEventListener</A> listener)</CODE>
<BR>
Adds the given event listener.</TD>
<CODE>protected <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/mxCellMarker.html#getCell(java.awt.event.MouseEvent)">getCell</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 the state at the given location.</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>
<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>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/handler/mxCellMarker.html#getMarkerColor(java.awt.event.MouseEvent, com.mxgraph.view.mxCellState, boolean)">getMarkerColor</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,
<AHREF="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</A> state,
boolean isValid)</CODE>
<BR>
Returns the valid- or invalidColor depending on the value of isValid.</TD>
<CODE>protected <AHREF="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</A></CODE></FONT></TD>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/handler/mxCellMarker.html#getState(java.awt.event.MouseEvent)">getState</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>
Uses getCell, getMarkedState and intersects to return the state for
<CODE>protected <AHREF="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</A></CODE></FONT></TD>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/handler/mxCellMarker.html#getStateToMark(com.mxgraph.view.mxCellState)">getStateToMark</A></B>(<AHREF="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</A> state)</CODE>
<BR>
Returns the state to be marked for the given state under the mouse.</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/mxCellMarker.html#highlight(com.mxgraph.view.mxCellState, java.awt.Color)">highlight</A></B>(<AHREF="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</A> state,
<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> color)</CODE>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/handler/mxCellMarker.html#highlight(com.mxgraph.view.mxCellState, java.awt.Color, boolean)">highlight</A></B>(<AHREF="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</A> state,
<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> color,
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/handler/mxCellMarker.html#intersects(com.mxgraph.view.mxCellState, java.awt.event.MouseEvent)">intersects</A></B>(<AHREF="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</A> state,
<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 mouse event intersects the given state.</TD>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/handler/mxCellMarker.html#isValidState(com.mxgraph.view.mxCellState)">isValidState</A></B>(<AHREF="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</A> state)</CODE>
<BR>
Returns true if the given state is a valid state.</TD>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/handler/mxCellMarker.html#paint(java.awt.Graphics)">paint</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>
<BR>
Paints the outline of the markedState with the currentColor.</TD>
<CODE> <AHREF="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</A></CODE></FONT></TD>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/handler/mxCellMarker.html#process(java.awt.event.MouseEvent)">process</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>
Processes the given event and marks the state returned by getStateAt
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/handler/mxCellMarker.html#removeListener(com.mxgraph.util.mxEventSource.mxIEventListener)">removeListener</A></B>(<AHREF="../../../../com/mxgraph/util/mxEventSource.mxIEventListener.html"title="interface in com.mxgraph.util">mxEventSource.mxIEventListener</A> listener)</CODE>
<BR>
Removes the given event listener.</TD>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/handler/mxCellMarker.html#removeListener(com.mxgraph.util.mxEventSource.mxIEventListener, java.lang.String)">removeListener</A></B>(<AHREF="../../../../com/mxgraph/util/mxEventSource.mxIEventListener.html"title="interface in com.mxgraph.util">mxEventSource.mxIEventListener</A> listener,
<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</A> eventName)</CODE>
<BR>
Removes the given event listener for the specified event name.</TD>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/handler/mxCellMarker.html#setCurrentColor(java.awt.Color)">setCurrentColor</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 current color.</TD>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/handler/mxCellMarker.html#setInvalidColor(java.awt.Color)">setInvalidColor</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 color used for invalid highlights.</TD>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/handler/mxCellMarker.html#setMarkedState(com.mxgraph.view.mxCellState)">setMarkedState</A></B>(<AHREF="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</A> value)</CODE>
<BR>
Sets the marked state.</TD>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/handler/mxCellMarker.html#setValidColor(java.awt.Color)">setValidColor</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 color used for valid highlights.</TD>
<THALIGN="left"><B>Methods inherited from class javax.swing.<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/swing/JComponent.html?is-external=true"title="class or interface in javax.swing">JComponent</A></B></TH>
</TR>
<TRBGCOLOR="white"CLASS="TableRowColor">
<TD><CODE><AHREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/swing/JComponent.html?is-external=true#addAncestorListener(javax.swing.event.AncestorListener)"title="class or interface in javax.swing">addAncestorListener</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/swing/JComponent.html?is-external=true#addNotify()"title="class or interface in javax.swing">addNotify</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/swing/JComponent.html?is-external=true#addVetoableChangeListener(java.beans.VetoableChangeListener)"title="class or interface in javax.swing">addVetoableChangeListener</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/swing/JComponent.html?is-external=true#computeVisibleRect(java.awt.Rectangle)"title="class or interface in javax.swing">computeVisibleRect</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/swing/JComponent.html?is-external=true#contains(int, int)"title="class or interface in javax.swing">contains</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/swing/JComponent.html?is-external=true#createToolTip()"title="class or interface in javax.swing">createToolTip</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/swing/JComponent.html?is-external=true#disable()"title="class or interface in javax.swing">disable</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/swing/JComponent.html?is-external=true#enable()"title="class or interface in javax.swing">enable</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/swing/JComponent.html?is-external=true#firePropertyChange(java.lang.String, boolean, boolean)"title="class or interface in javax.swing">firePropertyChange</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/swing/JComponent.html?is-external=true#firePropertyChange(java.lang.String, char, char)"title="class or interface in javax.swing">firePropertyChange</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/swing/JComponent.html?is-external=true#firePropertyChange(java.lang.String, int, int)"title="class or interface in javax.swing">firePropertyChange</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/swing/JComponent.html?is-external=true#fireVetoableChange(java.lang.String, java.lang.Object, java.lang.Object)"title="class or interface in javax.swing">fireVetoableChange</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/swing/JComponent.html?is-external=true#getAccessibleContext()"title="class or interface in javax.swing">getAccessibleContext</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/swing/JComponent.html?is-external=true#getActionForKeyStroke(javax.swing.KeyStroke)"title="class or interface in javax.swing">getActionForKeyStroke</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/swing/JComponent.html?is-external=true#getActionMap()"title="class or interface in javax.swing">getActionMap</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/swing/JComponent.html?is-external=true#getAlignmentX()"title="class or interface in javax.swing">getAlignmentX</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/swing/JComponent.html?is-external=true#getAlignmentY()"title="class or interface in javax.swing">getAlignmentY</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/swing/JComponent.html?is-external=true#getAncestorListeners()"title="class or interface in javax.swing">getAncestorListeners</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/swing/JComponent.html?is-external=true#getAutoscrolls()"title="class or interface in javax.swing">getAutoscrolls</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/swing/JComponent.html?is-external=true#getBaseline(int, int)"title="class or interface in javax.swing">getBaseline</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/swing/JComponent.html?is-external=true#getBaselineResizeB
<THALIGN="left"><B>Methods inherited from class java.awt.<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Container.html?is-external=true"title="class or interface in java.awt">Container</A></B></TH>
</TR>
<TRBGCOLOR="white"CLASS="TableRowColor">
<TD><CODE><AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Container.html?is-external=true#add(java.awt.Component)"title="class or interface in java.awt">add</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Container.html?is-external=true#add(java.awt.Component, int)"title="class or interface in java.awt">add</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Container.html?is-external=true#add(java.awt.Component, java.lang.Object)"title="class or interface in java.awt">add</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Container.html?is-external=true#add(java.awt.Component, java.lang.Object, int)"title="class or interface in java.awt">add</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Container.html?is-external=true#add(java.lang.String, java.awt.Component)"title="class or interface in java.awt">add</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Container.html?is-external=true#addContainerListener(java.awt.event.ContainerListener)"title="class or interface in java.awt">addContainerListener</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Container.html?is-external=true#addImpl(java.awt.Component, java.lang.Object, int)"title="class or interface in java.awt">addImpl</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Container.html?is-external=true#addPropertyChangeListener(java.beans.PropertyChangeListener)"title="class or interface in java.awt">addPropertyChangeListener</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Container.html?is-external=true#addPropertyChangeListener(java.lang.String, java.beans.PropertyChangeListener)"title="class or interface in java.awt">addPropertyChangeListener</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Container.html?is-external=true#applyComponentOrientation(java.awt.ComponentOrientation)"title="class or interface in java.awt">applyComponentOrientation</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Container.html?is-external=true#areFocusTraversalKeysSet(int)"title="class or interface in java.awt">areFocusTraversalKeysSet</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Container.html?is-external=true#countComponents()"title="class or interface in java.awt">countComponents</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Container.html?is-external=true#deliverEvent(java.awt.Event)"title="class or interface in java.awt">deliverEvent</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Container.html?is-external=true#doLayout()"title="class or interface in java.awt">doLayout</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Container.html?is-external=true#findComponentAt(int, int)"title="class or interface in java.awt">findComponentAt</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Container.html?is-external=true#findComponentAt(java.awt.Point)"title="class or interface in java.awt">findComponentAt</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Container.html?is-external=true#getComponent(int)"title="class or interface in java.awt">getComponent</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Container.html?is-external=true#getComponentAt(int, int)"title="class or interface in java.awt">getComponentAt</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Container.html?is-external=true#getComponentAt(java.awt.Point)"title="class or interface in java.awt">getComponentAt</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Container.html?is-external=true#getComponentCount()"title="class or interface in java.awt">getComponentCount</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Container.html?is-external=true#getComponents()"title="class or interface in java.awt">getComponents</A>, <AHREF="http://downl
<THALIGN="left"><B>Methods inherited from class java.awt.<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Component.html?is-external=true"title="class or interface in java.awt">Component</A></B></TH>
</TR>
<TRBGCOLOR="white"CLASS="TableRowColor">
<TD><CODE><AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Component.html?is-external=true#action(java.awt.Event, java.lang.Object)"title="class or interface in java.awt">action</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Component.html?is-external=true#add(java.awt.PopupMenu)"title="class or interface in java.awt">add</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Component.html?is-external=true#addComponentListener(java.awt.event.ComponentListener)"title="class or interface in java.awt">addComponentListener</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Component.html?is-external=true#addFocusListener(java.awt.event.FocusListener)"title="class or interface in java.awt">addFocusListener</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Component.html?is-external=true#addHierarchyBoundsListener(java.awt.event.HierarchyBoundsListener)"title="class or interface in java.awt">addHierarchyBoundsListener</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Component.html?is-external=true#addHierarchyListener(java.awt.event.HierarchyListener)"title="class or interface in java.awt">addHierarchyListener</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Component.html?is-external=true#addInputMethodListener(java.awt.event.InputMethodListener)"title="class or interface in java.awt">addInputMethodListener</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Component.html?is-external=true#addKeyListener(java.awt.event.KeyListener)"title="class or interface in java.awt">addKeyListener</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Component.html?is-external=true#addMouseListener(java.awt.event.MouseListener)"title="class or interface in java.awt">addMouseListener</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Component.html?is-external=true#addMouseMotionListener(java.awt.event.MouseMotionListener)"title="class or interface in java.awt">addMouseMotionListener</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Component.html?is-external=true#addMouseWheelListener(java.awt.event.MouseWheelListener)"title="class or interface in java.awt">addMouseWheelListener</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Component.html?is-external=true#bounds()"title="class or interface in java.awt">bounds</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Component.html?is-external=true#checkImage(java.awt.Image, java.awt.image.ImageObserver)"title="class or interface in java.awt">checkImage</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Component.html?is-external=true#checkImage(java.awt.Image, int, int, java.awt.image.ImageObserver)"title="class or interface in java.awt">checkImage</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Component.html?is-external=true#coalesceEvents(java.awt.AWTEvent, java.awt.AWTEvent)"title="class or interface in java.awt">coalesceEvents</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Component.html?is-external=true#contains(java.awt.Point)"title="class or interface in java.awt">contains</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Component.html?is-external=true#createImage(java.awt.image.ImageProducer)"title="class or interface in java.awt">createImage</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Component.html?is-external=true#createImage(int, int)"title="class or interface in java.awt">createImage</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Component.html?is-external=true#createVolatileImage(int, int)"title="class or interface in java.awt">createVolatileImage</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Component.html?is-external=true#createVolatileImage(int, int, java.awt.ImageCapabilities)"title="class or interface in java.awt"
<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#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>
<DD>Specifies if the highlights should appear on top of everything
else in the overlay pane. Default is false.
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="DEFAULT_STROKE"><!----></A><H3>
DEFAULT_STROKE</H3>
<PRE>
public static <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Stroke.html?is-external=true"title="class or interface in java.awt">Stroke</A><B>DEFAULT_STROKE</B></PRE>
<DL>
<DD>Specifies the default stroke for the marker.
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="eventSource"><!----></A><H3>
eventSource</H3>
<PRE>
protected <AHREF="../../../../com/mxgraph/util/mxEventSource.html"title="class in com.mxgraph.util">mxEventSource</A><B>eventSource</B></PRE>
<DL>
<DD>Holds the event source.
<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>Holds the enclosing graph component.
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="enabled"><!----></A><H3>
enabled</H3>
<PRE>
protected boolean <B>enabled</B></PRE>
<DL>
<DD>Specifies if the marker is enabled. Default is true.
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="hotspot"><!----></A><H3>
hotspot</H3>
<PRE>
protected double <B>hotspot</B></PRE>
<DL>
<DD>Specifies the portion of the width and height that should trigger
a highlight. The area around the center of the cell to be marked is used
as the hotspot. Possible values are between 0 and 1. Default is
mxConstants.DEFAULT_HOTSPOT.
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="hotspotEnabled"><!----></A><H3>
hotspotEnabled</H3>
<PRE>
protected boolean <B>hotspotEnabled</B></PRE>
<DL>
<DD>Specifies if the hotspot is enabled. Default is false.
<DD>Specifies if the the content area of swimlane should be non-transparent
to mouse events. Default is false.
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="validColor"><!----></A><H3>
validColor</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>validColor</B></PRE>
<DL>
<DD>Specifies the valid- and invalidColor for the marker.
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="invalidColor"><!----></A><H3>
invalidColor</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>invalidColor</B></PRE>
<DL>
<DD>Specifies the valid- and invalidColor for the marker.
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="currentColor"><!----></A><H3>
currentColor</H3>
<PRE>
protected transient <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>currentColor</B></PRE>
<DL>
<DD>Holds the current marker color.
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="validState"><!----></A><H3>
validState</H3>
<PRE>
protected transient <AHREF="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</A><B>validState</B></PRE>
<DL>
<DD>Holds the marked state if it is valid.
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="markedState"><!----></A><H3>
markedState</H3>
<PRE>
protected transient <AHREF="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</A><B>markedState</B></PRE>
public <B>mxCellMarker</B>(<AHREF="../../../../com/mxgraph/swing/mxGraphComponent.html"title="class in com.mxgraph.swing">mxGraphComponent</A> graphComponent)</PRE>
<DL>
<DD>Constructs a new marker for the given graph component.
public <B>mxCellMarker</B>(<AHREF="../../../../com/mxgraph/swing/mxGraphComponent.html"title="class in com.mxgraph.swing">mxGraphComponent</A> graphComponent,
<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> validColor)</PRE>
<DL>
<DD>Constructs a new marker for the given graph component.
public <B>mxCellMarker</B>(<AHREF="../../../../com/mxgraph/swing/mxGraphComponent.html"title="class in com.mxgraph.swing">mxGraphComponent</A> graphComponent,
<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> validColor,
<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> invalidColor)</PRE>
<DL>
<DD>Constructs a new marker for the given graph component.
public <B>mxCellMarker</B>(<AHREF="../../../../com/mxgraph/swing/mxGraphComponent.html"title="class in com.mxgraph.swing">mxGraphComponent</A> graphComponent,
<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> validColor,
<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> invalidColor,
double hotspot)</PRE>
<DL>
<DD>Constructs a new marker for the given graph component.
public void <B>setEnabled</B>(boolean enabled)</PRE>
<DL>
<DD>Sets the enabled state of the marker.
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><AHREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/swing/JComponent.html?is-external=true#setEnabled(boolean)"title="class or interface in javax.swing">setEnabled</A></CODE> in class <CODE><AHREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/swing/JComponent.html?is-external=true"title="class or interface in javax.swing">JComponent</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="isEnabled()"><!----></A><H3>
isEnabled</H3>
<PRE>
public boolean <B>isEnabled</B>()</PRE>
<DL>
<DD>Returns true if the marker is enabled, that is, if it processes events
in process.
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Component.html?is-external=true#isEnabled()"title="class or interface in java.awt">isEnabled</A></CODE> in class <CODE><AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Component.html?is-external=true"title="class or interface in java.awt">Component</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="setHotspot(double)"><!----></A><H3>
setHotspot</H3>
<PRE>
public void <B>setHotspot</B>(double hotspot)</PRE>
public void <B>setValidColor</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 color used for valid highlights.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="getValidColor()"><!----></A><H3>
getValidColor</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>getValidColor</B>()</PRE>
public void <B>setInvalidColor</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 color used for invalid highlights.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="getInvalidColor()"><!----></A><H3>
getInvalidColor</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>getInvalidColor</B>()</PRE>
<DL>
<DD>Returns the color used for invalid highlights.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="hasValidState()"><!----></A><H3>
hasValidState</H3>
<PRE>
public boolean <B>hasValidState</B>()</PRE>
<DL>
<DD>Returns true if validState is not null.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="getValidState()"><!----></A><H3>
getValidState</H3>
<PRE>
public <AHREF="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</A><B>getValidState</B>()</PRE>
public void <B>setCurrentColor</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 current color.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="getCurrentColor()"><!----></A><H3>
getCurrentColor</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>getCurrentColor</B>()</PRE>
public void <B>setMarkedState</B>(<AHREF="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</A> value)</PRE>
<DL>
<DD>Sets the marked state.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="getMarkedState()"><!----></A><H3>
getMarkedState</H3>
<PRE>
public <AHREF="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</A><B>getMarkedState</B>()</PRE>
public <AHREF="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</A><B>process</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>Processes the given event and marks the state returned by getStateAt
with the color returned by getMarkerColor. If the markerColor is not
null, then the state is stored in markedState. If isValidState returns
true, then the state is stored in validState regardless of the marker
color. The state is returned regardless of the marker color and
public void <B>highlight</B>(<AHREF="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</A> state,
<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> color)</PRE>
public void <B>highlight</B>(<AHREF="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</A> state,
<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> color,
boolean valid)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="mark()"><!----></A><H3>
mark</H3>
<PRE>
public void <B>mark</B>()</PRE>
<DL>
<DD>Marks the markedState and fires a mxEvent.MARK event.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="unmark()"><!----></A><H3>
unmark</H3>
<PRE>
public void <B>unmark</B>()</PRE>
<DL>
<DD>Hides the marker and fires a mxEvent.MARK event.
protected boolean <B>isValidState</B>(<AHREF="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</A> state)</PRE>
<DL>
<DD>Returns true if the given state is a valid state. If this returns true,
then the state is stored in validState. The return value of this method
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>getMarkerColor</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,
<AHREF="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</A> state,
boolean isValid)</PRE>
<DL>
<DD>Returns the valid- or invalidColor depending on the value of isValid.
The given state is ignored by this implementation.
protected <AHREF="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</A><B>getState</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>Uses getCell, getMarkedState and intersects to return the state for
protected <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>getCell</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 the state at the given location. This uses mxGraph.getCellAt.
protected <AHREF="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</A><B>getStateToMark</B>(<AHREF="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</A> state)</PRE>
<DL>
<DD>Returns the state to be marked for the given state under the mouse. This
protected boolean <B>intersects</B>(<AHREF="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</A> state,
<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 mouse event intersects the given state. This
returns true if the hotspot is 0 or the event is inside the hotspot for
public void <B>addListener</B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</A> eventName,
<AHREF="../../../../com/mxgraph/util/mxEventSource.mxIEventListener.html"title="interface in com.mxgraph.util">mxEventSource.mxIEventListener</A> listener)</PRE>
public void <B>removeListener</B>(<AHREF="../../../../com/mxgraph/util/mxEventSource.mxIEventListener.html"title="interface in com.mxgraph.util">mxEventSource.mxIEventListener</A> listener)</PRE>
public void <B>removeListener</B>(<AHREF="../../../../com/mxgraph/util/mxEventSource.mxIEventListener.html"title="interface in com.mxgraph.util">mxEventSource.mxIEventListener</A> listener,
<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</A> eventName)</PRE>
<DL>
<DD>Removes the given event listener for the specified event name.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="paint(java.awt.Graphics)"><!----></A><H3>
paint</H3>
<PRE>
public void <B>paint</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>
<DL>
<DD>Paints the outline of the markedState with the currentColor.
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><AHREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/swing/JComponent.html?is-external=true#paint(java.awt.Graphics)"title="class or interface in javax.swing">paint</A></CODE> in class <CODE><AHREF="http://download.oracle.com/javase/1.5.0/docs/api/javax/swing/JComponent.html?is-external=true"title="class or interface in javax.swing">JComponent</A></CODE></DL>