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

java.lang.Object
   |
   +--javax.swing.text.View
         |
         +--javax.swing.text.CompositeView

Deklaration

public class CompositeView
extends javax.swing.text.View

Beschreibung


 
Konstruktoren
publicCompositeView(Element elem)
 
Methoden
protected voidloadChildren(ViewFactory f)
public voidsetParent(View parent)
public intgetViewCount()
public ViewgetView(int n)
public voidreplace(int offset, int length, View[] views)
public ShapegetChildAllocation(int index, Shape a)
public ShapemodelToView(int pos, Shape a, Position.Bias b)
public ShapemodelToView(int p0, Position.Bias b0, int p1, Position.Bias b1, Shape a)
public intviewToModel(float x, float y, Shape a, Position.Bias[] bias)
public intgetNextVisualPositionFrom(int pos, Position.Bias b, Shape a, int direction, Position.Bias[] biasRet)
public intgetViewIndex(int pos, Position.Bias b)
protected booleanisBefore(int x, int y, Rectangle alloc)
protected booleanisAfter(int x, int y, Rectangle alloc)
protected ViewgetViewAtPoint(int x, int y, Rectangle alloc)
protected voidchildAllocation(int index, Rectangle a)
protected ViewgetViewAtPosition(int pos, Rectangle a)
protected intgetViewIndexAtPosition(int pos)
protected RectanglegetInsideAllocation(Shape a)
protected voidsetParagraphInsets(AttributeSet attr)
protected voidsetInsets(short top, short left, short bottom, short right)
protected shortgetLeftInset()
protected shortgetRightInset()
protected shortgetTopInset()
protected shortgetBottomInset()
protected intgetNextNorthSouthVisualPositionFrom(int pos, Position.Bias b, Shape a, int direction, Position.Bias[] biasRet)
protected intgetNextEastWestVisualPositionFrom(int pos, Position.Bias b, Shape a, int direction, Position.Bias[] biasRet)
protected booleanflipEastAndWestAtEnds(int position, Position.Bias bias)


 

Konstruktoren im Detail

public CompositeView(Element elem)

 

Methoden im Detail

protected void loadChildren(ViewFactory f)
public void setParent(View parent)
public int getViewCount()
public View getView(int n)
public void replace(int offset, int length, View[] views)
public Shape getChildAllocation(int index, Shape a)
public Shape modelToView(int pos, Shape a, Position.Bias b)
Exception: BadLocationException
public Shape modelToView(int p0, Position.Bias b0, int p1, Position.Bias b1, Shape a)
Exception: BadLocationException
public int viewToModel(float x, float y, Shape a, Position.Bias[] bias)
public int getNextVisualPositionFrom(int pos, Position.Bias b, Shape a, int direction, Position.Bias[] biasRet)
Exception: BadLocationException
public int getViewIndex(int pos, Position.Bias b)
protected boolean isBefore(int x, int y, Rectangle alloc)
protected boolean isAfter(int x, int y, Rectangle alloc)
protected View getViewAtPoint(int x, int y, Rectangle alloc)
protected void childAllocation(int index, Rectangle a)
protected View getViewAtPosition(int pos, Rectangle a)
protected int getViewIndexAtPosition(int pos)
protected Rectangle getInsideAllocation(Shape a)
protected void setParagraphInsets(AttributeSet attr)
protected void setInsets(short top, short left, short bottom, short right)
protected short getLeftInset()
protected short getRightInset()
protected short getTopInset()
protected short getBottomInset()
protected int getNextNorthSouthVisualPositionFrom(int pos, Position.Bias b, Shape a, int direction, Position.Bias[] biasRet)
Exception: BadLocationException
protected int getNextEastWestVisualPositionFrom(int pos, Position.Bias b, Shape a, int direction, Position.Bias[] biasRet)
Exception: BadLocationException
protected boolean flipEastAndWestAtEnds(int position, Position.Bias bias)


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

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