Eclipse Rich Ajax Platform
Release 1.2

org.eclipse.swt.graphics
Class Font

java.lang.Object
  extended byorg.eclipse.swt.graphics.Resource
      extended byorg.eclipse.swt.graphics.Font

public final class Font
extends Resource

Instances of this class manage resources that define how text looks when it is displayed.

Fonts may be constructed using one of the getFont methods in class Graphics by providing a name, size and style information or a FontData object which encapsulates this data.

Since:
1.0
See Also:
FontData, Graphics

Method Summary
 FontData[] getFontData()
          Returns an array of FontDatas representing the receiver.
 String toString()
          Returns a string containing a concise, human-readable description of the receiver.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getFontData

public FontData[] getFontData()
Returns an array of FontDatas representing the receiver.

Returns:
an array of font data objects describing the receiver

toString

public String toString()
Returns a string containing a concise, human-readable description of the receiver.

Returns:
a string representation of the receiver

Eclipse Rich Ajax Platform
Release 1.2

Copyright (c) Innoopract Informationssysteme GmbH and others 2002, 2008. All rights reserved.