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.StringContent1.2

java.lang.Object
   |
   +--javax.swing.text.StringContent

Deklaration

public final class StringContent
extends java.lang.Object
implements javax.swing.text.AbstractDocument.Content, java.io.Serializable

Beschreibung


 
Konstruktoren
publicStringContent()
publicStringContent(int initialLength)
 
Methoden
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 VectorgetPositionsInRange(Vector v, int offset, int length)
protected voidupdateUndoPositions(Vector positions)


 

Konstruktoren im Detail

public StringContent()
public StringContent(int initialLength)

 

Methoden im Detail

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 Vector getPositionsInRange(Vector v, int offset, int length)
protected void updateUndoPositions(Vector positions)


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

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