Java Doc for Font.java in  » Apache-Harmony-Java-SE » java-package » java » awt » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Apache Harmony Java SE » java package » java.awt 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   java.awt.Font

Font
public class Font implements Serializable(Code)


Field Summary
final public static  intBOLD
    
final public static  intCENTER_BASELINE
    
final static  FontDEFAULT_FONT
    
final public static  intHANGING_BASELINE
    
final public static  intITALIC
    
final public static  intLAYOUT_LEFT_TO_RIGHT
    
final public static  intLAYOUT_NO_LIMIT_CONTEXT
    
final public static  intLAYOUT_NO_START_CONTEXT
    
final public static  intLAYOUT_RIGHT_TO_LEFT
    
final public static  intPLAIN
    
final public static  intROMAN_BASELINE
    
final public static  intTRUETYPE_FONT
    
final public static  intTYPE1_FONT
    
protected  Stringname
    
protected  floatpointSize
    
protected  intsize
    
protected  intstyle
    

Constructor Summary
public  Font(Map<? extends Attribute, ?> attributes)
    
public  Font(String name, int style, int size)
    

Method Summary
public  booleancanDisplay(char c)
    
public  booleancanDisplay(int i)
    
public  intcanDisplayUpTo(char[] text, int start, int limit)
    
public  intcanDisplayUpTo(CharacterIterator iter, int start, int limit)
    
public  intcanDisplayUpTo(String str)
    
public static  FontcreateFont(int fontFormat, File fontFile)
    
public static  FontcreateFont(int fontFormat, InputStream fontStream)
    
public  GlyphVectorcreateGlyphVector(FontRenderContext frc, char[] chars)
    
public  GlyphVectorcreateGlyphVector(FontRenderContext frc, CharacterIterator iter)
    
public  GlyphVectorcreateGlyphVector(FontRenderContext frc, int[] glyphCodes)
    
public  GlyphVectorcreateGlyphVector(FontRenderContext frc, String str)
    
public static  Fontdecode(String str)
    
public  FontderiveFont(AffineTransform trans)
    
public  FontderiveFont(float size)
    
public  FontderiveFont(int style)
    
public  FontderiveFont(int style, AffineTransform trans)
    
public  FontderiveFont(int style, float size)
    
public  FontderiveFont(Map<? extends Attribute, ?> attributes)
    
public  booleanequals(Object obj)
    
public  Map<TextAttribute, ?>getAttributes()
    
public  Attribute[]getAvailableAttributes()
    
public  bytegetBaselineFor(char c)
    
public  StringgetFamily()
    
public  StringgetFamily(Locale l)
    
public static  FontgetFont(Map<? extends Attribute, ?> attributes)
    
public static  FontgetFont(String sp, Font f)
    
public static  FontgetFont(String sp)
    
public  StringgetFontName()
    
public  StringgetFontName(Locale l)
    
public  floatgetItalicAngle()
    
public  LineMetricsgetLineMetrics(char[] chars, int start, int end, FontRenderContext frc)
    
public  LineMetricsgetLineMetrics(CharacterIterator iter, int start, int end, FontRenderContext frc)
    
public  LineMetricsgetLineMetrics(String str, FontRenderContext frc)
    
public  LineMetricsgetLineMetrics(String str, int start, int end, FontRenderContext frc)
    
public  Rectangle2DgetMaxCharBounds(FontRenderContext frc)
    
public  intgetMissingGlyphCode()
    
public  StringgetName()
    
public  intgetNumGlyphs()
    
public  StringgetPSName()
    
public  FontPeergetPeer()
    
public  intgetSize()
    
public  floatgetSize2D()
    
public  Rectangle2DgetStringBounds(CharacterIterator ci, int start, int end, FontRenderContext frc)
    
public  Rectangle2DgetStringBounds(String str, FontRenderContext frc)
    
public  Rectangle2DgetStringBounds(String str, int start, int end, FontRenderContext frc)
    
public  Rectangle2DgetStringBounds(char[] chars, int start, int end, FontRenderContext frc)
    
public  intgetStyle()
    
public  AffineTransformgetTransform()
    
public  booleanhasUniformLineMetrics()
    
public  inthashCode()
    
public  booleanisBold()
    
public  booleanisItalic()
    
public  booleanisPlain()
    
public  booleanisTransformed()
    
public  GlyphVectorlayoutGlyphVector(FontRenderContext frc, char[] chars, int start, int count, int flags)
    
public  StringtoString()
    

Field Detail
BOLD
final public static int BOLD(Code)



CENTER_BASELINE
final public static int CENTER_BASELINE(Code)



DEFAULT_FONT
final static Font DEFAULT_FONT(Code)



HANGING_BASELINE
final public static int HANGING_BASELINE(Code)



ITALIC
final public static int ITALIC(Code)



LAYOUT_LEFT_TO_RIGHT
final public static int LAYOUT_LEFT_TO_RIGHT(Code)



LAYOUT_NO_LIMIT_CONTEXT
final public static int LAYOUT_NO_LIMIT_CONTEXT(Code)



LAYOUT_NO_START_CONTEXT
final public static int LAYOUT_NO_START_CONTEXT(Code)



LAYOUT_RIGHT_TO_LEFT
final public static int LAYOUT_RIGHT_TO_LEFT(Code)



PLAIN
final public static int PLAIN(Code)



ROMAN_BASELINE
final public static int ROMAN_BASELINE(Code)



TRUETYPE_FONT
final public static int TRUETYPE_FONT(Code)



TYPE1_FONT
final public static int TYPE1_FONT(Code)



name
protected String name(Code)



pointSize
protected float pointSize(Code)



size
protected int size(Code)



style
protected int style(Code)




Constructor Detail
Font
public Font(Map<? extends Attribute, ?> attributes)(Code)



Font
public Font(String name, int style, int size)(Code)




Method Detail
canDisplay
public boolean canDisplay(char c)(Code)



canDisplay
public boolean canDisplay(int i)(Code)



canDisplayUpTo
public int canDisplayUpTo(char[] text, int start, int limit)(Code)



canDisplayUpTo
public int canDisplayUpTo(CharacterIterator iter, int start, int limit)(Code)



canDisplayUpTo
public int canDisplayUpTo(String str)(Code)



createFont
public static Font createFont(int fontFormat, File fontFile) throws FontFormatException, IOException(Code)



createFont
public static Font createFont(int fontFormat, InputStream fontStream) throws FontFormatException, IOException(Code)



createGlyphVector
public GlyphVector createGlyphVector(FontRenderContext frc, char[] chars)(Code)



createGlyphVector
public GlyphVector createGlyphVector(FontRenderContext frc, CharacterIterator iter)(Code)



createGlyphVector
public GlyphVector createGlyphVector(FontRenderContext frc, int[] glyphCodes)(Code)



createGlyphVector
public GlyphVector createGlyphVector(FontRenderContext frc, String str)(Code)



decode
public static Font decode(String str)(Code)



deriveFont
public Font deriveFont(AffineTransform trans)(Code)



deriveFont
public Font deriveFont(float size)(Code)



deriveFont
public Font deriveFont(int style)(Code)



deriveFont
public Font deriveFont(int style, AffineTransform trans)(Code)



deriveFont
public Font deriveFont(int style, float size)(Code)



deriveFont
public Font deriveFont(Map<? extends Attribute, ?> attributes)(Code)



equals
public boolean equals(Object obj)(Code)



getAttributes
public Map<TextAttribute, ?> getAttributes()(Code)



getAvailableAttributes
public Attribute[] getAvailableAttributes()(Code)



getBaselineFor
public byte getBaselineFor(char c)(Code)



getFamily
public String getFamily()(Code)



getFamily
public String getFamily(Locale l)(Code)



getFont
public static Font getFont(Map<? extends Attribute, ?> attributes)(Code)



getFont
public static Font getFont(String sp, Font f)(Code)



getFont
public static Font getFont(String sp)(Code)



getFontName
public String getFontName()(Code)



getFontName
public String getFontName(Locale l)(Code)



getItalicAngle
public float getItalicAngle()(Code)



getLineMetrics
public LineMetrics getLineMetrics(char[] chars, int start, int end, FontRenderContext frc)(Code)



getLineMetrics
public LineMetrics getLineMetrics(CharacterIterator iter, int start, int end, FontRenderContext frc)(Code)



getLineMetrics
public LineMetrics getLineMetrics(String str, FontRenderContext frc)(Code)



getLineMetrics
public LineMetrics getLineMetrics(String str, int start, int end, FontRenderContext frc)(Code)



getMaxCharBounds
public Rectangle2D getMaxCharBounds(FontRenderContext frc)(Code)



getMissingGlyphCode
public int getMissingGlyphCode()(Code)



getName
public String getName()(Code)



getNumGlyphs
public int getNumGlyphs()(Code)



getPSName
public String getPSName()(Code)



getPeer
public FontPeer getPeer()(Code)



getSize
public int getSize()(Code)



getSize2D
public float getSize2D()(Code)



getStringBounds
public Rectangle2D getStringBounds(CharacterIterator ci, int start, int end, FontRenderContext frc)(Code)



getStringBounds
public Rectangle2D getStringBounds(String str, FontRenderContext frc)(Code)



getStringBounds
public Rectangle2D getStringBounds(String str, int start, int end, FontRenderContext frc)(Code)



getStringBounds
public Rectangle2D getStringBounds(char[] chars, int start, int end, FontRenderContext frc)(Code)



getStyle
public int getStyle()(Code)



getTransform
public AffineTransform getTransform()(Code)



hasUniformLineMetrics
public boolean hasUniformLineMetrics()(Code)



hashCode
public int hashCode()(Code)



isBold
public boolean isBold()(Code)



isItalic
public boolean isItalic()(Code)



isPlain
public boolean isPlain()(Code)



isTransformed
public boolean isTransformed()(Code)



layoutGlyphVector
public GlyphVector layoutGlyphVector(FontRenderContext frc, char[] chars, int start, int count, int flags)(Code)



toString
public String toString()(Code)



Methods inherited from java.lang.Object
protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object object)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final public Class<? extends Object> getClass()(Code)(Java Doc)
public int hashCode()(Code)(Java Doc)
final public void notify()(Code)(Java Doc)
final public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final public void wait(long millis, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait(long millis) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.