<li><ahref="../../../../com/mxgraph/swing/handler/mxCellHandler.html"title="class in com.mxgraph.swing.handler"><spanclass="strong">Prev Class</span></a></li>
<li><ahref="../../../../com/mxgraph/swing/handler/mxCellTracker.html"title="class in com.mxgraph.swing.handler"><spanclass="strong">Next Class</span></a></li>
<li><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></li>
<li>
<ulclass="inheritance">
<li><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></li>
<li>
<ulclass="inheritance">
<li><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></li>
<li>
<ulclass="inheritance">
<li><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></li>
<li>
<ulclass="inheritance">
<li>com.mxgraph.swing.handler.mxCellMarker</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<divclass="description">
<ulclass="blockList">
<liclass="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<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>Direct Known Subclasses:</dt>
<dd><ahref="../../../../com/mxgraph/swing/handler/mxCellTracker.html"title="class in com.mxgraph.swing.handler">mxCellTracker</a></dd>
</dl>
<hr>
<br>
<pre>public class <spanclass="strong">mxCellMarker</span>
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></pre>
<divclass="block">Implements a mouse tracker that marks cells under the mouse.
<h3>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></h3>
<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></li>
<h3>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></h3>
<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></li>
<h3>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></h3>
<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></li>
<thclass="colFirst"scope="col">Modifier and Type</th>
<thclass="colLast"scope="col">Field and Description</th>
</tr>
<trclass="altColor">
<tdclass="colFirst"><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></td>
<divclass="block">Holds the current marker color.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><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></td>
<divclass="block">Specifies if the marker is enabled.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>protected <ahref="../../../../com/mxgraph/util/mxEventSource.html"title="class in com.mxgraph.util">mxEventSource</a></code></td>
<tdclass="colFirst"><code>protected <ahref="../../../../com/mxgraph/swing/mxGraphComponent.html"title="class in com.mxgraph.swing">mxGraphComponent</a></code></td>
<divclass="block">Specifies if the hotspot is enabled.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><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></td>
<divclass="block">Specifies if the highlights should appear on top of everything
else in the overlay pane.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>protected <ahref="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a></code></td>
<divclass="block">Specifies if the the content area of swimlane should be non-transparent
to mouse events.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><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></td>
<divclass="block">Specifies the valid- and invalidColor for the marker.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>protected <ahref="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a></code></td>
<h3>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></h3>
<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></li>
<h3>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></h3>
<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></li>
<h3>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></h3>
<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></li>
<thclass="colOne"scope="col">Constructor and Description</th>
</tr>
<trclass="altColor">
<tdclass="colOne"><code><strong><ahref="../../../../com/mxgraph/swing/handler/mxCellMarker.html#mxCellMarker(com.mxgraph.swing.mxGraphComponent)">mxCellMarker</a></strong>(<ahref="../../../../com/mxgraph/swing/mxGraphComponent.html"title="class in com.mxgraph.swing">mxGraphComponent</a> graphComponent)</code>
<divclass="block">Constructs a new marker for the given graph component.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colOne"><code><strong><ahref="../../../../com/mxgraph/swing/handler/mxCellMarker.html#mxCellMarker(com.mxgraph.swing.mxGraphComponent, java.awt.Color)">mxCellMarker</a></strong>(<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>
<divclass="block">Constructs a new marker for the given graph component.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colOne"><code><strong><ahref="../../../../com/mxgraph/swing/handler/mxCellMarker.html#mxCellMarker(com.mxgraph.swing.mxGraphComponent, java.awt.Color, java.awt.Color)">mxCellMarker</a></strong>(<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>
<divclass="block">Constructs a new marker for the given graph component.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colOne"><code><strong><ahref="../../../../com/mxgraph/swing/handler/mxCellMarker.html#mxCellMarker(com.mxgraph.swing.mxGraphComponent, java.awt.Color, java.awt.Color, double)">mxCellMarker</a></strong>(<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>
<divclass="block">Constructs a new marker for the given graph component.</div>
<thclass="colFirst"scope="col">Modifier and Type</th>
<thclass="colLast"scope="col">Method and Description</th>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../../com/mxgraph/swing/handler/mxCellMarker.html#addListener(java.lang.String, com.mxgraph.util.mxEventSource.mxIEventListener)">addListener</a></strong>(<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>
<divclass="block">Adds the given event listener.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><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></td>
<tdclass="colLast"><code><strong><ahref="../../../../com/mxgraph/swing/handler/mxCellMarker.html#getCell(java.awt.event.MouseEvent)">getCell</a></strong>(<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>
<divclass="block">Returns the state at the given location.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><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></td>
<tdclass="colFirst"><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></td>
<tdclass="colFirst"><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></td>
<tdclass="colLast"><code><strong><ahref="../../../../com/mxgraph/swing/handler/mxCellMarker.html#getMarkerColor(java.awt.event.MouseEvent, com.mxgraph.view.mxCellState, boolean)">getMarkerColor</a></strong>(<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>
<divclass="block">Returns the valid- or invalidColor depending on the value of isValid.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>protected <ahref="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../../com/mxgraph/swing/handler/mxCellMarker.html#getState(java.awt.event.MouseEvent)">getState</a></strong>(<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>
<divclass="block">Uses getCell, getMarkedState and intersects to return the state for
the given event.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>protected <ahref="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../../com/mxgraph/swing/handler/mxCellMarker.html#getStateToMark(com.mxgraph.view.mxCellState)">getStateToMark</a></strong>(<ahref="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state)</code>
<divclass="block">Returns the state to be marked for the given state under the mouse.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><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></td>
<divclass="block">Returns true if validState is not null.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../../com/mxgraph/swing/handler/mxCellMarker.html#highlight(com.mxgraph.view.mxCellState, java.awt.Color)">highlight</a></strong>(<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>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../../com/mxgraph/swing/handler/mxCellMarker.html#highlight(com.mxgraph.view.mxCellState, java.awt.Color, boolean)">highlight</a></strong>(<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,
<tdclass="colLast"><code><strong><ahref="../../../../com/mxgraph/swing/handler/mxCellMarker.html#intersects(com.mxgraph.view.mxCellState, java.awt.event.MouseEvent)">intersects</a></strong>(<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>
<divclass="block">Returns true if the given mouse event intersects the given state.</div>
<tdclass="colLast"><code><strong><ahref="../../../../com/mxgraph/swing/handler/mxCellMarker.html#isValidState(com.mxgraph.view.mxCellState)">isValidState</a></strong>(<ahref="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state)</code>
<divclass="block">Returns true if the given state is a valid state.</div>
<divclass="block">Marks the markedState and fires a mxEvent.MARK event.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../../com/mxgraph/swing/handler/mxCellMarker.html#paint(java.awt.Graphics)">paint</a></strong>(<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>
<divclass="block">Paints the outline of the markedState with the currentColor.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code><ahref="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../../com/mxgraph/swing/handler/mxCellMarker.html#process(java.awt.event.MouseEvent)">process</a></strong>(<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>
<divclass="block">Processes the given event and marks the state returned by getStateAt
with the color returned by getMarkerColor.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../../com/mxgraph/swing/handler/mxCellMarker.html#removeListener(com.mxgraph.util.mxEventSource.mxIEventListener)">removeListener</a></strong>(<ahref="../../../../com/mxgraph/util/mxEventSource.mxIEventListener.html"title="interface in com.mxgraph.util">mxEventSource.mxIEventListener</a> listener)</code>
<divclass="block">Removes the given event listener.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../../com/mxgraph/swing/handler/mxCellMarker.html#removeListener(com.mxgraph.util.mxEventSource.mxIEventListener, java.lang.String)">removeListener</a></strong>(<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>
<divclass="block">Removes the given event listener for the specified event name.</div>
<divclass="block">Resets the state of the cell marker.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../../com/mxgraph/swing/handler/mxCellMarker.html#setCurrentColor(java.awt.Color)">setCurrentColor</a></strong>(<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>
<divclass="block">Specifies whether the hotspot should be used in intersects.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../../com/mxgraph/swing/handler/mxCellMarker.html#setInvalidColor(java.awt.Color)">setInvalidColor</a></strong>(<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>
<divclass="block">Sets the color used for invalid highlights.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../../com/mxgraph/swing/handler/mxCellMarker.html#setMarkedState(com.mxgraph.view.mxCellState)">setMarkedState</a></strong>(<ahref="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> value)</code>
<divclass="block">Sets if the content area of swimlanes should not be transparent to
events.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>void</code></td>
<tdclass="colLast"><code><strong><ahref="../../../../com/mxgraph/swing/handler/mxCellMarker.html#setValidColor(java.awt.Color)">setValidColor</a></strong>(<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>
<divclass="block">Sets the color used for valid highlights.</div>
<h3>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></h3>
<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#getBaselineResizeBehav
<h3>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></h3>
<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://download.
<h3>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></h3>
<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">cre
<h3>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></h3>
<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></li>
<divclass="block">Specifies if the highlights should appear on top of everything
else in the overlay pane. Default is false.</div>
</li>
</ul>
<aname="DEFAULT_STROKE">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>DEFAULT_STROKE</h4>
<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> DEFAULT_STROKE</pre>
<divclass="block">Specifies the default stroke for the marker.</div>
</li>
</ul>
<aname="eventSource">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>eventSource</h4>
<pre>protected <ahref="../../../../com/mxgraph/util/mxEventSource.html"title="class in com.mxgraph.util">mxEventSource</a> eventSource</pre>
<divclass="block">Holds the event source.</div>
</li>
</ul>
<aname="graphComponent">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>graphComponent</h4>
<pre>protected <ahref="../../../../com/mxgraph/swing/mxGraphComponent.html"title="class in com.mxgraph.swing">mxGraphComponent</a> graphComponent</pre>
<divclass="block">Holds the enclosing graph component.</div>
</li>
</ul>
<aname="enabled">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>enabled</h4>
<pre>protected boolean enabled</pre>
<divclass="block">Specifies if the marker is enabled. Default is true.</div>
</li>
</ul>
<aname="hotspot">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>hotspot</h4>
<pre>protected double hotspot</pre>
<divclass="block">Specifies the portion of the width and height that should trigger
<divclass="block">Specifies if the the content area of swimlane should be non-transparent
to mouse events. Default is false.</div>
</li>
</ul>
<aname="validColor">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>validColor</h4>
<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> validColor</pre>
<divclass="block">Specifies the valid- and invalidColor for the marker.</div>
</li>
</ul>
<aname="invalidColor">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>invalidColor</h4>
<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> invalidColor</pre>
<divclass="block">Specifies the valid- and invalidColor for the marker.</div>
</li>
</ul>
<aname="currentColor">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>currentColor</h4>
<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> currentColor</pre>
<divclass="block">Holds the current marker color.</div>
</li>
</ul>
<aname="validState">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>validState</h4>
<pre>protected transient <ahref="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> validState</pre>
<divclass="block">Holds the marked state if it is valid.</div>
</li>
</ul>
<aname="markedState">
<!---->
</a>
<ulclass="blockListLast">
<liclass="blockList">
<h4>markedState</h4>
<pre>protected transient <ahref="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> markedState</pre>
<pre>public mxCellMarker(<ahref="../../../../com/mxgraph/swing/mxGraphComponent.html"title="class in com.mxgraph.swing">mxGraphComponent</a> graphComponent)</pre>
<divclass="block">Constructs a new marker for the given graph component.</div>
<pre>public mxCellMarker(<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>
<divclass="block">Constructs a new marker for the given graph component.</div>
<pre>public mxCellMarker(<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>
<divclass="block">Constructs a new marker for the given graph component.</div>
<pre>public mxCellMarker(<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>
<divclass="block">Constructs a new marker for the given graph component.</div>
<divclass="block">Sets the enabled state of the marker.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<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></dd>
</dl>
</li>
</ul>
<aname="isEnabled()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>isEnabled</h4>
<pre>public boolean isEnabled()</pre>
<divclass="block">Returns true if the marker is enabled, that is, if it processes events
in process.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<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></dd>
<divclass="block">Returns true if the content area of swimlanes is non-transparent to
events.</div>
</li>
</ul>
<aname="setValidColor(java.awt.Color)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>setValidColor</h4>
<pre>public void setValidColor(<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>
<divclass="block">Sets the color used for valid highlights.</div>
</li>
</ul>
<aname="getValidColor()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getValidColor</h4>
<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> getValidColor()</pre>
<divclass="block">Returns the color used for valid highlights.</div>
</li>
</ul>
<aname="setInvalidColor(java.awt.Color)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>setInvalidColor</h4>
<pre>public void setInvalidColor(<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>
<divclass="block">Sets the color used for invalid highlights.</div>
</li>
</ul>
<aname="getInvalidColor()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getInvalidColor</h4>
<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> getInvalidColor()</pre>
<divclass="block">Returns the color used for invalid highlights.</div>
<divclass="block">Returns true if validState is not null.</div>
</li>
</ul>
<aname="getValidState()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getValidState</h4>
<pre>public <ahref="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> getValidState()</pre>
<divclass="block">Returns the valid state.</div>
</li>
</ul>
<aname="setCurrentColor(java.awt.Color)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>setCurrentColor</h4>
<pre>public void setCurrentColor(<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>
<divclass="block">Sets the current color.</div>
</li>
</ul>
<aname="getCurrentColor()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getCurrentColor</h4>
<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> getCurrentColor()</pre>
<divclass="block">Returns the current color.</div>
<pre>public void setMarkedState(<ahref="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> value)</pre>
<divclass="block">Sets the marked state.</div>
</li>
</ul>
<aname="getMarkedState()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getMarkedState</h4>
<pre>public <ahref="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> getMarkedState()</pre>
<divclass="block">Returns the marked state.</div>
</li>
</ul>
<aname="reset()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>reset</h4>
<pre>public void reset()</pre>
<divclass="block">Resets the state of the cell marker.</div>
</li>
</ul>
<aname="process(java.awt.event.MouseEvent)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>process</h4>
<pre>public <ahref="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> process(<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>
<divclass="block">Processes the given event and marks the state returned by getStateAt
<pre>public void highlight(<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>
<pre>public void highlight(<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>
</li>
</ul>
<aname="mark()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>mark</h4>
<pre>public void mark()</pre>
<divclass="block">Marks the markedState and fires a mxEvent.MARK event.</div>
</li>
</ul>
<aname="unmark()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>unmark</h4>
<pre>public void unmark()</pre>
<divclass="block">Hides the marker and fires a mxEvent.MARK event.</div>
<pre>protected boolean isValidState(<ahref="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state)</pre>
<divclass="block">Returns true if the given state is a valid state. If this returns true,
<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> getMarkerColor(<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>
<divclass="block">Returns the valid- or invalidColor depending on the value of isValid.
The given state is ignored by this implementation.</div>
</li>
</ul>
<aname="getState(java.awt.event.MouseEvent)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getState</h4>
<pre>protected <ahref="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> getState(<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>
<divclass="block">Uses getCell, getMarkedState and intersects to return the state for
the given event.</div>
</li>
</ul>
<aname="getCell(java.awt.event.MouseEvent)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getCell</h4>
<pre>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> getCell(<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>
<divclass="block">Returns the state at the given location. This uses mxGraph.getCellAt.</div>
<pre>protected <ahref="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> getStateToMark(<ahref="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state)</pre>
<divclass="block">Returns the state to be marked for the given state under the mouse. This
<pre>protected boolean intersects(<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>
<divclass="block">Returns true if the given mouse event intersects the given state. This
<pre>public void addListener(<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>
<divclass="block">Adds the given event listener.</div>
<pre>public void removeListener(<ahref="../../../../com/mxgraph/util/mxEventSource.mxIEventListener.html"title="interface in com.mxgraph.util">mxEventSource.mxIEventListener</a> listener)</pre>
<divclass="block">Removes the given event listener.</div>
<pre>public void removeListener(<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>
<divclass="block">Removes the given event listener for the specified event name.</div>
</li>
</ul>
<aname="paint(java.awt.Graphics)">
<!---->
</a>
<ulclass="blockListLast">
<liclass="blockList">
<h4>paint</h4>
<pre>public void paint(<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>
<divclass="block">Paints the outline of the markedState with the currentColor.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<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></dd>
<li><ahref="../../../../com/mxgraph/swing/handler/mxCellHandler.html"title="class in com.mxgraph.swing.handler"><spanclass="strong">Prev Class</span></a></li>
<li><ahref="../../../../com/mxgraph/swing/handler/mxCellTracker.html"title="class in com.mxgraph.swing.handler"><spanclass="strong">Next Class</span></a></li>