|
TV-Browser 2.7.5 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectutil.ui.TextAreaIcon
public class TextAreaIcon
An icon that displays multiline text.
| Constructor Summary | |
|---|---|
TextAreaIcon(String text,
Font font,
int width)
Creates a TextAreaIcon with the specified text, font and width. |
|
TextAreaIcon(String text,
Font font,
int width,
int lineSpace)
Creates a TextAreaIcon with the specified text, font and width. |
|
| Method Summary | |
|---|---|
int |
getIconHeight()
Returns the icon's height. |
int |
getIconWidth()
Returns the icon's mWidth. |
int |
getLineCount()
|
int |
getMaximumLineCount()
Get the maximum LineCount |
void |
paintIcon(Component comp,
Graphics grp,
int x,
int y)
Draw the icon at the specified location. |
void |
setMaximumLineCount(int maxLineCount)
Sets the maximum Linecount |
void |
setText(Reader textReader)
Set the Text of this Icon |
void |
setText(String text)
Set the Text of this Icon |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TextAreaIcon(String text,
Font font,
int width,
int lineSpace)
public TextAreaIcon(String text,
Font font,
int width)
| Method Detail |
|---|
public void setMaximumLineCount(int maxLineCount)
maxLineCount - Max Count of Linespublic int getMaximumLineCount()
public void setText(String text)
text - Text in this Icon
public void setText(Reader textReader)
throws IOException
textReader - Text in this Icon
IOExceptionpublic int getIconHeight()
getIconHeight in interface Iconpublic int getIconWidth()
getIconWidth in interface Iconpublic int getLineCount()
public void paintIcon(Component comp,
Graphics grp,
int x,
int y)
paintIcon in interface Icon
|
TV-Browser 2.7.5 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||