public class DefaultJTextEditor extends AbstractJTextEditor
AbstractJTextEditor.UpdateCaretPositionActionEventImpl
JTextEditor.UpdateCaretPositionActionEvent
changeListeners, 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, selectLine
getFactory, isEditable, isEnabled, setEditable, setEnabled
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isEditable, isEnabled, setEditable, setEnabled
getFactory
public DefaultJTextEditor(TextEditorManager factory)
public void setMimetype(java.lang.String mimeType)
public java.lang.String getMimetype()
getMimetype
in interface JTextEditor
getMimetype
in interface JViewer
getMimetype
in class AbstractJViewer
public void setContents(java.lang.Object data)
setContents
in interface JTextEditor
setContents
in interface JViewer
setContents
in class AbstractJViewer
public byte[] getBytes()
getBytes
in interface JViewer
getBytes
in class AbstractJViewer
public java.lang.String getContents()
getContents
in interface JTextEditor
getContents
in interface JViewer
getContents
in class AbstractJViewer
public void clean()
clean
in interface JTextEditor
clean
in interface JViewer
clean
in class AbstractJViewer
public javax.swing.text.JTextComponent getJTextComponent()