Class sunsoft.jws.visual.rt.awt.TextView
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class sunsoft.jws.visual.rt.awt.TextView

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Canvas
                   |
                   +----sunsoft.jws.visual.rt.awt.TextView

public class TextView
extends Canvas
implements Scrollable

Variable Index

 o fontHeight
 o fontMetrics
 o items
 o lineHeight
 o lineWidth
 o mincolumns
 o minrows
 o minWidth
 o selection
 o textBorder
 o textIndent
 o viewBorder
 o viewIPad

Constructor Index

 o TextView()

Method Index

 o addNotify()
 o cacheLineHeight()
 o cacheLineWidth()
 o cacheMinWidth()
 o deselect(int)
 o drawLine(Graphics, int, int, int)
 o getMinimumColumns()
 o getMinimumRows()
 o getRows()
 o getSelectedIndex()
 o getSelectedItem()
 o getStringWidth(String)
 o lineHeight()
 o minimumSize()
 o mouseDown(Event, int, int)
 o mouseDrag(Event, int, int)
 o mouseUp(Event, int, int)
 o paint(Graphics)
 o preferredSize()
 o reshape(int, int, int, int)
 o scrollSize()
 o scrollX(int)
 o scrollY(int)
 o select(int)
 o setFont(Font)
 o setMinimumColumns(int)
 o setMinimumRows(int)
 o update(Graphics)
 o updateView()
 o viewSize()

Variables

 o items
  protected Vector items
 o fontHeight
  protected int fontHeight
 o lineWidth
  protected int lineWidth
 o lineHeight
  protected int lineHeight
 o fontMetrics
  protected FontMetrics fontMetrics
 o minrows
  protected int minrows
 o mincolumns
  protected int mincolumns
 o textIndent
  protected final static int textIndent
 o textBorder
  protected final static int textBorder
 o viewBorder
  protected final static int viewBorder
 o viewIPad
  protected final static int viewIPad
 o selection
  protected int selection
 o minWidth
  protected int minWidth

Constructors

 o TextView
  public TextView()

Methods

 o setMinimumRows
  public void setMinimumRows(int num)
 o getMinimumRows
  public int getMinimumRows()
 o setMinimumColumns
  public void setMinimumColumns(int num)
 o getMinimumColumns
  public int getMinimumColumns()
 o getRows
  public int getRows()
 o updateView
  public void updateView()
 o select
  public void select(int index)
 o deselect
  public void deselect(int index)
 o getSelectedIndex
  public int getSelectedIndex()
 o getSelectedItem
  public Object getSelectedItem()
 o minimumSize
  public Dimension minimumSize()
Overrides:
minimumSize in class Component
 o preferredSize
  public Dimension preferredSize()
Overrides:
preferredSize in class Component
 o scrollX
  public void scrollX(int x)
 o scrollY
  public void scrollY(int y)
 o scrollSize
  public Dimension scrollSize()
 o viewSize
  public Dimension viewSize()
 o lineHeight
  public int lineHeight()
 o mouseDown
  public boolean mouseDown(Event e,
                           int x,
                           int y)
Overrides:
mouseDown in class Component
 o mouseDrag
  public boolean mouseDrag(Event e,
                           int x,
                           int y)
Overrides:
mouseDrag in class Component
 o mouseUp
  public boolean mouseUp(Event e,
                         int x,
                         int y)
Overrides:
mouseUp in class Component
 o reshape
  public void reshape(int x,
                      int y,
                      int width,
                      int height)
Overrides:
reshape in class Component
 o update
  public void update(Graphics g)
Overrides:
update in class Component
 o paint
  public void paint(Graphics g)
Overrides:
paint in class Canvas
 o drawLine
  protected void drawLine(Graphics g,
                          int index,
                          int xoff,
                          int yoff)
 o addNotify
  public void addNotify()
Overrides:
addNotify in class Canvas
 o setFont
  public void setFont(Font f)
Overrides:
setFont in class Component
 o cacheMinWidth
  protected void cacheMinWidth()
 o getStringWidth
  protected int getStringWidth(String s)
 o cacheLineWidth
  protected void cacheLineWidth()
 o cacheLineHeight
  protected void cacheLineHeight()

All Packages  Class Hierarchy  This Package  Previous  Next  Index