websphinx.util
Class MultiLineString
java.lang.Object
|
+--websphinx.util.MultiLineString
- public class MultiLineString
- extends java.lang.Object
Field Summary |
(package private) java.lang.String[] |
lines
|
Method Summary |
int |
countLines()
|
void |
draw(java.awt.Graphics g,
int x,
int y,
int alignment)
|
int |
getHeight(java.awt.FontMetrics fm)
|
java.lang.String |
getLineAt(int i)
|
int |
getWidth(java.awt.FontMetrics fm)
|
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
lines
java.lang.String[] lines
MultiLineString
public MultiLineString(java.lang.String string)
MultiLineString
public MultiLineString(java.lang.String[] lines)
countLines
public int countLines()
getLineAt
public java.lang.String getLineAt(int i)
getWidth
public int getWidth(java.awt.FontMetrics fm)
getHeight
public int getHeight(java.awt.FontMetrics fm)
draw
public void draw(java.awt.Graphics g,
int x,
int y,
int alignment)