|
JClass DesktopViews 6.3.0 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.klg.jclass.field.Field.TextFieldContent
Field Summary | |
Vector |
marks
|
protected boolean |
overstrike
|
Constructor Summary | |
Field.TextFieldContent()
Creates a new TextFieldContent object. |
|
Field.TextFieldContent(int length)
Creates a new TextFieldContent object, with the initial size specified. |
Method Summary | |
Position |
createPosition(int offset)
Creates a position within the content that will track change as the content is mutated. |
void |
getChars(int offset,
int len,
Segment chars)
Retrieves a portion of the content. |
boolean |
getOverstrike()
|
String |
getString(int offset,
int len)
Retrieves a portion of the content. |
UndoableEdit |
insertString(int offset,
String str)
Inserts a string into the content. |
void |
insertText(int offset,
int length,
char[] replArray,
int replOffset,
int replLength)
|
int |
length()
Returns the length of the content. |
UndoableEdit |
remove(int offset,
int nitems)
Removes part of the content. |
protected void |
replaceRange(int offset,
char[] replArray,
int replOffset,
int replLength)
|
void |
setOverstrike(boolean overstrike)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected boolean overstrike
public transient Vector marks
Constructor Detail |
public Field.TextFieldContent()
public Field.TextFieldContent(int length)
Method Detail |
public int length()
length
in interface AbstractDocument.Content
protected void replaceRange(int offset, char[] replArray, int replOffset, int replLength)
public UndoableEdit insertString(int offset, String str) throws BadLocationException
insertString
in interface AbstractDocument.Content
BadLocationException
public void insertText(int offset, int length, char[] replArray, int replOffset, int replLength)
public UndoableEdit remove(int offset, int nitems) throws BadLocationException
remove
in interface AbstractDocument.Content
BadLocationException
public String getString(int offset, int len) throws BadLocationException
getString
in interface AbstractDocument.Content
BadLocationException
public void getChars(int offset, int len, Segment chars) throws BadLocationException
getChars
in interface AbstractDocument.Content
BadLocationException
public Position createPosition(int offset) throws BadLocationException
createPosition
in interface AbstractDocument.Content
BadLocationException
public void setOverstrike(boolean overstrike)
public boolean getOverstrike()
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |