|
GATE Version 3.1-2270 |
|||||||||
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
public class 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/interfaces 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/interfaces 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, createInputAttributes, 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, finalize, 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
read
in class DefaultEditorKit
IOException
BadLocationException
|
GATE Version 3.1-2270 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |