All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface jclass.bwt.JCTextAreaInterface

public interface JCTextAreaInterface
extends JCTextInterface

Method Index

 o getMinimumSize(int, int)
Returns the minimum size needed for the specified number of rows and columns.
 o getMultiline()
Gets the Multiline value.
 o getRows()
Returns the number of rows.
 o getTopCharacter()
Gets the position of the leftmost character on the first line currently displayed, or 0 if the component is empty.
 o scrollVertical(int)
Scrolls the displayed text vertically.
 o setMultiline(boolean)
If true (default), the user can break text into multiple lines by hitting Enter.
 o setRows(int)
Sets the number of rows.
 o setTopCharacter(int)
Sets the position of the leftmost character on the first line currently displayed.

Methods

 o getRows
 public abstract int getRows()
Returns the number of rows.

 o setRows
 public abstract void setRows(int v)
Sets the number of rows.

 o getMinimumSize
 public abstract Dimension getMinimumSize(int rows,
                                          int columns)
Returns the minimum size needed for the specified number of rows and columns.

 o setMultiline
 public abstract void setMultiline(boolean v)
If true (default), the user can break text into multiple lines by hitting Enter.

 o getMultiline
 public abstract boolean getMultiline()
Gets the Multiline value.

See Also:
setMultiline
 o scrollVertical
 public abstract void scrollVertical(int lines)
Scrolls the displayed text vertically.

Parameters:
lines - the number of lines to scroll; if positive, scrolls upward; otherwise, scrolls downward.
 o getTopCharacter
 public abstract int getTopCharacter()
Gets the position of the leftmost character on the first line currently displayed, or 0 if the component is empty.

See Also:
setTopCharacter
 o setTopCharacter
 public abstract void setTopCharacter(int pos)
Sets the position of the leftmost character on the first line currently displayed. This is the number of characters from the beginning of the text buffer. The first character position is 0.


All Packages  Class Hierarchy  This Package  Previous  Next  Index