borland Packages Class Hierarchy jbcl.view Package Index
java.lang.Object +----borland.jbcl.view.TextWrapper
Properties Methods
Implements Serializable
The TextWrapper class wraps text to fit into a restricted width. It uses the current locale settings to perform language-smart word wrapping.
protected void calcSize(java.awt.Graphics g)Calculates the size needed to display the wrapped text.
public Dimension getSize(java.awt.Graphics g)Returns the dimensions of the TextWrapper.
public void paint(java.awt.Graphics g, int x, int y, int maxWidth, int maxHeight)Paints the TextWrapper.
Parameters: