<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">java.lang.Object</A>
<IMGSRC="../../../../resources/inherit.gif"ALT="extended by "><B>com.mxgraph.swing.view.mxCellEditor</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B><DD><AHREF="../../../../com/mxgraph/swing/view/mxICellEditor.html"title="interface in com.mxgraph.swing.view">mxICellEditor</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public class <B>mxCellEditor</B><DT>extends <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</A><DT>implements <AHREF="../../../../com/mxgraph/swing/view/mxICellEditor.html"title="interface in com.mxgraph.swing.view">mxICellEditor</A></DL>
</PRE>
<P>
To control this editor, use mxGraph.invokesStopCellEditing, mxGraph.
<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></FONT></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>
<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></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/javax/swing/JScrollPane.html?is-external=true"title="class or interface in javax.swing">JScrollPane</A></CODE></FONT></TD>
<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></FONT></TD>
<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></FONT></TD>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/view/mxCellEditor.html#mxCellEditor(com.mxgraph.swing.mxGraphComponent)">mxCellEditor</A></B>(<AHREF="../../../../com/mxgraph/swing/mxGraphComponent.html"title="class in com.mxgraph.swing">mxGraphComponent</A> graphComponent)</CODE>
<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></FONT></TD>
<CODE> <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</A></CODE></FONT></TD>
<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></FONT></TD>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/view/mxCellEditor.html#getEditorBounds(com.mxgraph.view.mxCellState, double)">getEditorBounds</A></B>(<AHREF="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</A> state,
double scale)</CODE>
<BR>
Returns the bounds to be used for the editor.</TD>
<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></FONT></TD>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/view/mxCellEditor.html#getInitialValue(com.mxgraph.view.mxCellState, java.util.EventObject)">getInitialValue</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/util/EventObject.html?is-external=true"title="class or interface in java.util">EventObject</A> trigger)</CODE>
<BR>
Gets the initial editing value for the given cell.</TD>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/view/mxCellEditor.html#isHideLabel(com.mxgraph.view.mxCellState)">isHideLabel</A></B>(<AHREF="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</A> state)</CODE>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/view/mxCellEditor.html#startEditing(java.lang.Object, java.util.EventObject)">startEditing</A></B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</A> cell,
<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>
<BR>
Starts editing the given cell.</TD>
<TD><CODE><B><AHREF="../../../../com/mxgraph/swing/view/mxCellEditor.html#useLabelBounds(com.mxgraph.view.mxCellState)">useLabelBounds</A></B>(<AHREF="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</A> state)</CODE>
<BR>
Returns true if the label bounds of the state should be used for the
<THALIGN="left"><B>Methods inherited from class java.lang.<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</A></B></TH>
</TR>
<TRBGCOLOR="white"CLASS="TableRowColor">
<TD><CODE><AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#clone()"title="class or interface in java.lang">clone</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)"title="class or interface in java.lang">equals</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#finalize()"title="class or interface in java.lang">finalize</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()"title="class or interface in java.lang">getClass</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()"title="class or interface in java.lang">hashCode</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notify()"title="class or interface in java.lang">notify</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notifyAll()"title="class or interface in java.lang">notifyAll</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#toString()"title="class or interface in java.lang">toString</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait()"title="class or interface in java.lang">wait</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long)"title="class or interface in java.lang">wait</A>, <AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long, int)"title="class or interface in java.lang">wait</A></CODE></TD>
public static double <B>DEFAULT_MINIMUM_EDITOR_SCALE</B></PRE>
<DL>
<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>
<DL>
</DL>
</DL>
<HR>
<ANAME="minimumEditorScale"><!----></A><H3>
minimumEditorScale</H3>
<PRE>
protected double <B>minimumEditorScale</B></PRE>
<DL>
<DD>Defines the minimum scale to be used for the editor. Set this to
0 if the font size in the editor
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="minimumWidth"><!----></A><H3>
minimumWidth</H3>
<PRE>
protected int <B>minimumWidth</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<ANAME="minimumHeight"><!----></A><H3>
minimumHeight</H3>
<PRE>
protected int <B>minimumHeight</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<ANAME="editingCell"><!----></A><H3>
editingCell</H3>
<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><B>editingCell</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<ANAME="trigger"><!----></A><H3>
trigger</H3>
<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><B>trigger</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<ANAME="scrollPane"><!----></A><H3>
scrollPane</H3>
<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><B>scrollPane</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<ANAME="textArea"><!----></A><H3>
textArea</H3>
<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><B>textArea</B></PRE>
<DL>
<DD>Holds the editor for plain text editing.
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="editorPane"><!----></A><H3>
editorPane</H3>
<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><B>editorPane</B></PRE>
<DL>
<DD>Holds the editor for HTML editing.
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="extractHtmlBody"><!----></A><H3>
extractHtmlBody</H3>
<PRE>
protected boolean <B>extractHtmlBody</B></PRE>
<DL>
<DD>Specifies if the text content of the HTML body should be extracted
before and after editing for HTML markup. Default is true.
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="replaceLinefeeds"><!----></A><H3>
replaceLinefeeds</H3>
<PRE>
protected boolean <B>replaceLinefeeds</B></PRE>
<DL>
<DD>Specifies if linefeeds should be replaced with BREAKS before editing,
and BREAKS should be replaced with linefeeds after editing. This
value is ignored if extractHtmlBody is false. Default is true.
<DD>Specifies if shift ENTER should submit text if enterStopsCellEditing
is true. Default is false.
<P>
<DL>
</DL>
</DL>
<HR>
<ANAME="cancelEditingAction"><!----></A><H3>
cancelEditingAction</H3>
<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><B>cancelEditingAction</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<ANAME="textSubmitAction"><!----></A><H3>
textSubmitAction</H3>
<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><B>textSubmitAction</B></PRE>
public <B>mxCellEditor</B>(<AHREF="../../../../com/mxgraph/swing/mxGraphComponent.html"title="class in com.mxgraph.swing">mxGraphComponent</A> graphComponent)</PRE>
public void <B>setShiftEnterSubmitsText</B>(boolean value)</PRE>
<DL>
<DD>Sets shiftEnterSubmitsText
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="configureActionMaps()"><!----></A><H3>
configureActionMaps</H3>
<PRE>
protected void <B>configureActionMaps</B>()</PRE>
<DL>
<DD>Installs the keyListener in the textArea and editorPane
for handling the enter keystroke and updating the modified state.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="getEditor()"><!----></A><H3>
getEditor</H3>
<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><B>getEditor</B>()</PRE>
<DL>
<DD>Returns the current editor or null if no editing is in progress.
protected boolean <B>useLabelBounds</B>(<AHREF="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</A> state)</PRE>
<DL>
<DD>Returns true if the label bounds of the state should be used for the
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><B>getEditorBounds</B>(<AHREF="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</A> state,
public void <B>startEditing</B>(<AHREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</A> cell,
<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>
<DL>
<DD><B>Description copied from interface: <CODE><AHREF="../../../../com/mxgraph/swing/view/mxICellEditor.html#startEditing(java.lang.Object, java.util.EventObject)">mxICellEditor</A></CODE></B></DD>
<DD>Starts editing the given cell.
<P>
<DD><DL>
<DT><B>Specified by:</B><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></DL>
protected boolean <B>isHideLabel</B>(<AHREF="../../../../com/mxgraph/view/mxCellState.html"title="class in com.mxgraph.view">mxCellState</A> state)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="stopEditing(boolean)"><!----></A><H3>
stopEditing</H3>
<PRE>
public void <B>stopEditing</B>(boolean cancel)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><AHREF="../../../../com/mxgraph/swing/view/mxICellEditor.html#stopEditing(boolean)">mxICellEditor</A></CODE></B></DD>
<DD>Stops the current editing.
<P>
<DD><DL>
<DT><B>Specified by:</B><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></DL>
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><B>getInitialValue</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/util/EventObject.html?is-external=true"title="class or interface in java.util">EventObject</A> trigger)</PRE>
<DL>
<DD>Gets the initial editing value for the given cell.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="getCurrentValue()"><!----></A><H3>
getCurrentValue</H3>
<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><B>getCurrentValue</B>()</PRE>
<DL>
<DD>Returns the current editing value.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="getEditingCell()"><!----></A><H3>
getEditingCell</H3>
<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><B>getEditingCell</B>()</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><AHREF="../../../../com/mxgraph/swing/view/mxICellEditor.html#getEditingCell()">mxICellEditor</A></CODE></B></DD>
<DD>Returns the cell that is currently being edited.
<P>
<DD><DL>
<DT><B>Specified by:</B><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></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<ANAME="getMinimumEditorScale()"><!----></A><H3>
getMinimumEditorScale</H3>
<PRE>
public double <B>getMinimumEditorScale</B>()</PRE>