sferyx.administration.renderers
Class EditorGapContent
java.lang.Object
javax.swing.text.GapContent
sferyx.administration.renderers.EditorGapContent
- All Implemented Interfaces:
- java.io.Serializable, javax.swing.text.AbstractDocument.Content
public class EditorGapContent
- extends javax.swing.text.GapContent
- See Also:
- Serialized Form
Constructor Summary |
EditorGapContent(int initialLength)
Creates a new instance of EditorGapContent |
Method Summary |
protected java.lang.Object |
getArray()
|
protected int |
getGapEnd()
|
protected int |
getGapStart()
|
javax.swing.undo.UndoableEdit |
insertString(int where,
java.lang.String str)
|
protected void |
replace(int arg0,
int arg1,
java.lang.Object arg2,
int arg3)
|
Methods inherited from class javax.swing.text.GapContent |
allocateArray, createPosition, getArrayLength, getChars, getPositionsInRange, getString, length, remove, resetMarksAtZero, shiftEnd, shiftGap, shiftGapEndUp, shiftGapStartDown, updateUndoPositions |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EditorGapContent
public EditorGapContent(int initialLength)
- Creates a new instance of EditorGapContent
insertString
public javax.swing.undo.UndoableEdit insertString(int where,
java.lang.String str)
throws javax.swing.text.BadLocationException
- Specified by:
insertString
in interface javax.swing.text.AbstractDocument.Content
- Overrides:
insertString
in class javax.swing.text.GapContent
- Throws:
javax.swing.text.BadLocationException
getArray
protected final java.lang.Object getArray()
getGapStart
protected final int getGapStart()
getGapEnd
protected final int getGapEnd()
replace
protected void replace(int arg0,
int arg1,
java.lang.Object arg2,
int arg3)