Uses of Class
com.tensegrity.graphics.FontFormat

Packages that use FontFormat
com.tensegrity.composite The Tensgrity Graph Framework supports complex visual representations of nodes and edges.  
com.tensegrity.composite.style Styles are used to define the visual appearance of an element.  
com.tensegrity.graphics Contains basic classes and interfaces of the Tensegrity graphics framework.  
com.tensegrity.graphics.awt Contains basic helper classes for working with AWT.  
com.tensegrity.graphics.device Contains classes and interfaces defining devices that accomplish the drawing.  
com.tensegrity.graphics.primitive2D Contains classes that define graphical primitives in 2D space.  
com.tensegrity.graphics.swt Provides constants and methods which are useful in an SWT context.  
com.tensegrity.graphics.text This package contains the model classes useful for text processing.  
com.tensegrity.gui.formatitems   
com.tensegrity.gui.printing   
com.tensegrity.gui.swing.control.attributeeditor   
com.tensegrity.gui.swing.dialog This package contains several Dialog implementations, such as a ColorChooser for the three Format types (Paint, Stroke, Font) of the Graphics API.  
com.tensegrity.gui.swing.dialog.panel The package for all format panel implementations. 
com.tensegrity.gui.swt.dialog   
 

Uses of FontFormat in com.tensegrity.composite
 

Methods in com.tensegrity.composite that return FontFormat
 FontFormat CompositeLabel.getFont()
          Returns the FontFormat that is used by the CompositeLabel to draw text.
 FontFormat CompositeTable.getColumnHeaderFontFormat()
          Returns FontFormat used for column headers.
 FontFormat CompositeTable.getRowHeaderFontFormat()
          Returns FontFormat used for row headers.
 FontFormat CompositeSwimLane.getTitleFont()
          Returns the FontFormat of the title.
 FontFormat CompositeSwimLane.getWatermarkFont()
          Returns the FontFormat of the watermark.
 FontFormat CompositeSwimLanePool.getLabelFont()
          Returns the FontFormat of the label.
 

Methods in com.tensegrity.composite with parameters of type FontFormat
 void CompositeLabel.setFont(FontFormat font)
          Sets the FontFormat for the CompositeLabel.
 void CompositeTable.setColumnHeaderFontFormat(FontFormat format)
          Sets the FontFormat for column headers.
 void CompositeTable.setRowHeaderFontFormat(FontFormat format)
          Sets the FontFormat for row headers.
 void CompositeSwimLane.setTitleFont(FontFormat font)
          Set the FontFormat of the title.
 void CompositeSwimLane.setWatermarkFont(FontFormat font)
          Sets the FontFormat of the watermark.
 void CompositeSwimLanePool.setLabelFont(FontFormat font)
          Sets the FontFormat of the label.
 

Uses of FontFormat in com.tensegrity.composite.style
 

Fields in com.tensegrity.composite.style declared as FontFormat
 FontFormat StyleItemInfo.assignedFont
          FontFormat of the StyleItem
 

Uses of FontFormat in com.tensegrity.graphics
 

Fields in com.tensegrity.graphics declared as FontFormat
static FontFormat FontFormat.DEFAULT_FONT_FORMAT
          Default font format.
 

Methods in com.tensegrity.graphics that return FontFormat
 FontFormat TextFormatter.getFontFormat()
          Returns the FontFormat of this TextFormatter.
static FontFormat PrimitiveAttributes.createFontFromAttributesTree(FontFormat font, AttributeSet attributes)
          Returns a newly created FontFormat that consists of the attributes given through attributes.
 FontFormat AbstractPrimitive.getFont()
           
static FontFormat FormatPool.parseFontFormat(int size, int weight, java.lang.String family, int color, boolean italic, boolean underline, boolean strikethrough)
          Parses the given font format and returns an instance of a FontFormat.
static FontFormat FormatPool.parseFontFormat(int size, int weight, java.lang.String family, int color, boolean italic, boolean underline, boolean strikethrough, StrokeFormat underlineStroke, StrokeFormat strikethroughStroke)
          Parses the given font format and returns an instance of a FontFormat.
static FontFormat FormatPool.parseFontFormat(java.lang.String description)
          Parses the given font format description and returns an instance of a FontFormat.
static FontFormat FormatUtilities.createFontFormat(AttributeSet set)
          Creates a FontFormat by using the FormatPool's parseFontFormat method.
static FontFormat FormatUtilities.getFontFormatFromAwtFont(java.awt.Font font)
          Creates a FontFormat instance from a given AWT Font.
 FontFormat Primitive.getFont()
          Returns the FontFormat that is used by this Primitive to draw text.
 

Methods in com.tensegrity.graphics with parameters of type FontFormat
 void TextFormatter.setFontFormat(FontFormat font)
          Sets the FontFormat used by this formatter.
static AttributeSet PrimitiveAttributes.getFontAttributesTree(FontFormat font, boolean immutable)
           Returns an AttributeSet that contains the Attributes of the FontFormat given by font.
static FontFormat PrimitiveAttributes.createFontFromAttributesTree(FontFormat font, AttributeSet attributes)
          Returns a newly created FontFormat that consists of the attributes given through attributes.
 void AbstractPrimitive.setFontFormat(FontFormat font)
           
protected  boolean AbstractPrimitive.internalSetFont(FontFormat font, AttributeSet attributeschanged_tablelike, AttributeSet attributeschanged_treelike)
           
static void FormatPool.changeFontFormat(FontFormat format, int size, int weight, java.lang.String family, int color, boolean italic, boolean underline, boolean strikethrough)
          Changes the FontFormat given by format to the values given by size, weight, family, color, italic, underline and strikethrough.
static void FormatPool.changeFontFormat(FontFormat format, int size, int weight, java.lang.String family, int color, boolean italic, boolean underline, boolean strikethrough, StrokeFormat strokeUnderline, StrokeFormat strokeStrikethrough)
          Changes the FontFormat given by format to the values given by size, weight, family, color, italic, underline and strikethrough.
static AttributeSet FormatUtilities.getFontSet(FontFormat font)
          Method getFontSet returns an AttributeSet representing the given FontFormat.
 void Primitive.setFontFormat(FontFormat font)
          Sets the FontFormat for the Primitive.
 double TextOperations.computeWidth(FontFormat font, Transform2D xform, java.lang.String text)
          Computes the width of the text given by text when using the FontFormat given by font and the transformation given by xform.
 double TextOperations.computeHeight(FontFormat font, Transform2D xform, java.lang.String text)
          Computes the height of the text given by text when using the FontFormat given by font and the transformation given by xform.
 double TextOperations.computeHeight(FontFormat font, Transform2D xform, java.lang.String text, boolean multiline)
          Computes the height of the text given by text when using the FontFormat given by font and the transformation given by xform.
 java.lang.String TextOperations.cutToWidth(FontFormat font, Transform2D xform, java.lang.String text, int width)
          Cuts the text given by text to the given width with respect to the FontFormat given by font and the transformation given by xform.
 java.lang.String TextOperations.cutToWidth(FontFormat font, Transform2D xform, java.lang.String text, int width, double textScaleX, double textScaleY)
          Cuts the text given by text to the given width with respect to the FontFormat given by font, the transformation given by xform and the text scalings in x and y direction given by textScaleX and textScaleY.
 java.lang.String TextOperations.cutToWidth(FontFormat font, Transform2D xform, java.lang.String text, int width, double textScaleX, double textScaleY, boolean keepFirstCharacter)
          Cuts the text given by text to the given width with respect to the FontFormat given by font, the transformation given by xform and the text scalings in x and y direction given by textScaleX and textScaleY.
 Coordinate[] TextOperations.computeLineCoordinates(FontFormat font, Transform2D xform, java.lang.String text, int lineType)
          Computes the start and end coordinates of a line decorating a text given by text when using the FontFormat given by font and the transformation given by xform.
 

Uses of FontFormat in com.tensegrity.graphics.awt
 

Methods in com.tensegrity.graphics.awt with parameters of type FontFormat
 double AWTTextOperations.computeWidth(FontFormat font, Transform2D xform, java.lang.String text)
           
 double AWTTextOperations.computeHeight(FontFormat font, Transform2D xform, java.lang.String text)
           
 double AWTTextOperations.computeHeight(FontFormat font, Transform2D xform, java.lang.String text, boolean multiline)
           
 java.lang.String AWTTextOperations.cutToWidth(FontFormat font, Transform2D xform, java.lang.String text, int width)
           
 java.lang.String AWTTextOperations.cutToWidth(FontFormat font, Transform2D xform, java.lang.String text, int width, double textScaleX, double textScaleY)
           
 java.lang.String AWTTextOperations.cutToWidth(FontFormat font, Transform2D xform, java.lang.String text, int width, double textScaleX, double textScaleY, boolean keepFirstCharacter)
           
 Coordinate[] AWTTextOperations.computeLineCoordinates(FontFormat font, Transform2D xform, java.lang.String text, int lineType)
           
 

Uses of FontFormat in com.tensegrity.graphics.device
 

Fields in com.tensegrity.graphics.device declared as FontFormat
protected  FontFormat AbstractDevice.fontFormat
          instance variable for the FontFormat used by the Device
 

Methods in com.tensegrity.graphics.device that return FontFormat
 FontFormat AbstractDevice.getFontFormat()
           
 FontFormat Device.getFontFormat()
          Returns the FontFormat currently used for text drawing operations.
 

Methods in com.tensegrity.graphics.device with parameters of type FontFormat
 void AbstractDevice.setFontFormat(FontFormat fontFormat)
           
 void AWTDevice.setFontFormat(FontFormat fontFormat)
           
static java.awt.Font AWTDevice.lookupAWTFont(FontFormat fontformat)
          Font creation/lookup method.
 void SVGDevice.setFontFormat(FontFormat fontFormat)
           
 void SWTDeviceNonAWTDependent.setFontFormat(FontFormat fontFormat)
           
static org.eclipse.swt.graphics.Font SWTDeviceNonAWTDependent.lookupSWTFont(org.eclipse.swt.graphics.Device device, FontFormat fontformat)
          Font creation/lookup method.
 void Device.setFontFormat(FontFormat fontFormat)
          Sets the FontFormat that will be used for all subsequent text drawing operations.
 

Uses of FontFormat in com.tensegrity.graphics.primitive2D
 

Methods in com.tensegrity.graphics.primitive2D with parameters of type FontFormat
 void Label2D.setFontFormat(FontFormat font)
           
 

Uses of FontFormat in com.tensegrity.graphics.swt
 

Methods in com.tensegrity.graphics.swt with parameters of type FontFormat
 double SWTTextOperations.computeWidth(FontFormat font, Transform2D xform, java.lang.String text)
           
 double SWTTextOperations.computeHeight(FontFormat font, Transform2D xform, java.lang.String text)
           
 java.lang.String SWTTextOperations.cutToWidth(FontFormat font, Transform2D xform, java.lang.String text, int width)
           
 java.lang.String SWTTextOperations.cutToWidth(FontFormat font, Transform2D xform, java.lang.String text, int width, double textScaleX, double textScaleY, boolean keepFirstCharacter)
           
 java.lang.String SWTTextOperations.cutToWidth(FontFormat font, Transform2D xform, java.lang.String text, int width, double textScaleX, double textScaleY)
           
 Coordinate[] SWTTextOperations.computeLineCoordinates(FontFormat font, Transform2D xform, java.lang.String text, int lineType)
           
 double SWTTextOperations.computeHeight(FontFormat font, Transform2D xform, java.lang.String text, boolean multiline)
           
 

Uses of FontFormat in com.tensegrity.graphics.text
 

Methods in com.tensegrity.graphics.text that return FontFormat
 FontFormat AbstractElement.getFontFormat()
           
 FontFormat Element.getFontFormat()
          Method getFontFormat returns the FontFormat instance associated with this element.
 

Methods in com.tensegrity.graphics.text with parameters of type FontFormat
 void AbstractElement.setFontFormat(FontFormat fontFormat)
          Sets the format for this element and all subelements.
 void Element.setFontFormat(FontFormat fontFormat)
          Method setFontFormat sets the FontFormat of this element.
static boolean HtmlTags.compareFormat(FontFormat fontLeft, FontFormat fontRight)
          Method compareFormat compares two FontFormats by their canonical description and returns true if they are equal, otherwise false.
 

Uses of FontFormat in com.tensegrity.gui.formatitems
 

Constructors in com.tensegrity.gui.formatitems with parameters of type FontFormat
FontItem(FontFormat ff)
          Constructor which creates a FontItem from a given FontFormat.
 

Uses of FontFormat in com.tensegrity.gui.printing
 

Methods in com.tensegrity.gui.printing that return FontFormat
 FontFormat BasePageFormat.getScaledFont(FontFormat font)
          Method getScaledrFont returns a vertically scaled font instance.
 FontFormat BasePageFormat.getScaledFont(FontFormat font, int dpi)
          Method getScaledFont returns a vertically scaled font instance.
 FontFormat FormatItem.getFont()
          The method getFont returns the font format to be used for this item.
 

Methods in com.tensegrity.gui.printing with parameters of type FontFormat
 FontFormat BasePageFormat.getScaledFont(FontFormat font)
          Method getScaledrFont returns a vertically scaled font instance.
 FontFormat BasePageFormat.getScaledFont(FontFormat font, int dpi)
          Method getScaledFont returns a vertically scaled font instance.
 void FormatItem.setFont(FontFormat font)
          The method setFont sets the Font for this item.
 

Uses of FontFormat in com.tensegrity.gui.swing.control.attributeeditor
 

Methods in com.tensegrity.gui.swing.control.attributeeditor with parameters of type FontFormat
 void SwingAttributeEditorComponents.FontFormatPanel.setFontFormat(FontFormat font)
          Sets the current FontFormat.
 

Uses of FontFormat in com.tensegrity.gui.swing.dialog
 

Methods in com.tensegrity.gui.swing.dialog that return FontFormat
 FontFormat FontFormatDialog.getFontFormat()
          Returns the Font configured by the internal panel as FontFormat instance.
 

Methods in com.tensegrity.gui.swing.dialog with parameters of type FontFormat
 void FontFormatDialog.setFontFormat(FontFormat f)
          Sets the initial FontFormat instance for the internal format panel.
 

Uses of FontFormat in com.tensegrity.gui.swing.dialog.panel
 

Methods in com.tensegrity.gui.swing.dialog.panel that return FontFormat
 FontFormat FormatFont.getFontFormat()
          Method getFontFormat returns a FontFormat instance created from the the current values.
 

Methods in com.tensegrity.gui.swing.dialog.panel with parameters of type FontFormat
 void FormatFont.set(FontFormat font)
          Sets the values for the given FontFormat instance according to the current selection state of all font modifying list elements.
 

Uses of FontFormat in com.tensegrity.gui.swt.dialog
 

Methods in com.tensegrity.gui.swt.dialog that return FontFormat
 FontFormat SwtFontFormatDialog.getFontFormat()
          Creates a new FontFormat instance with the currently values.
 

Constructors in com.tensegrity.gui.swt.dialog with parameters of type FontFormat
SwtFontFormatDialog(org.eclipse.swt.widgets.Shell parentShell, UIManager uiManager, FontFormat initialFont)
          Constructor which requires a FontFormat instance for initialising the values.
 



Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.