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

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

Deklaration

public class PlainView
extends javax.swing.text.View
implements javax.swing.text.TabExpander

Beschreibung


 
Datenelemente
protected FontMetricsmetrics
 
Konstruktoren
publicPlainView(Element elem)
 
Methoden
protected intgetTabSize()
protected voiddrawLine(int lineIndex, Graphics g, int x, int y)
protected intdrawUnselectedText(Graphics g, int x, int y, int p0, int p1)
protected intdrawSelectedText(Graphics g, int x, int y, int p0, int p1)
protected final SegmentgetLineBuffer()
protected voidupdateMetrics()     [1.4]
public floatgetPreferredSpan(int axis)
public voidpaint(Graphics g, Shape a)
public ShapemodelToView(int pos, Shape a, Position.Bias b)
public intviewToModel(float fx, float fy, Shape a, Position.Bias[] bias)
public voidinsertUpdate(DocumentEvent changes, Shape a, ViewFactory f)
public voidremoveUpdate(DocumentEvent changes, Shape a, ViewFactory f)
public voidchangedUpdate(DocumentEvent changes, Shape a, ViewFactory f)
public voidsetSize(float width, float height)
public floatnextTabStop(float x, int tabOffset)
protected voidupdateDamage(DocumentEvent changes, Shape a, ViewFactory f)
protected voiddamageLineRange(int line0, int line1, Shape a, Component host)     [1.4]
protected RectanglelineToRect(Shape a, int line)     [1.4]


 

Datenelemente im Detail

protected FontMetrics metrics

 

Konstruktoren im Detail

public PlainView(Element elem)

 

Methoden im Detail

protected int getTabSize()
protected void drawLine(int lineIndex, Graphics g, int x, int y)
protected int drawUnselectedText(Graphics g, int x, int y, int p0, int p1)
Exception: BadLocationException
protected int drawSelectedText(Graphics g, int x, int y, int p0, int p1)
Exception: BadLocationException
protected final Segment getLineBuffer()
protected void updateMetrics()     [1.4]
public float getPreferredSpan(int axis)
public void paint(Graphics g, Shape a)
public Shape modelToView(int pos, Shape a, Position.Bias b)
Exception: BadLocationException
public int viewToModel(float fx, float fy, Shape a, Position.Bias[] bias)
public void insertUpdate(DocumentEvent changes, Shape a, ViewFactory f)
public void removeUpdate(DocumentEvent changes, Shape a, ViewFactory f)
public void changedUpdate(DocumentEvent changes, Shape a, ViewFactory f)
public void setSize(float width, float height)
public float nextTabStop(float x, int tabOffset)
protected void updateDamage(DocumentEvent changes, Shape a, ViewFactory f)
protected void damageLineRange(int line0, int line1, Shape a, Component host)     [1.4]
protected Rectangle lineToRect(Shape a, int line)     [1.4]


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

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