KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > javax > swing > text > PlainView

javax.swing.text
Class PlainView

java.lang.Object
  extended by javax.swing.text.View
      extended by javax.swing.text.PlainView
All Implemented Interfaces:
SwingConstants, TabExpander
Direct Known Subclasses:
FieldView
See Also:
Source Code

public void changedUpdate(DocumentEvent changes,
                          Shape a,
                          ViewFactory f)
See Also:
View
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void damageLineRange(int line0,
                               int line1,
                               Shape a,
                               Component host)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void drawLine(int lineIndex,
                        Graphics g,
                        int x,
                        int y)
See Also:
drawSelectedText(java.awt.Graphics, int, int, int, int), drawUnselectedText(java.awt.Graphics, int, int, int, int)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected int drawSelectedText(Graphics g,
                               int x,
                               int y,
                               int p0,
                               int p1)
                        throws BadLocationException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected int drawUnselectedText(Graphics g,
                                 int x,
                                 int y,
                                 int p0,
                                 int p1)
                          throws BadLocationException
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected final Segment getLineBuffer()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public float getPreferredSpan(int axis)
See Also:
IllegalArgumentException, View
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected int getTabSize()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void insertUpdate(DocumentEvent changes,
                         Shape a,
                         ViewFactory f)
See Also:
View
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected Rectangle lineToRect(Shape a,
                               int line)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected FontMetrics metrics
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public Shape modelToView(int pos,
                         Shape a,
                         Position.Bias b)
                  throws BadLocationException
See Also:
View
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public float nextTabStop(float x,
                         int tabOffset)
See Also:
TabExpander
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void paint(Graphics g,
                  Shape a)
See Also:
View
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public PlainView(Element elem)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void removeUpdate(DocumentEvent changes,
                         Shape a,
                         ViewFactory f)
See Also:
View
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void setSize(float width,
                    float height)
See Also:
View
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void updateDamage(DocumentEvent changes,
                            Shape a,
                            ViewFactory f)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected void updateMetrics()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int viewToModel(float fx,
                       float fy,
                       Shape a,
                       Position.Bias[] bias)
See Also:
View
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags