|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.text.EditorKit
javax.swing.text.DefaultEditorKit
javax.swing.text.StyledEditorKit
gate.util.RawEditorKit
This class provides an editor kit that does not change \n\r to \n but instead it leaves the original text as is. Needed for GUI components
Nested Class Summary |
Nested classes inherited from class javax.swing.text.StyledEditorKit |
StyledEditorKit.AlignmentAction, StyledEditorKit.BoldAction, StyledEditorKit.FontFamilyAction, StyledEditorKit.FontSizeAction, StyledEditorKit.ForegroundAction, StyledEditorKit.ItalicAction, StyledEditorKit.StyledTextAction, StyledEditorKit.UnderlineAction |
Nested classes inherited from class javax.swing.text.DefaultEditorKit |
DefaultEditorKit.BeepAction, DefaultEditorKit.CopyAction, DefaultEditorKit.CutAction, DefaultEditorKit.DefaultKeyTypedAction, DefaultEditorKit.InsertBreakAction, DefaultEditorKit.InsertContentAction, DefaultEditorKit.InsertTabAction, DefaultEditorKit.PasteAction |
Field Summary |
Constructor Summary | |
RawEditorKit()
|
Method Summary | |
void |
read(Reader in,
Document doc,
int pos)
Inserts content from the given stream, which will be treated as plain text. |
Methods inherited from class javax.swing.text.StyledEditorKit |
clone, createDefaultDocument, deinstall, getActions, getCharacterAttributeRun, getInputAttributes, getViewFactory, install |
Methods inherited from class javax.swing.text.DefaultEditorKit |
createCaret, getContentType, read, write, write |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RawEditorKit()
Method Detail |
public void read(Reader in, Document doc, int pos) throws IOException, BadLocationException
IOException
BadLocationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |