2012-05-21 20:32:26 +00:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2014-04-01 11:30:48 +00:00
<!-- NewPage -->
< html lang = "en" >
< head >
2014-11-10 09:02:21 +00:00
<!-- Generated by javadoc (version 1.7.0_51) on Mon Nov 10 04:00:03 EST 2014 -->
< title > mxCellEditor (mxGraph 3.1.1.1 API Specification)< / title >
< meta name = "date" content = "2014-11-10" >
2014-04-01 11:30:48 +00:00
< link rel = "stylesheet" type = "text/css" href = "../../../../stylesheet.css" title = "Style" >
< / head >
< body >
< script type = "text/javascript" > < ! - -
2012-05-21 20:32:26 +00:00
if (location.href.indexOf('is-external=true') == -1) {
2014-11-10 09:02:21 +00:00
parent.document.title="mxCellEditor (mxGraph 3.1.1.1 API Specification)";
2012-05-21 20:32:26 +00:00
}
2014-04-01 11:30:48 +00:00
//-->
< / script >
< noscript >
< div > JavaScript is disabled on your browser.< / div >
< / noscript >
2012-05-21 20:32:26 +00:00
<!-- ========= START OF TOP NAVBAR ======= -->
2014-04-01 11:30:48 +00:00
< div class = "topNav" > < a name = "navbar_top" >
<!-- -->
< / a > < a href = "#skip-navbar_top" title = "Skip navigation links" > < / a > < a name = "navbar_top_firstrow" >
<!-- -->
< / a >
< ul class = "navList" title = "Navigation" >
< li > < a href = "../../../../overview-summary.html" > Overview< / a > < / li >
< li > < a href = "package-summary.html" > Package< / a > < / li >
< li class = "navBarCell1Rev" > Class< / li >
< li > < a href = "class-use/mxCellEditor.html" > Use< / a > < / li >
< li > < a href = "package-tree.html" > Tree< / a > < / li >
< li > < a href = "../../../../deprecated-list.html" > Deprecated< / a > < / li >
< li > < a href = "../../../../index-all.html" > Index< / a > < / li >
< li > < a href = "../../../../help-doc.html" > Help< / a > < / li >
< / ul >
2014-11-10 09:02:21 +00:00
< div class = "aboutLanguage" > < em > < p > < b > mxGraph 3.1.1.1< / b > < / p > < / em > < / div >
2014-04-01 11:30:48 +00:00
< / div >
< div class = "subNav" >
< ul class = "navList" >
< li > Prev Class< / li >
< li > < a href = "../../../../com/mxgraph/swing/view/mxCellStatePreview.html" title = "class in com.mxgraph.swing.view" > < span class = "strong" > Next Class< / span > < / a > < / li >
< / ul >
< ul class = "navList" >
< li > < a href = "../../../../index.html?com/mxgraph/swing/view/mxCellEditor.html" target = "_top" > Frames< / a > < / li >
< li > < a href = "mxCellEditor.html" target = "_top" > No Frames< / a > < / li >
< / ul >
< ul class = "navList" id = "allclasses_navbar_top" >
< li > < a href = "../../../../allclasses-noframe.html" > All Classes< / a > < / li >
< / ul >
< div >
< script type = "text/javascript" > < ! - -
allClassesLink = document.getElementById("allclasses_navbar_top");
2012-05-21 20:32:26 +00:00
if(window==top) {
2014-04-01 11:30:48 +00:00
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
2012-05-21 20:32:26 +00:00
}
//-->
2014-04-01 11:30:48 +00:00
< / script >
< / div >
< div >
< ul class = "subNavList" >
< li > Summary: < / li >
< li > Nested | < / li >
< li > < a href = "#field_summary" > Field< / a > | < / li >
< li > < a href = "#constructor_summary" > Constr< / a > | < / li >
< li > < a href = "#method_summary" > Method< / a > < / li >
< / ul >
< ul class = "subNavList" >
< li > Detail: < / li >
< li > < a href = "#field_detail" > Field< / a > | < / li >
< li > < a href = "#constructor_detail" > Constr< / a > | < / li >
< li > < a href = "#method_detail" > Method< / a > < / li >
< / ul >
< / div >
< a name = "skip-navbar_top" >
<!-- -->
< / a > < / div >
2012-05-21 20:32:26 +00:00
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
2014-04-01 11:30:48 +00:00
< div class = "header" >
< div class = "subTitle" > com.mxgraph.swing.view< / div >
< h2 title = "Class mxCellEditor" class = "title" > Class mxCellEditor< / h2 >
< / div >
< div class = "contentContainer" >
< ul class = "inheritance" >
2014-11-10 09:02:21 +00:00
< li > java.lang.Object< / li >
2014-04-01 11:30:48 +00:00
< li >
< ul class = "inheritance" >
< li > com.mxgraph.swing.view.mxCellEditor< / li >
< / ul >
< / li >
< / ul >
< div class = "description" >
< ul class = "blockList" >
< li class = "blockList" >
< dl >
< dt > All Implemented Interfaces:< / dt >
< dd > < a href = "../../../../com/mxgraph/swing/view/mxICellEditor.html" title = "interface in com.mxgraph.swing.view" > mxICellEditor< / a > < / dd >
< / dl >
< hr >
< br >
< pre > public class < span class = "strong" > mxCellEditor< / span >
2014-11-10 09:02:21 +00:00
extends java.lang.Object
2014-04-01 11:30:48 +00:00
implements < a href = "../../../../com/mxgraph/swing/view/mxICellEditor.html" title = "interface in com.mxgraph.swing.view" > mxICellEditor< / a > < / pre >
< div class = "block" > To control this editor, use mxGraph.invokesStopCellEditing, mxGraph.
enterStopsCellEditing and mxGraph.escapeEnabled.< / div >
< / li >
< / ul >
< / div >
< div class = "summary" >
< ul class = "blockList" >
< li class = "blockList" >
2012-05-21 20:32:26 +00:00
<!-- =========== FIELD SUMMARY =========== -->
2014-04-01 11:30:48 +00:00
< ul class = "blockList" >
< li class = "blockList" > < a name = "field_summary" >
<!-- -->
< / a >
< h3 > Field Summary< / h3 >
< table class = "overviewSummary" border = "0" cellpadding = "3" cellspacing = "0" summary = "Field Summary table, listing fields, and an explanation" >
< caption > < span > Fields< / span > < span class = "tabEnd" > < / span > < / caption >
< tr >
< th class = "colFirst" scope = "col" > Modifier and Type< / th >
< th class = "colLast" scope = "col" > Field and Description< / th >
< / tr >
< tr class = "altColor" >
2014-11-10 09:02:21 +00:00
< td class = "colFirst" > < code > protected javax.swing.AbstractAction< / code > < / td >
2014-04-01 11:30:48 +00:00
< td class = "colLast" > < code > < strong > < a href = "../../../../com/mxgraph/swing/view/mxCellEditor.html#cancelEditingAction" > cancelEditingAction< / a > < / strong > < / code > < / td >
< / tr >
< tr class = "rowColor" >
< td class = "colFirst" > < code > static int< / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/mxgraph/swing/view/mxCellEditor.html#DEFAULT_MIN_HEIGHT" > DEFAULT_MIN_HEIGHT< / a > < / strong > < / code > < / td >
< / tr >
< tr class = "altColor" >
< td class = "colFirst" > < code > static int< / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/mxgraph/swing/view/mxCellEditor.html#DEFAULT_MIN_WIDTH" > DEFAULT_MIN_WIDTH< / a > < / strong > < / code > < / td >
< / tr >
< tr class = "rowColor" >
< td class = "colFirst" > < code > static double< / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/mxgraph/swing/view/mxCellEditor.html#DEFAULT_MINIMUM_EDITOR_SCALE" > DEFAULT_MINIMUM_EDITOR_SCALE< / a > < / strong > < / code > < / td >
< / tr >
< tr class = "altColor" >
2014-11-10 09:02:21 +00:00
< td class = "colFirst" > < code > protected java.lang.Object< / code > < / td >
2014-04-01 11:30:48 +00:00
< td class = "colLast" > < code > < strong > < a href = "../../../../com/mxgraph/swing/view/mxCellEditor.html#editingCell" > editingCell< / a > < / strong > < / code > < / td >
< / tr >
< tr class = "rowColor" >
2014-11-10 09:02:21 +00:00
< td class = "colFirst" > < code > protected javax.swing.JEditorPane< / code > < / td >
2014-04-01 11:30:48 +00:00
< td class = "colLast" > < code > < strong > < a href = "../../../../com/mxgraph/swing/view/mxCellEditor.html#editorPane" > editorPane< / a > < / strong > < / code >
< div class = "block" > Holds the editor for HTML editing.< / div >
< / td >
< / tr >
< tr class = "altColor" >
< td class = "colFirst" > < code > protected boolean< / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/mxgraph/swing/view/mxCellEditor.html#extractHtmlBody" > extractHtmlBody< / a > < / strong > < / code >
< div class = "block" > Specifies if the text content of the HTML body should be extracted
before and after editing for HTML markup.< / div >
< / td >
< / tr >
< tr class = "rowColor" >
< td class = "colFirst" > < code > protected < a href = "../../../../com/mxgraph/swing/mxGraphComponent.html" title = "class in com.mxgraph.swing" > mxGraphComponent< / a > < / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/mxgraph/swing/view/mxCellEditor.html#graphComponent" > graphComponent< / a > < / strong > < / code > < / td >
< / tr >
< tr class = "altColor" >
< td class = "colFirst" > < code > protected double< / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/mxgraph/swing/view/mxCellEditor.html#minimumEditorScale" > minimumEditorScale< / a > < / strong > < / code >
< div class = "block" > Defines the minimum scale to be used for the editor.< / div >
< / td >
< / tr >
< tr class = "rowColor" >
< td class = "colFirst" > < code > protected int< / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/mxgraph/swing/view/mxCellEditor.html#minimumHeight" > minimumHeight< / a > < / strong > < / code > < / td >
< / tr >
< tr class = "altColor" >
< td class = "colFirst" > < code > protected int< / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/mxgraph/swing/view/mxCellEditor.html#minimumWidth" > minimumWidth< / a > < / strong > < / code > < / td >
< / tr >
< tr class = "rowColor" >
< td class = "colFirst" > < code > protected boolean< / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/mxgraph/swing/view/mxCellEditor.html#replaceLinefeeds" > replaceLinefeeds< / a > < / strong > < / code >
< div class = "block" > Specifies if linefeeds should be replaced with BREAKS before editing,
and BREAKS should be replaced with linefeeds after editing.< / div >
< / td >
< / tr >
< tr class = "altColor" >
2014-11-10 09:02:21 +00:00
< td class = "colFirst" > < code > protected javax.swing.JScrollPane< / code > < / td >
2014-04-01 11:30:48 +00:00
< td class = "colLast" > < code > < strong > < a href = "../../../../com/mxgraph/swing/view/mxCellEditor.html#scrollPane" > scrollPane< / a > < / strong > < / code > < / td >
< / tr >
< tr class = "rowColor" >
< td class = "colFirst" > < code > protected boolean< / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/mxgraph/swing/view/mxCellEditor.html#shiftEnterSubmitsText" > shiftEnterSubmitsText< / a > < / strong > < / code >
< div class = "block" > Specifies if shift ENTER should submit text if enterStopsCellEditing
is true.< / div >
< / td >
< / tr >
< tr class = "altColor" >
2014-11-10 09:02:21 +00:00
< td class = "colFirst" > < code > protected javax.swing.JTextArea< / code > < / td >
2014-04-01 11:30:48 +00:00
< td class = "colLast" > < code > < strong > < a href = "../../../../com/mxgraph/swing/view/mxCellEditor.html#textArea" > textArea< / a > < / strong > < / code >
< div class = "block" > Holds the editor for plain text editing.< / div >
< / td >
< / tr >
< tr class = "rowColor" >
2014-11-10 09:02:21 +00:00
< td class = "colFirst" > < code > protected javax.swing.AbstractAction< / code > < / td >
2014-04-01 11:30:48 +00:00
< td class = "colLast" > < code > < strong > < a href = "../../../../com/mxgraph/swing/view/mxCellEditor.html#textSubmitAction" > textSubmitAction< / a > < / strong > < / code > < / td >
< / tr >
< tr class = "altColor" >
2014-11-10 09:02:21 +00:00
< td class = "colFirst" > < code > protected java.util.EventObject< / code > < / td >
2014-04-01 11:30:48 +00:00
< td class = "colLast" > < code > < strong > < a href = "../../../../com/mxgraph/swing/view/mxCellEditor.html#trigger" > trigger< / a > < / strong > < / code > < / td >
< / tr >
< / table >
< / li >
< / ul >
2012-05-21 20:32:26 +00:00
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
2014-04-01 11:30:48 +00:00
< ul class = "blockList" >
< li class = "blockList" > < a name = "constructor_summary" >
<!-- -->
< / a >
< h3 > Constructor Summary< / h3 >
< table class = "overviewSummary" border = "0" cellpadding = "3" cellspacing = "0" summary = "Constructor Summary table, listing constructors, and an explanation" >
< caption > < span > Constructors< / span > < span class = "tabEnd" > < / span > < / caption >
< tr >
< th class = "colOne" scope = "col" > Constructor and Description< / th >
< / tr >
< tr class = "altColor" >
< td class = "colOne" > < code > < strong > < a href = "../../../../com/mxgraph/swing/view/mxCellEditor.html#mxCellEditor(com.mxgraph.swing.mxGraphComponent)" > mxCellEditor< / a > < / strong > (< a href = "../../../../com/mxgraph/swing/mxGraphComponent.html" title = "class in com.mxgraph.swing" > mxGraphComponent< / a > graphComponent)< / code > < / td >
< / tr >
< / table >
< / li >
< / ul >
2012-05-21 20:32:26 +00:00
<!-- ========== METHOD SUMMARY =========== -->
2014-04-01 11:30:48 +00:00
< ul class = "blockList" >
< li class = "blockList" > < a name = "method_summary" >
<!-- -->
< / a >
< h3 > Method Summary< / h3 >
< table class = "overviewSummary" border = "0" cellpadding = "3" cellspacing = "0" summary = "Method Summary table, listing methods, and an explanation" >
< caption > < span > Methods< / span > < span class = "tabEnd" > < / span > < / caption >
< tr >
< th class = "colFirst" scope = "col" > Modifier and Type< / th >
< th class = "colLast" scope = "col" > Method and Description< / th >
< / tr >
< tr class = "altColor" >
< td class = "colFirst" > < code > protected void< / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/mxgraph/swing/view/mxCellEditor.html#configureActionMaps()" > configureActionMaps< / a > < / strong > ()< / code >
< div class = "block" > Installs the keyListener in the textArea and editorPane
for handling the enter keystroke and updating the modified state.< / div >
< / td >
< / tr >
< tr class = "rowColor" >
2014-11-10 09:02:21 +00:00
< td class = "colFirst" > < code > java.lang.String< / code > < / td >
2014-04-01 11:30:48 +00:00
< td class = "colLast" > < code > < strong > < a href = "../../../../com/mxgraph/swing/view/mxCellEditor.html#getCurrentValue()" > getCurrentValue< / a > < / strong > ()< / code >
< div class = "block" > Returns the current editing value.< / div >
< / td >
< / tr >
< tr class = "altColor" >
2014-11-10 09:02:21 +00:00
< td class = "colFirst" > < code > java.lang.Object< / code > < / td >
2014-04-01 11:30:48 +00:00
< td class = "colLast" > < code > < strong > < a href = "../../../../com/mxgraph/swing/view/mxCellEditor.html#getEditingCell()" > getEditingCell< / a > < / strong > ()< / code >
< div class = "block" > Returns the cell that is currently being edited.< / div >
< / td >
< / tr >
< tr class = "rowColor" >
2014-11-10 09:02:21 +00:00
< td class = "colFirst" > < code > java.awt.Component< / code > < / td >
2014-04-01 11:30:48 +00:00
< td class = "colLast" > < code > < strong > < a href = "../../../../com/mxgraph/swing/view/mxCellEditor.html#getEditor()" > getEditor< / a > < / strong > ()< / code >
< div class = "block" > Returns the current editor or null if no editing is in progress.< / div >
< / td >
< / tr >
< tr class = "altColor" >
2014-11-10 09:02:21 +00:00
< td class = "colFirst" > < code > java.awt.Rectangle< / code > < / td >
2014-04-01 11:30:48 +00:00
< td class = "colLast" > < code > < strong > < a href = "../../../../com/mxgraph/swing/view/mxCellEditor.html#getEditorBounds(com.mxgraph.view.mxCellState, double)" > getEditorBounds< / a > < / strong > (< a href = "../../../../com/mxgraph/view/mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > state,
double scale)< / code >
< div class = "block" > Returns the bounds to be used for the editor.< / div >
< / td >
< / tr >
< tr class = "rowColor" >
2014-11-10 09:02:21 +00:00
< td class = "colFirst" > < code > protected java.lang.String< / code > < / td >
2014-04-01 11:30:48 +00:00
< td class = "colLast" > < code > < strong > < a href = "../../../../com/mxgraph/swing/view/mxCellEditor.html#getInitialValue(com.mxgraph.view.mxCellState, java.util.EventObject)" > getInitialValue< / a > < / strong > (< a href = "../../../../com/mxgraph/view/mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > state,
2014-11-10 09:02:21 +00:00
java.util.EventObject trigger)< / code >
2014-04-01 11:30:48 +00:00
< div class = "block" > Gets the initial editing value for the given cell.< / div >
< / td >
< / tr >
< tr class = "altColor" >
< td class = "colFirst" > < code > double< / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/mxgraph/swing/view/mxCellEditor.html#getMinimumEditorScale()" > getMinimumEditorScale< / a > < / strong > ()< / code > < / td >
< / tr >
< tr class = "rowColor" >
< td class = "colFirst" > < code > int< / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/mxgraph/swing/view/mxCellEditor.html#getMinimumHeight()" > getMinimumHeight< / a > < / strong > ()< / code > < / td >
< / tr >
< tr class = "altColor" >
< td class = "colFirst" > < code > int< / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/mxgraph/swing/view/mxCellEditor.html#getMinimumWidth()" > getMinimumWidth< / a > < / strong > ()< / code > < / td >
< / tr >
< tr class = "rowColor" >
< td class = "colFirst" > < code > boolean< / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/mxgraph/swing/view/mxCellEditor.html#isExtractHtmlBody()" > isExtractHtmlBody< / a > < / strong > ()< / code >
< div class = "block" > Returns replaceHtmlLinefeeds< / div >
< / td >
< / tr >
< tr class = "altColor" >
< td class = "colFirst" > < code > protected boolean< / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/mxgraph/swing/view/mxCellEditor.html#isHideLabel(com.mxgraph.view.mxCellState)" > isHideLabel< / a > < / strong > (< a href = "../../../../com/mxgraph/view/mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > state)< / code > < / td >
< / tr >
< tr class = "rowColor" >
< td class = "colFirst" > < code > boolean< / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/mxgraph/swing/view/mxCellEditor.html#isReplaceHtmlLinefeeds()" > isReplaceHtmlLinefeeds< / a > < / strong > ()< / code >
< div class = "block" > Returns replaceHtmlLinefeeds< / div >
< / td >
< / tr >
< tr class = "altColor" >
< td class = "colFirst" > < code > boolean< / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/mxgraph/swing/view/mxCellEditor.html#isShiftEnterSubmitsText()" > isShiftEnterSubmitsText< / a > < / strong > ()< / code >
< div class = "block" > Returns shiftEnterSubmitsText< / div >
< / td >
< / tr >
< tr class = "rowColor" >
< td class = "colFirst" > < code > void< / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/mxgraph/swing/view/mxCellEditor.html#setExtractHtmlBody(boolean)" > setExtractHtmlBody< / a > < / strong > (boolean value)< / code >
< div class = "block" > Sets extractHtmlBody< / div >
< / td >
< / tr >
< tr class = "altColor" >
< td class = "colFirst" > < code > void< / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/mxgraph/swing/view/mxCellEditor.html#setMinimumEditorScale(double)" > setMinimumEditorScale< / a > < / strong > (double minimumEditorScale)< / code > < / td >
< / tr >
< tr class = "rowColor" >
< td class = "colFirst" > < code > void< / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/mxgraph/swing/view/mxCellEditor.html#setMinimumHeight(int)" > setMinimumHeight< / a > < / strong > (int minimumHeight)< / code > < / td >
< / tr >
< tr class = "altColor" >
< td class = "colFirst" > < code > void< / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/mxgraph/swing/view/mxCellEditor.html#setMinimumWidth(int)" > setMinimumWidth< / a > < / strong > (int minimumWidth)< / code > < / td >
< / tr >
< tr class = "rowColor" >
< td class = "colFirst" > < code > void< / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/mxgraph/swing/view/mxCellEditor.html#setReplaceHtmlLinefeeds(boolean)" > setReplaceHtmlLinefeeds< / a > < / strong > (boolean value)< / code >
< div class = "block" > Sets replaceHtmlLinefeeds< / div >
< / td >
< / tr >
< tr class = "altColor" >
< td class = "colFirst" > < code > void< / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/mxgraph/swing/view/mxCellEditor.html#setShiftEnterSubmitsText(boolean)" > setShiftEnterSubmitsText< / a > < / strong > (boolean value)< / code >
< div class = "block" > Sets shiftEnterSubmitsText< / div >
< / td >
< / tr >
< tr class = "rowColor" >
< td class = "colFirst" > < code > void< / code > < / td >
2014-11-10 09:02:21 +00:00
< td class = "colLast" > < code > < strong > < a href = "../../../../com/mxgraph/swing/view/mxCellEditor.html#startEditing(java.lang.Object, java.util.EventObject)" > startEditing< / a > < / strong > (java.lang.Object cell,
java.util.EventObject evt)< / code >
2014-04-01 11:30:48 +00:00
< div class = "block" > Starts editing the given cell.< / div >
< / td >
< / tr >
< tr class = "altColor" >
< td class = "colFirst" > < code > void< / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/mxgraph/swing/view/mxCellEditor.html#stopEditing(boolean)" > stopEditing< / a > < / strong > (boolean cancel)< / code >
< div class = "block" > Stops the current editing.< / div >
< / td >
< / tr >
< tr class = "rowColor" >
< td class = "colFirst" > < code > protected boolean< / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/mxgraph/swing/view/mxCellEditor.html#useLabelBounds(com.mxgraph.view.mxCellState)" > useLabelBounds< / a > < / strong > (< a href = "../../../../com/mxgraph/view/mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > state)< / code >
< div class = "block" > Returns true if the label bounds of the state should be used for the
editor.< / div >
< / td >
< / tr >
< / table >
< ul class = "blockList" >
< li class = "blockList" > < a name = "methods_inherited_from_class_java.lang.Object" >
<!-- -->
< / a >
2014-11-10 09:02:21 +00:00
< h3 > Methods inherited from class java.lang.Object< / h3 >
< code > clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait< / code > < / li >
2014-04-01 11:30:48 +00:00
< / ul >
< / li >
< / ul >
< / li >
< / ul >
< / div >
< div class = "details" >
< ul class = "blockList" >
< li class = "blockList" >
2012-05-21 20:32:26 +00:00
<!-- ============ FIELD DETAIL =========== -->
2014-04-01 11:30:48 +00:00
< ul class = "blockList" >
< li class = "blockList" > < a name = "field_detail" >
<!-- -->
< / a >
< h3 > Field Detail< / h3 >
< a name = "DEFAULT_MIN_WIDTH" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > DEFAULT_MIN_WIDTH< / h4 >
< pre > public static int DEFAULT_MIN_WIDTH< / pre >
< / li >
< / ul >
< a name = "DEFAULT_MIN_HEIGHT" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > DEFAULT_MIN_HEIGHT< / h4 >
< pre > public static int DEFAULT_MIN_HEIGHT< / pre >
< / li >
< / ul >
< a name = "DEFAULT_MINIMUM_EDITOR_SCALE" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > DEFAULT_MINIMUM_EDITOR_SCALE< / h4 >
< pre > public static double DEFAULT_MINIMUM_EDITOR_SCALE< / pre >
< / li >
< / ul >
< a name = "graphComponent" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > graphComponent< / h4 >
< pre > protected < a href = "../../../../com/mxgraph/swing/mxGraphComponent.html" title = "class in com.mxgraph.swing" > mxGraphComponent< / a > graphComponent< / pre >
< / li >
< / ul >
< a name = "minimumEditorScale" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > minimumEditorScale< / h4 >
< pre > protected double minimumEditorScale< / pre >
< div class = "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 >
< a name = "minimumWidth" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > minimumWidth< / h4 >
< pre > protected int minimumWidth< / pre >
< / li >
< / ul >
< a name = "minimumHeight" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > minimumHeight< / h4 >
< pre > protected int minimumHeight< / pre >
< / li >
< / ul >
< a name = "editingCell" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > editingCell< / h4 >
2014-11-10 09:02:21 +00:00
< pre > protected transient java.lang.Object editingCell< / pre >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
< a name = "trigger" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > trigger< / h4 >
2014-11-10 09:02:21 +00:00
< pre > protected transient java.util.EventObject trigger< / pre >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
< a name = "scrollPane" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > scrollPane< / h4 >
2014-11-10 09:02:21 +00:00
< pre > protected transient javax.swing.JScrollPane scrollPane< / pre >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
< a name = "textArea" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > textArea< / h4 >
2014-11-10 09:02:21 +00:00
< pre > protected transient javax.swing.JTextArea textArea< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Holds the editor for plain text editing.< / div >
< / li >
< / ul >
< a name = "editorPane" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > editorPane< / h4 >
2014-11-10 09:02:21 +00:00
< pre > protected transient javax.swing.JEditorPane editorPane< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Holds the editor for HTML editing.< / div >
< / li >
< / ul >
< a name = "extractHtmlBody" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > extractHtmlBody< / h4 >
< pre > protected boolean extractHtmlBody< / pre >
< div class = "block" > Specifies if the text content of the HTML body should be extracted
before and after editing for HTML markup. Default is true.< / div >
< / li >
< / ul >
< a name = "replaceLinefeeds" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > replaceLinefeeds< / h4 >
< pre > protected boolean replaceLinefeeds< / pre >
< div class = "block" > Specifies if linefeeds should be replaced with BREAKS before editing,
2012-05-21 20:32:26 +00:00
and BREAKS should be replaced with linefeeds after editing. This
2014-04-01 11:30:48 +00:00
value is ignored if extractHtmlBody is false. Default is true.< / div >
< / li >
< / ul >
< a name = "shiftEnterSubmitsText" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > shiftEnterSubmitsText< / h4 >
< pre > protected boolean shiftEnterSubmitsText< / pre >
< div class = "block" > Specifies if shift ENTER should submit text if enterStopsCellEditing
is true. Default is false.< / div >
< / li >
< / ul >
< a name = "cancelEditingAction" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > cancelEditingAction< / h4 >
2014-11-10 09:02:21 +00:00
< pre > protected javax.swing.AbstractAction cancelEditingAction< / pre >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
< a name = "textSubmitAction" >
<!-- -->
< / a >
< ul class = "blockListLast" >
< li class = "blockList" >
< h4 > textSubmitAction< / h4 >
2014-11-10 09:02:21 +00:00
< pre > protected javax.swing.AbstractAction textSubmitAction< / pre >
2014-04-01 11:30:48 +00:00
< / li >
< / ul >
< / li >
< / ul >
2012-05-21 20:32:26 +00:00
<!-- ========= CONSTRUCTOR DETAIL ======== -->
2014-04-01 11:30:48 +00:00
< ul class = "blockList" >
< li class = "blockList" > < a name = "constructor_detail" >
<!-- -->
< / a >
< h3 > Constructor Detail< / h3 >
< a name = "mxCellEditor(com.mxgraph.swing.mxGraphComponent)" >
<!-- -->
< / a >
< ul class = "blockListLast" >
< li class = "blockList" >
< h4 > mxCellEditor< / h4 >
< pre > public mxCellEditor(< a href = "../../../../com/mxgraph/swing/mxGraphComponent.html" title = "class in com.mxgraph.swing" > mxGraphComponent< / a > graphComponent)< / pre >
< / li >
< / ul >
< / li >
< / ul >
2012-05-21 20:32:26 +00:00
<!-- ============ METHOD DETAIL ========== -->
2014-04-01 11:30:48 +00:00
< ul class = "blockList" >
< li class = "blockList" > < a name = "method_detail" >
<!-- -->
< / a >
< h3 > Method Detail< / h3 >
< a name = "isExtractHtmlBody()" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > isExtractHtmlBody< / h4 >
< pre > public boolean isExtractHtmlBody()< / pre >
< div class = "block" > Returns replaceHtmlLinefeeds< / div >
< / li >
< / ul >
< a name = "setExtractHtmlBody(boolean)" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setExtractHtmlBody< / h4 >
< pre > public void setExtractHtmlBody(boolean value)< / pre >
< div class = "block" > Sets extractHtmlBody< / div >
< / li >
< / ul >
< a name = "isReplaceHtmlLinefeeds()" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > isReplaceHtmlLinefeeds< / h4 >
< pre > public boolean isReplaceHtmlLinefeeds()< / pre >
< div class = "block" > Returns replaceHtmlLinefeeds< / div >
< / li >
< / ul >
< a name = "setReplaceHtmlLinefeeds(boolean)" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setReplaceHtmlLinefeeds< / h4 >
< pre > public void setReplaceHtmlLinefeeds(boolean value)< / pre >
< div class = "block" > Sets replaceHtmlLinefeeds< / div >
< / li >
< / ul >
< a name = "isShiftEnterSubmitsText()" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > isShiftEnterSubmitsText< / h4 >
< pre > public boolean isShiftEnterSubmitsText()< / pre >
< div class = "block" > Returns shiftEnterSubmitsText< / div >
< / li >
< / ul >
< a name = "setShiftEnterSubmitsText(boolean)" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setShiftEnterSubmitsText< / h4 >
< pre > public void setShiftEnterSubmitsText(boolean value)< / pre >
< div class = "block" > Sets shiftEnterSubmitsText< / div >
< / li >
< / ul >
< a name = "configureActionMaps()" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > configureActionMaps< / h4 >
< pre > protected void configureActionMaps()< / pre >
< div class = "block" > Installs the keyListener in the textArea and editorPane
for handling the enter keystroke and updating the modified state.< / div >
< / li >
< / ul >
< a name = "getEditor()" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getEditor< / h4 >
2014-11-10 09:02:21 +00:00
< pre > public java.awt.Component getEditor()< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Returns the current editor or null if no editing is in progress.< / div >
< / li >
< / ul >
< a name = "useLabelBounds(com.mxgraph.view.mxCellState)" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > useLabelBounds< / h4 >
< pre > protected boolean useLabelBounds(< a href = "../../../../com/mxgraph/view/mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > state)< / pre >
< div class = "block" > Returns true if the label bounds of the state should be used for the
editor.< / div >
< / li >
< / ul >
< a name = "getEditorBounds(com.mxgraph.view.mxCellState, double)" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getEditorBounds< / h4 >
2014-11-10 09:02:21 +00:00
< pre > public java.awt.Rectangle getEditorBounds(< a href = "../../../../com/mxgraph/view/mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > state,
double scale)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Returns the bounds to be used for the editor.< / div >
< / li >
< / ul >
< a name = "startEditing(java.lang.Object, java.util.EventObject)" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > startEditing< / h4 >
2014-11-10 09:02:21 +00:00
< pre > public void startEditing(java.lang.Object cell,
java.util.EventObject evt)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > < strong > Description copied from interface: < code > < a href = "../../../../com/mxgraph/swing/view/mxICellEditor.html#startEditing(java.lang.Object, java.util.EventObject)" > mxICellEditor< / a > < / code > < / strong > < / div >
< div class = "block" > Starts editing the given cell.< / div >
< dl >
< dt > < strong > Specified by:< / strong > < / dt >
< dd > < code > < a href = "../../../../com/mxgraph/swing/view/mxICellEditor.html#startEditing(java.lang.Object, java.util.EventObject)" > startEditing< / a > < / code > in interface < code > < a href = "../../../../com/mxgraph/swing/view/mxICellEditor.html" title = "interface in com.mxgraph.swing.view" > mxICellEditor< / a > < / code > < / dd >
< / dl >
< / li >
< / ul >
< a name = "isHideLabel(com.mxgraph.view.mxCellState)" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > isHideLabel< / h4 >
< pre > protected boolean isHideLabel(< a href = "../../../../com/mxgraph/view/mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > state)< / pre >
< / li >
< / ul >
< a name = "stopEditing(boolean)" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > stopEditing< / h4 >
< pre > public void stopEditing(boolean cancel)< / pre >
< div class = "block" > < strong > Description copied from interface: < code > < a href = "../../../../com/mxgraph/swing/view/mxICellEditor.html#stopEditing(boolean)" > mxICellEditor< / a > < / code > < / strong > < / div >
< div class = "block" > Stops the current editing.< / div >
< dl >
< dt > < strong > Specified by:< / strong > < / dt >
< dd > < code > < a href = "../../../../com/mxgraph/swing/view/mxICellEditor.html#stopEditing(boolean)" > stopEditing< / a > < / code > in interface < code > < a href = "../../../../com/mxgraph/swing/view/mxICellEditor.html" title = "interface in com.mxgraph.swing.view" > mxICellEditor< / a > < / code > < / dd >
< / dl >
< / li >
< / ul >
< a name = "getInitialValue(com.mxgraph.view.mxCellState, java.util.EventObject)" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getInitialValue< / h4 >
2014-11-10 09:02:21 +00:00
< pre > protected java.lang.String getInitialValue(< a href = "../../../../com/mxgraph/view/mxCellState.html" title = "class in com.mxgraph.view" > mxCellState< / a > state,
java.util.EventObject trigger)< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Gets the initial editing value for the given cell.< / div >
< / li >
< / ul >
< a name = "getCurrentValue()" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getCurrentValue< / h4 >
2014-11-10 09:02:21 +00:00
< pre > public java.lang.String getCurrentValue()< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > Returns the current editing value.< / div >
< / li >
< / ul >
< a name = "getEditingCell()" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getEditingCell< / h4 >
2014-11-10 09:02:21 +00:00
< pre > public java.lang.Object getEditingCell()< / pre >
2014-04-01 11:30:48 +00:00
< div class = "block" > < strong > Description copied from interface: < code > < a href = "../../../../com/mxgraph/swing/view/mxICellEditor.html#getEditingCell()" > mxICellEditor< / a > < / code > < / strong > < / div >
< div class = "block" > Returns the cell that is currently being edited.< / div >
< dl >
< dt > < strong > Specified by:< / strong > < / dt >
< dd > < code > < a href = "../../../../com/mxgraph/swing/view/mxICellEditor.html#getEditingCell()" > getEditingCell< / a > < / code > in interface < code > < a href = "../../../../com/mxgraph/swing/view/mxICellEditor.html" title = "interface in com.mxgraph.swing.view" > mxICellEditor< / a > < / code > < / dd >
< / dl >
< / li >
< / ul >
< a name = "getMinimumEditorScale()" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getMinimumEditorScale< / h4 >
< pre > public double getMinimumEditorScale()< / pre >
< dl > < dt > < span class = "strong" > Returns:< / span > < / dt > < dd > the minimumEditorScale< / dd > < / dl >
< / li >
< / ul >
< a name = "setMinimumEditorScale(double)" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setMinimumEditorScale< / h4 >
< pre > public void setMinimumEditorScale(double minimumEditorScale)< / pre >
< dl > < dt > < span class = "strong" > Parameters:< / span > < / dt > < dd > < code > minimumEditorScale< / code > - the minimumEditorScale to set< / dd > < / dl >
< / li >
< / ul >
< a name = "getMinimumWidth()" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getMinimumWidth< / h4 >
< pre > public int getMinimumWidth()< / pre >
< dl > < dt > < span class = "strong" > Returns:< / span > < / dt > < dd > the minimumWidth< / dd > < / dl >
< / li >
< / ul >
< a name = "setMinimumWidth(int)" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setMinimumWidth< / h4 >
< pre > public void setMinimumWidth(int minimumWidth)< / pre >
< dl > < dt > < span class = "strong" > Parameters:< / span > < / dt > < dd > < code > minimumWidth< / code > - the minimumWidth to set< / dd > < / dl >
< / li >
< / ul >
< a name = "getMinimumHeight()" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getMinimumHeight< / h4 >
< pre > public int getMinimumHeight()< / pre >
< dl > < dt > < span class = "strong" > Returns:< / span > < / dt > < dd > the minimumHeight< / dd > < / dl >
< / li >
< / ul >
< a name = "setMinimumHeight(int)" >
<!-- -->
< / a >
< ul class = "blockListLast" >
< li class = "blockList" >
< h4 > setMinimumHeight< / h4 >
< pre > public void setMinimumHeight(int minimumHeight)< / pre >
< dl > < dt > < span class = "strong" > Parameters:< / span > < / dt > < dd > < code > minimumHeight< / code > - the minimumHeight to set< / dd > < / dl >
< / li >
< / ul >
< / li >
< / ul >
< / li >
< / ul >
< / div >
< / div >
2012-05-21 20:32:26 +00:00
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
2014-04-01 11:30:48 +00:00
< div class = "bottomNav" > < a name = "navbar_bottom" >
<!-- -->
< / a > < a href = "#skip-navbar_bottom" title = "Skip navigation links" > < / a > < a name = "navbar_bottom_firstrow" >
<!-- -->
< / a >
< ul class = "navList" title = "Navigation" >
< li > < a href = "../../../../overview-summary.html" > Overview< / a > < / li >
< li > < a href = "package-summary.html" > Package< / a > < / li >
< li class = "navBarCell1Rev" > Class< / li >
< li > < a href = "class-use/mxCellEditor.html" > Use< / a > < / li >
< li > < a href = "package-tree.html" > Tree< / a > < / li >
< li > < a href = "../../../../deprecated-list.html" > Deprecated< / a > < / li >
< li > < a href = "../../../../index-all.html" > Index< / a > < / li >
< li > < a href = "../../../../help-doc.html" > Help< / a > < / li >
< / ul >
2014-11-10 09:02:21 +00:00
< div class = "aboutLanguage" > < em > < p > < b > mxGraph 3.1.1.1< / b > < / p > < / em > < / div >
2014-04-01 11:30:48 +00:00
< / div >
< div class = "subNav" >
< ul class = "navList" >
< li > Prev Class< / li >
< li > < a href = "../../../../com/mxgraph/swing/view/mxCellStatePreview.html" title = "class in com.mxgraph.swing.view" > < span class = "strong" > Next Class< / span > < / a > < / li >
< / ul >
< ul class = "navList" >
< li > < a href = "../../../../index.html?com/mxgraph/swing/view/mxCellEditor.html" target = "_top" > Frames< / a > < / li >
< li > < a href = "mxCellEditor.html" target = "_top" > No Frames< / a > < / li >
< / ul >
< ul class = "navList" id = "allclasses_navbar_bottom" >
< li > < a href = "../../../../allclasses-noframe.html" > All Classes< / a > < / li >
< / ul >
< div >
< script type = "text/javascript" > < ! - -
allClassesLink = document.getElementById("allclasses_navbar_bottom");
2012-05-21 20:32:26 +00:00
if(window==top) {
2014-04-01 11:30:48 +00:00
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
2012-05-21 20:32:26 +00:00
}
//-->
2014-04-01 11:30:48 +00:00
< / script >
< / div >
< div >
< ul class = "subNavList" >
< li > Summary: < / li >
< li > Nested | < / li >
< li > < a href = "#field_summary" > Field< / a > | < / li >
< li > < a href = "#constructor_summary" > Constr< / a > | < / li >
< li > < a href = "#method_summary" > Method< / a > < / li >
< / ul >
< ul class = "subNavList" >
< li > Detail: < / li >
< li > < a href = "#field_detail" > Field< / a > | < / li >
< li > < a href = "#constructor_detail" > Constr< / a > | < / li >
< li > < a href = "#method_detail" > Method< / a > < / li >
< / ul >
< / div >
< a name = "skip-navbar_bottom" >
<!-- -->
< / a > < / div >
2012-05-21 20:32:26 +00:00
<!-- ======== END OF BOTTOM NAVBAR ======= -->
2014-04-01 11:30:48 +00:00
< p class = "legalCopy" > < small > < font size = 1 > Copyright (c) 2010 < a href = "http://www.mxgraph.com/"
target="_blank">Gaudenz Alder, David Benson< / a > . All rights reserved.< / font > < / small > < / p >
< / body >
< / html >