<li><ahref="../../../../com/mxgraph/swing/view/mxCellStatePreview.html"title="class in com.mxgraph.swing.view"><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>com.mxgraph.swing.view.mxCellEditor</li>
</ul>
</li>
</ul>
<divclass="description">
<ulclass="blockList">
<liclass="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><ahref="../../../../com/mxgraph/swing/view/mxICellEditor.html"title="interface in com.mxgraph.swing.view">mxICellEditor</a></dd>
</dl>
<hr>
<br>
<pre>public class <spanclass="strong">mxCellEditor</span>
extends <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a>
implements <ahref="../../../../com/mxgraph/swing/view/mxICellEditor.html"title="interface in com.mxgraph.swing.view">mxICellEditor</a></pre>
<divclass="block">To control this editor, use mxGraph.invokesStopCellEditing, mxGraph.
enterStopsCellEditing and mxGraph.escapeEnabled.</div>
<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/javax/swing/AbstractAction.html?is-external=true"title="class or interface in javax.swing">AbstractAction</a></code></td>
<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="colFirst"><code>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/javax/swing/JEditorPane.html?is-external=true"title="class or interface in javax.swing">JEditorPane</a></code></td>
<divclass="block">Specifies if the text content of the HTML body should be extracted
before and after editing for HTML markup.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>protected <ahref="../../../../com/mxgraph/swing/mxGraphComponent.html"title="class in com.mxgraph.swing">mxGraphComponent</a></code></td>
<divclass="block">Specifies if linefeeds should be replaced with BREAKS before editing,
and BREAKS should be replaced with linefeeds after editing.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/javax/swing/JScrollPane.html?is-external=true"title="class or interface in javax.swing">JScrollPane</a></code></td>
<divclass="block">Specifies if shift ENTER should submit text if enterStopsCellEditing
is true.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/javax/swing/JTextArea.html?is-external=true"title="class or interface in javax.swing">JTextArea</a></code></td>
<divclass="block">Holds the editor for plain text editing.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/javax/swing/AbstractAction.html?is-external=true"title="class or interface in javax.swing">AbstractAction</a></code></td>
<tdclass="colFirst"><code>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/EventObject.html?is-external=true"title="class or interface in java.util">EventObject</a></code></td>
<thclass="colOne"scope="col">Constructor and Description</th>
</tr>
<trclass="altColor">
<tdclass="colOne"><code><strong><ahref="../../../../com/mxgraph/swing/view/mxCellEditor.html#mxCellEditor(com.mxgraph.swing.mxGraphComponent)">mxCellEditor</a></strong>(<ahref="../../../../com/mxgraph/swing/mxGraphComponent.html"title="class in com.mxgraph.swing">mxGraphComponent</a> graphComponent)</code> </td>
<divclass="block">Installs the keyListener in the textArea and editorPane
for handling the enter keystroke and updating the modified state.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code><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></code></td>
<divclass="block">Returns the current editing value.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a></code></td>
<divclass="block">Returns the cell that is currently being edited.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><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></td>
<divclass="block">Returns the current editor or null if no editing is in progress.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Rectangle.html?is-external=true"title="class or interface in java.awt">Rectangle</a></code></td>
<tdclass="colLast"><code><strong><ahref="../../../../com/mxgraph/swing/view/mxCellEditor.html#getEditorBounds(com.mxgraph.view.mxCellState, double)">getEditorBounds</a></strong>(<ahref="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state,
double scale)</code>
<divclass="block">Returns the bounds to be used for the editor.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code>protected <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></code></td>
<tdclass="colLast"><code><strong><ahref="../../../../com/mxgraph/swing/view/mxCellEditor.html#getInitialValue(com.mxgraph.view.mxCellState, java.util.EventObject)">getInitialValue</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/util/EventObject.html?is-external=true"title="class or interface in java.util">EventObject</a> trigger)</code>
<divclass="block">Gets the initial editing value for the given cell.</div>
<tdclass="colLast"><code><strong><ahref="../../../../com/mxgraph/swing/view/mxCellEditor.html#isHideLabel(com.mxgraph.view.mxCellState)">isHideLabel</a></strong>(<ahref="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state)</code> </td>
<tdclass="colLast"><code><strong><ahref="../../../../com/mxgraph/swing/view/mxCellEditor.html#startEditing(java.lang.Object, java.util.EventObject)">startEditing</a></strong>(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/EventObject.html?is-external=true"title="class or interface in java.util">EventObject</a> evt)</code>
<divclass="block">Starts editing the given cell.</div>
<tdclass="colLast"><code><strong><ahref="../../../../com/mxgraph/swing/view/mxCellEditor.html#useLabelBounds(com.mxgraph.view.mxCellState)">useLabelBounds</a></strong>(<ahref="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state)</code>
<divclass="block">Returns true if the label bounds of the state should be used for the
<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#toString()"title="class or interface in java.lang">toString</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait()"title="class or interface in java.lang">wait</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long)"title="class or interface in java.lang">wait</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long, int)"title="class or interface in java.lang">wait</a></code></li>
<pre>protected <ahref="../../../../com/mxgraph/swing/mxGraphComponent.html"title="class in com.mxgraph.swing">mxGraphComponent</a> graphComponent</pre>
<divclass="block">Defines the minimum scale to be used for the editor. Set this to
0 if the font size in the editor</div>
</li>
</ul>
<aname="minimumWidth">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>minimumWidth</h4>
<pre>protected int minimumWidth</pre>
</li>
</ul>
<aname="minimumHeight">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>minimumHeight</h4>
<pre>protected int minimumHeight</pre>
</li>
</ul>
<aname="editingCell">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>editingCell</h4>
<pre>protected transient <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> editingCell</pre>
</li>
</ul>
<aname="trigger">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>trigger</h4>
<pre>protected transient <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/EventObject.html?is-external=true"title="class or interface in java.util">EventObject</a> trigger</pre>
</li>
</ul>
<aname="scrollPane">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>scrollPane</h4>
<pre>protected transient <ahref="http://download.oracle.com/javase/1.5.0/docs/api/javax/swing/JScrollPane.html?is-external=true"title="class or interface in javax.swing">JScrollPane</a> scrollPane</pre>
</li>
</ul>
<aname="textArea">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>textArea</h4>
<pre>protected transient <ahref="http://download.oracle.com/javase/1.5.0/docs/api/javax/swing/JTextArea.html?is-external=true"title="class or interface in javax.swing">JTextArea</a> textArea</pre>
<divclass="block">Holds the editor for plain text editing.</div>
</li>
</ul>
<aname="editorPane">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>editorPane</h4>
<pre>protected transient <ahref="http://download.oracle.com/javase/1.5.0/docs/api/javax/swing/JEditorPane.html?is-external=true"title="class or interface in javax.swing">JEditorPane</a> editorPane</pre>
<divclass="block">Holds the editor for HTML editing.</div>
</li>
</ul>
<aname="extractHtmlBody">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>extractHtmlBody</h4>
<pre>protected boolean extractHtmlBody</pre>
<divclass="block">Specifies if the text content of the HTML body should be extracted
before and after editing for HTML markup. Default is true.</div>
<divclass="block">Specifies if shift ENTER should submit text if enterStopsCellEditing
is true. Default is false.</div>
</li>
</ul>
<aname="cancelEditingAction">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>cancelEditingAction</h4>
<pre>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/javax/swing/AbstractAction.html?is-external=true"title="class or interface in javax.swing">AbstractAction</a> cancelEditingAction</pre>
</li>
</ul>
<aname="textSubmitAction">
<!---->
</a>
<ulclass="blockListLast">
<liclass="blockList">
<h4>textSubmitAction</h4>
<pre>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/javax/swing/AbstractAction.html?is-external=true"title="class or interface in javax.swing">AbstractAction</a> textSubmitAction</pre>
<pre>public mxCellEditor(<ahref="../../../../com/mxgraph/swing/mxGraphComponent.html"title="class in com.mxgraph.swing">mxGraphComponent</a> graphComponent)</pre>
<divclass="block">Installs the keyListener in the textArea and editorPane
for handling the enter keystroke and updating the modified state.</div>
</li>
</ul>
<aname="getEditor()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getEditor</h4>
<pre>public <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> getEditor()</pre>
<divclass="block">Returns the current editor or null if no editing is in progress.</div>
<pre>protected boolean useLabelBounds(<ahref="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state)</pre>
<divclass="block">Returns true if the label bounds of the state should be used for the
<pre>public <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/awt/Rectangle.html?is-external=true"title="class or interface in java.awt">Rectangle</a> getEditorBounds(<ahref="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state,
double scale)</pre>
<divclass="block">Returns the bounds to be used for the editor.</div>
<pre>public void startEditing(<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> cell,
<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/EventObject.html?is-external=true"title="class or interface in java.util">EventObject</a> evt)</pre>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../../com/mxgraph/swing/view/mxICellEditor.html#startEditing(java.lang.Object, java.util.EventObject)">mxICellEditor</a></code></strong></div>
<divclass="block">Starts editing the given cell.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../../com/mxgraph/swing/view/mxICellEditor.html#startEditing(java.lang.Object, java.util.EventObject)">startEditing</a></code> in interface <code><ahref="../../../../com/mxgraph/swing/view/mxICellEditor.html"title="interface in com.mxgraph.swing.view">mxICellEditor</a></code></dd>
<pre>protected boolean isHideLabel(<ahref="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</a> state)</pre>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../../com/mxgraph/swing/view/mxICellEditor.html#stopEditing(boolean)">mxICellEditor</a></code></strong></div>
<divclass="block">Stops the current editing.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../../com/mxgraph/swing/view/mxICellEditor.html#stopEditing(boolean)">stopEditing</a></code> in interface <code><ahref="../../../../com/mxgraph/swing/view/mxICellEditor.html"title="interface in com.mxgraph.swing.view">mxICellEditor</a></code></dd>
<pre>protected <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> getInitialValue(<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/util/EventObject.html?is-external=true"title="class or interface in java.util">EventObject</a> trigger)</pre>
<divclass="block">Gets the initial editing value for the given cell.</div>
</li>
</ul>
<aname="getCurrentValue()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getCurrentValue</h4>
<pre>public <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> getCurrentValue()</pre>
<divclass="block">Returns the current editing value.</div>
</li>
</ul>
<aname="getEditingCell()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getEditingCell</h4>
<pre>public <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a> getEditingCell()</pre>
<divclass="block"><strong>Description copied from interface: <code><ahref="../../../../com/mxgraph/swing/view/mxICellEditor.html#getEditingCell()">mxICellEditor</a></code></strong></div>
<divclass="block">Returns the cell that is currently being edited.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><ahref="../../../../com/mxgraph/swing/view/mxICellEditor.html#getEditingCell()">getEditingCell</a></code> in interface <code><ahref="../../../../com/mxgraph/swing/view/mxICellEditor.html"title="interface in com.mxgraph.swing.view">mxICellEditor</a></code></dd>
<li><ahref="../../../../com/mxgraph/swing/view/mxCellStatePreview.html"title="class in com.mxgraph.swing.view"><spanclass="strong">Next Class</span></a></li>