Uses of Class
org.eclipse.nebula.paperclips.core.text.TextStyle
-
Packages that use TextStyle Package Description org.eclipse.nebula.paperclips.core.page org.eclipse.nebula.paperclips.core.text org.eclipse.nebula.paperclips.core.text.internal -
-
Uses of TextStyle in org.eclipse.nebula.paperclips.core.page
Fields in org.eclipse.nebula.paperclips.core.page declared as TextStyle Modifier and Type Field Description static TextStylePageNumberPrint. DEFAULT_TEXT_STYLEThe default text style.(package private) TextStylePageNumberIterator. textStyleprivate TextStylePageNumberPiece. textStyle(package private) TextStylePageNumberPrint. textStyleMethods in org.eclipse.nebula.paperclips.core.page that return TextStyle Modifier and Type Method Description TextStylePageNumberPrint. getTextStyle()Returns the text style that will be used to render the page numberMethods in org.eclipse.nebula.paperclips.core.page with parameters of type TextStyle Modifier and Type Method Description voidPageNumberPrint. setTextStyle(TextStyle textStyle)Sets the text style that will be used to render the page numberConstructors in org.eclipse.nebula.paperclips.core.page with parameters of type TextStyle Constructor Description PageNumberPrint(PageNumber pageNumber, TextStyle textStyle)Constructs a PageNumberPrint for the given page number and text style. -
Uses of TextStyle in org.eclipse.nebula.paperclips.core.text
Fields in org.eclipse.nebula.paperclips.core.text declared as TextStyle Modifier and Type Field Description private static TextStyleTextPrint. DEFAULT_STYLEprivate TextStyleStyledTextPrint. style(package private) TextStyleTextIterator. style(package private) TextStyleTextPrint. styleMethods in org.eclipse.nebula.paperclips.core.text that return TextStyle Modifier and Type Method Description TextStyleTextStyle. align(int alignment)Returns a copy of this TextStyle, with the alignment changed to the argument.TextStyleTextStyle. background(int rgb)Returns a copy of this TextStyle, with the background changed to the color described by the argument.TextStyleTextStyle. background(int red, int green, int blue)Returns a copy of this TextStyle, with the background changed to the color described by the arguments.TextStyleTextStyle. background(org.eclipse.swt.graphics.RGB background)Returns a copy of this TextStyle, with the background changed to the argument.TextStyleTextStyle. font(java.lang.String name, int height, int style)Returns a copy of this TextStyle, with the font changed to the font described by the arguments.TextStyleTextStyle. font(org.eclipse.swt.graphics.FontData fontData)Returns a copy of this TextStyle, with the font changed to the argument.TextStyleTextStyle. fontHeight(int height)Returns a copy of this TextStyle, with the font height changed to the argument.TextStyleTextStyle. fontName(java.lang.String name)Returns a copy of this TextStyle, with the font name changed to the argument.TextStyleTextStyle. fontStyle(int style)Returns a copy of this TextStyle, with the font style changed to the argument.TextStyleTextStyle. foreground(int rgb)Returns a copy of this TextStyle, with the foreground changed to the color described by the argument.TextStyleTextStyle. foreground(int red, int green, int blue)Returns a copy of this TextStyle, with the foreground changed to the color described by the arguments.TextStyleTextStyle. foreground(org.eclipse.swt.graphics.RGB foreground)Returns a copy of this TextStyle, with the foreground changed to the argument.TextStyleTextPrint. getStyle()Returns the text style.private TextStyleTextStyle. internalBackground(org.eclipse.swt.graphics.RGB background)private TextStyleTextStyle. internalFont(org.eclipse.swt.graphics.FontData fontData)private TextStyleTextStyle. internalForeground(org.eclipse.swt.graphics.RGB foreground)TextStyleTextStyle. strikeout()Returns a copy of this TextStyle, with the strikeout flag set to true.TextStyleTextStyle. strikeout(boolean strikeout)Returns a copy of this TextStyle, with the strikeout flag set to the argument.TextStyleTextStyle. underline()Returns a copy of this TextStyle, with the underline flag set to true.TextStyleTextStyle. underline(boolean underline)Returns a copy of this TextStyle, with the underline flag set to the argument.Methods in org.eclipse.nebula.paperclips.core.text with parameters of type TextStyle Modifier and Type Method Description StyledTextPrintStyledTextPrint. append(java.lang.String text, TextStyle style)Appends the given text to the end of the document, using the given style.StyledTextPrintStyledTextPrint. setStyle(TextStyle style)Sets the text style that will be applied to text added through theStyledTextPrint.append(String)voidTextPrint. setStyle(TextStyle style)Sets the text style to the argument.Constructors in org.eclipse.nebula.paperclips.core.text with parameters of type TextStyle Constructor Description TextPrint(java.lang.String text, TextStyle style)Constructs a TextPrint with the given text and style.TextStyle(TextStyle that) -
Uses of TextStyle in org.eclipse.nebula.paperclips.core.text.internal
Fields in org.eclipse.nebula.paperclips.core.text.internal declared as TextStyle Modifier and Type Field Description private TextStyleTextPiece. styleConstructors in org.eclipse.nebula.paperclips.core.text.internal with parameters of type TextStyle Constructor Description TextPiece(org.eclipse.swt.graphics.Device device, TextStyle style, java.lang.String[] text, org.eclipse.swt.graphics.Point size, int ascent)
-