public class DefaultJTextEditor extends AbstractJTextEditor
AbstractJTextEditor.UpdateCaretPositionActionEventImplJTextEditor.UpdateCaretPositionActionEventchangeListeners, LOGGER, panel, updateCaretPositionListener| Constructor and Description |
|---|
DefaultJTextEditor(TextEditorManager factory) |
| Modifier and Type | Method and Description |
|---|---|
void |
clean() |
byte[] |
getBytes() |
java.lang.String |
getContents() |
javax.swing.text.JTextComponent |
getJTextComponent() |
java.lang.String |
getMimetype() |
void |
setContents(java.lang.Object data) |
void |
setMimetype(java.lang.String mimeType) |
addChangeListener, addUpdateCaretPositionActionListener, asJComponent, getChangeListeners, getLineCount, gotoline, hasChangeListeners, isModified, removeAllChangeListener, removeChangeListener, selectLinegetFactory, isEditable, isEnabled, setEditable, setEnabledclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisEditable, isEnabled, setEditable, setEnabledgetFactorypublic DefaultJTextEditor(TextEditorManager factory)
public void setMimetype(java.lang.String mimeType)
public java.lang.String getMimetype()
getMimetype in interface JTextEditorgetMimetype in interface JViewergetMimetype in class AbstractJViewerpublic void setContents(java.lang.Object data)
setContents in interface JTextEditorsetContents in interface JViewersetContents in class AbstractJViewerpublic byte[] getBytes()
getBytes in interface JViewergetBytes in class AbstractJViewerpublic java.lang.String getContents()
getContents in interface JTextEditorgetContents in interface JViewergetContents in class AbstractJViewerpublic void clean()
clean in interface JTextEditorclean in interface JViewerclean in class AbstractJViewerpublic javax.swing.text.JTextComponent getJTextComponent()