mome.ext
Class StringWrapper
java.lang.Object
mome.ext.StringWrapper
- All Implemented Interfaces:
- Enumeration
public class StringWrapper
- extends Object
- implements Enumeration
- Version:
- 0.2
- Author:
- Sergio Morozov
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringWrapper
public StringWrapper(int width)
StringWrapper
public StringWrapper(int width,
Font font)
StringWrapper
public StringWrapper(int width,
Font font,
String str)
StringWrapper
public StringWrapper(int width,
boolean truncate)
StringWrapper
public StringWrapper(int width,
Font font,
boolean truncate)
StringWrapper
public StringWrapper(int width,
Font font,
String str,
boolean truncate)
restart
public void restart()
getFont
public Font getFont()
- Returns:
- the font
- Since:
- 0.2
setFont
public void setFont(Font font)
- Parameters:
font
- the font to set- Since:
- 0.2
setWidth
public void setWidth(int width)
getWidth
public int getWidth()
setString
public void setString(String str)
getString
public String getString()
isTruncate
public boolean isTruncate()
- Returns:
- the truncate
- Since:
- 0.2
setTruncate
public void setTruncate(boolean truncate)
- Parameters:
truncate
- the truncate to set- Since:
- 0.2
hasMoreElements
public boolean hasMoreElements()
- Specified by:
hasMoreElements
in interface Enumeration
nextElement
public Object nextElement()
- Specified by:
nextElement
in interface Enumeration