Uses of Class
net.sf.paperclips.TextStyle
Packages that use TextStyle
-
Uses of TextStyle in net.sf.paperclips
Fields in net.sf.paperclips declared as TextStyleModifier and TypeFieldDescriptionstatic final TextStyle
PageNumberPrint.DEFAULT_TEXT_STYLE
The default text style.Methods in net.sf.paperclips that return TextStyleModifier and TypeMethodDescriptionTextStyle.align
(int alignment) Returns a copy of this TextStyle, with the alignment changed to the argument.TextStyle.background
(int rgb) Returns a copy of this TextStyle, with the background changed to the color described by the argument.TextStyle.background
(int red, int green, int blue) Returns a copy of this TextStyle, with the background changed to the color described by the arguments.TextStyle.background
(org.eclipse.swt.graphics.RGB background) Returns a copy of this TextStyle, with the background changed to the argument.Returns a copy of this TextStyle, with the font changed to the font described by the arguments.TextStyle.font
(org.eclipse.swt.graphics.FontData fontData) Returns a copy of this TextStyle, with the font changed to the argument.TextStyle.fontHeight
(int height) Returns a copy of this TextStyle, with the font height changed to the argument.Returns a copy of this TextStyle, with the font name changed to the argument.TextStyle.fontStyle
(int style) Returns a copy of this TextStyle, with the font style changed to the argument.TextStyle.foreground
(int rgb) Returns a copy of this TextStyle, with the foreground changed to the color described by the argument.TextStyle.foreground
(int red, int green, int blue) Returns a copy of this TextStyle, with the foreground changed to the color described by the arguments.TextStyle.foreground
(org.eclipse.swt.graphics.RGB foreground) Returns a copy of this TextStyle, with the foreground changed to the argument.TextPrint.getStyle()
Returns the text style.PageNumberPrint.getTextStyle()
Returns the text style that will be used to render the page numberTextStyle.strikeout()
Returns a copy of this TextStyle, with the strikeout flag set to true.TextStyle.strikeout
(boolean strikeout) Returns a copy of this TextStyle, with the strikeout flag set to the argument.TextStyle.underline()
Returns a copy of this TextStyle, with the underline flag set to true.TextStyle.underline
(boolean underline) Returns a copy of this TextStyle, with the underline flag set to the argument.Methods in net.sf.paperclips with parameters of type TextStyleModifier and TypeMethodDescriptionAppends the given text to the end of the document, using the given style.Sets the text style that will be applied to text added through theStyledTextPrint.append(String)
void
Sets the text style to the argument.void
PageNumberPrint.setTextStyle
(TextStyle textStyle) Sets the text style that will be used to render the page numberConstructors in net.sf.paperclips with parameters of type TextStyleModifierConstructorDescriptionPageNumberPrint
(PageNumber pageNumber, TextStyle textStyle) Constructs a PageNumberPrint for the given page number and text style.Constructs a TextPrint with the given text and style.