Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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
|
public TextAreaIcon(String text, Font font, int width, int lineSpace)
public void setMaximumLineCount(int maxLineCount)
maxLineCount
- Max Count of Linespublic int getMaximumLineCount()
public void setText(String text)
text
- Text in this Iconpublic void setText(Reader textReader) throws IOException
textReader
- Text in this IconIOException
public int getIconHeight()
getIconHeight
in interface Icon
public int getIconWidth()
getIconWidth
in interface Icon
public int getLineCount()
TV-Browser 2.7.6, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)