Weitere aktuelle Java-Titel finden Sie bei dpunkt.
 Inhaltsverzeichnis   Vorhergehendes Paket   Seite Zurück   Seite Vor   Nächstes Paket   Paketübersicht   Index

Klasse javax.swing.text.GapContent1.2

java.lang.Object
   |
   +--javax.swing.text.GapVector
         |
         +--javax.swing.text.GapContent

Deklaration

public class GapContent
extends javax.swing.text.GapVector
implements javax.swing.text.AbstractDocument.Content, java.io.Serializable

Beschreibung


 
Konstruktoren
publicGapContent()
publicGapContent(int initialLength)
 
Methoden
protected ObjectallocateArray(int len)
protected intgetArrayLength()
public intlength()
public UndoableEditinsertString(int where, String str)
public UndoableEditremove(int where, int nitems)
public StringgetString(int where, int len)
public voidgetChars(int where, int len, Segment chars)
public PositioncreatePosition(int offset)
protected voidshiftEnd(int newSize)
protected voidshiftGap(int newGapStart)
protected voidresetMarksAtZero()
protected voidshiftGapStartDown(int newGapStart)
protected voidshiftGapEndUp(int newGapEnd)
protected VectorgetPositionsInRange(Vector v, int offset, int length)
protected voidupdateUndoPositions(Vector positions, int offset, int length)


 

Konstruktoren im Detail

public GapContent()
public GapContent(int initialLength)

 

Methoden im Detail

protected Object allocateArray(int len)
protected int getArrayLength()
public int length()
public UndoableEdit insertString(int where, String str)
Exception: BadLocationException
public UndoableEdit remove(int where, int nitems)
Exception: BadLocationException
public String getString(int where, int len)
Exception: BadLocationException
public void getChars(int where, int len, Segment chars)
Exception: BadLocationException
public Position createPosition(int offset)
Exception: BadLocationException
protected void shiftEnd(int newSize)
protected void shiftGap(int newGapStart)
protected void resetMarksAtZero()
protected void shiftGapStartDown(int newGapStart)
protected void shiftGapEndUp(int newGapEnd)
protected Vector getPositionsInRange(Vector v, int offset, int length)
protected void updateUndoPositions(Vector positions, int offset, int length)


 Inhaltsverzeichnis   Vorhergehendes Paket   Seite Zurück   Seite Vor   Nächstes Paket   Paketübersicht   Index

Copyright © 2002 dpunkt.Verlag, Heidelberg. Alle Rechte vorbehalten.