org.opencrx.kernel.utils.rtf
Class TextPart
java.lang.Object
org.opencrx.kernel.utils.rtf.TextPart
- All Implemented Interfaces:
- Text
public class TextPart
- extends Object
- implements Text
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FORMAT_NORMAL
public static final int FORMAT_NORMAL
- See Also:
- Constant Field Values
FORMAT_BOLD
public static final int FORMAT_BOLD
- See Also:
- Constant Field Values
FORMAT_ITALIC
public static final int FORMAT_ITALIC
- See Also:
- Constant Field Values
FORMAT_UNDERLINE
public static final int FORMAT_UNDERLINE
- See Also:
- Constant Field Values
FORMAT_CAPITALS
public static final int FORMAT_CAPITALS
- See Also:
- Constant Field Values
FORMAT_OUTLINE
public static final int FORMAT_OUTLINE
- See Also:
- Constant Field Values
FORMAT_SHADOW
public static final int FORMAT_SHADOW
- See Also:
- Constant Field Values
ANIMTEXT_NO
public static final int ANIMTEXT_NO
- See Also:
- Constant Field Values
ANIMTEXT_LASVEGAS_LIGHTS
public static final int ANIMTEXT_LASVEGAS_LIGHTS
- See Also:
- Constant Field Values
ANIMTEXT_BLINKING_BACKGROUND
public static final int ANIMTEXT_BLINKING_BACKGROUND
- See Also:
- Constant Field Values
ANIMTEXT_SPARKLE_TEXT
public static final int ANIMTEXT_SPARKLE_TEXT
- See Also:
- Constant Field Values
ANIMTEXT_MARCHING_BLACK_ANTS
public static final int ANIMTEXT_MARCHING_BLACK_ANTS
- See Also:
- Constant Field Values
ANIMTEXT_MARCHING_RED_ANTS
public static final int ANIMTEXT_MARCHING_RED_ANTS
- See Also:
- Constant Field Values
ANIMTEXT_SHIMMER
public static final int ANIMTEXT_SHIMMER
- See Also:
- Constant Field Values
SIGN_TAB
public static final char SIGN_TAB
- See Also:
- Constant Field Values
TABULATOR
public static final TextPart TABULATOR
NEWLINE
public static final TextPart NEWLINE
SIGN_HARDSPACE
public static final TextPart SIGN_HARDSPACE
SIGN_NON_REQUIRED_HYPHEN
public static final TextPart SIGN_NON_REQUIRED_HYPHEN
SIGN_NO_BREAKING_HYPHEN
public static final TextPart SIGN_NO_BREAKING_HYPHEN
TextPart
public TextPart(String text)
TextPart
protected TextPart(String rawtext,
boolean raw)
TextPart
public TextPart(int format,
String text)
TextPart
public TextPart(int format,
int fontsize,
Font font,
String text)
setItalic
public void setItalic(boolean value)
isItalic
public boolean isItalic()
setBold
public void setBold(boolean value)
isBold
public boolean isBold()
setUnderline
public void setUnderline(boolean value)
isUnderline
public boolean isUnderline()
setCapitals
public void setCapitals(boolean value)
isCapitals
public boolean isCapitals()
setOutline
public void setOutline(boolean value)
isOutline
public boolean isOutline()
setShadow
public void setShadow(boolean value)
isShadow
public boolean isShadow()
setAnimtext
public void setAnimtext(int animtext)
getFontsize
public int getFontsize()
setFontsize
public void setFontsize(int size)
getAnimtext
public int getAnimtext()
setContent
public void setContent(String value)
getRtfContent
public String getRtfContent()
- Specified by:
getRtfContent in interface Text
This software is published under the BSD license. Copyright © 2003-2008, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.