Java Doc for LinuxFontManager.java in  » Apache-Harmony-Java-SE » org-package » org » apache » harmony » awt » gl » font » 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 » org package » org.apache.harmony.awt.gl.font 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.harmony.awt.gl.font.FontManager
      org.apache.harmony.awt.gl.font.LinuxFontManager

LinuxFontManager
public class LinuxFontManager extends FontManager (Code)


Field Summary
final public static  String[]LINUX_SLANT_NAMES
    
final public static  String[]LINUX_WEIGHT_NAMES
    
 Stringfaces
    
final public static  LinuxFontManagerinst
    


Method Summary
public  FontPeercreateDefaultFont(int style, int size)
    
public  FontPeercreatePhysicalFontPeer(String name, int style, int size)
    
public  String[]getAllFamilies()
    
public  Font[]getAllFonts()
    
public  intgetFaceIndex(String faceName)
    
public  FilegetTempFontFile()
     Returns temporary File object to store data from InputStream.
public  booleaninitFontProperties()
     Initializes fProperties array field for the current system configuration font property file. RuntimeException is thrown if font property contains incorrect format of xlfd string. true is success, false if font property doesn't exist or doesn'tcontain roperties.
public  voidinitLCIDTable()
    
public static  String[]parseXLFD(String xlfd)
    

Field Detail
LINUX_SLANT_NAMES
final public static String[] LINUX_SLANT_NAMES(Code)



LINUX_WEIGHT_NAMES
final public static String[] LINUX_WEIGHT_NAMES(Code)



faces
String faces(Code)



inst
final public static LinuxFontManager inst(Code)
Singleton LinuxFontManager instance





Method Detail
createDefaultFont
public FontPeer createDefaultFont(int style, int size)(Code)



createPhysicalFontPeer
public FontPeer createPhysicalFontPeer(String name, int style, int size)(Code)



getAllFamilies
public String[] getAllFamilies()(Code)



getAllFonts
public Font[] getAllFonts()(Code)



getFaceIndex
public int getFaceIndex(String faceName)(Code)



getTempFontFile
public File getTempFontFile() throws IOException(Code)
Returns temporary File object to store data from InputStream. This File object saved to `~/.fonts/' folder that is included in the list of folders searched for font files, and this is where user-specific font files should be installed.



initFontProperties
public boolean initFontProperties()(Code)
Initializes fProperties array field for the current system configuration font property file. RuntimeException is thrown if font property contains incorrect format of xlfd string. true is success, false if font property doesn't exist or doesn'tcontain roperties.



initLCIDTable
public void initLCIDTable()(Code)



parseXLFD
public static String[] parseXLFD(String xlfd)(Code)
Parse xlfd string and returns array of Strings with separate xlfd elements.

xlfd format: -Foundry-Family-Weight-Slant-Width-Style-PixelSize-PointSize-ResX-ResY-Spacing-AvgWidth-Registry-Encoding
Parameters:
  xlfd - String parameter in xlfd format




Fields inherited from org.apache.harmony.awt.gl.font.FontManager
final public static String COMPONENT_INDEX(Code)(Java Doc)
final public static String DEFAULT_NAME(Code)(Java Doc)
final static int DIALOG(Code)(Java Doc)
final static int DIALOGINPUT(Code)(Java Doc)
final public static String DIALOG_NAME(Code)(Java Doc)
final public static int EMPTY_FONTS_CAPACITY(Code)(Java Doc)
final public static short ENGLISH_LANGID(Code)(Java Doc)
final public static String EXCLUSION_RANGES(Code)(Java Doc)
final public static byte FAMILY_NAME_ID(Code)(Java Doc)
final public static String FONT_CHARACTER_ENCODING(Code)(Java Doc)
final public static String FONT_FILE_NAME(Code)(Java Doc)
final public static String[] FONT_MAPPING_KEYS(Code)(Java Doc)
final public static byte FONT_NAME_ID(Code)(Java Doc)
final public static byte FONT_TYPE_T1(Code)(Java Doc)
final public static byte FONT_TYPE_TT(Code)(Java Doc)
final public static byte FONT_TYPE_UNDEF(Code)(Java Doc)
final public static String[] FP_FILE_NAMES(Code)(Java Doc)
final public static boolean IS_FONTLIB(Code)(Java Doc)
final public static String[] LOGICAL_FONT_FACES(Code)(Java Doc)
final public static String[] LOGICAL_FONT_FAMILIES(Code)(Java Doc)
final public static String LOGICAL_FONT_NAME(Code)(Java Doc)
final public static String[] LOGICAL_FONT_NAMES(Code)(Java Doc)
final static int MONOSPACED(Code)(Java Doc)
final public static String[] OS_VALUES(Code)(Java Doc)
final public static String PLATFORM_FONT_NAME(Code)(Java Doc)
final public static byte POSTSCRIPT_NAME_ID(Code)(Java Doc)
final static int SANSSERIF(Code)(Java Doc)
final static int SERIF(Code)(Java Doc)
final public static String STYLE_INDEX(Code)(Java Doc)
final public static String[] STYLE_NAMES(Code)(Java Doc)
public String[] allFamilies(Code)(Java Doc)
public Hashtable<String, Vector<FontProperty>> fProperties(Code)(Java Doc)
public Hashtable<String, HashMapReference> fontsTable(Code)(Java Doc)
public ReferenceQueue<FontPeer> queue(Code)(Java Doc)
protected Hashtable<String, Short> tableLCID(Code)(Java Doc)

Methods inherited from org.apache.harmony.awt.gl.font.FontManager
abstract public FontPeer createDefaultFont(int style, int size)(Code)(Java Doc)
protected FontPeer createFontPeer(String name, int style, int size, int logicalIndex)(Code)(Java Doc)
public String createLogicalFace(String family, int styleIndex)(Code)(Java Doc)
abstract public FontPeer createPhysicalFontPeer(String name, int style, int size)(Code)(Java Doc)
abstract public String[] getAllFamilies()(Code)(Java Doc)
abstract public Font[] getAllFonts()(Code)(Java Doc)
public FontPeer getDefaultFont(int style, int size)(Code)(Java Doc)
public int getFaceIndex(String faceName)(Code)(Java Doc)
public String getFamily(int index)(Code)(Java Doc)
public String getFamilyFromLogicalFace(String faceName)(Code)(Java Doc)
public int getFamilyIndex(String familyName)(Code)(Java Doc)
public FontPeer getFontPeer(String fontName, int _fontStyle, int size)(Code)(Java Doc)
public FontProperty[] getFontProperties(String fpName)(Code)(Java Doc)
public static File getFontPropertyFile()(Code)(Java Doc)
public static FontManager getInstance()(Code)(Java Doc)
public Short getLCID(Locale l)(Code)(Java Doc)
public String getLogicalFaceFromFont(int fontStyle, int logicalIndex)(Code)(Java Doc)
public static int getLogicalFaceIndex(String fontName)(Code)(Java Doc)
public static int getLogicalStyle(String lName)(Code)(Java Doc)
public static Properties getProperties(File file)(Code)(Java Doc)
public int getStyleFromLogicalFace(String name)(Code)(Java Doc)
public File getTempFontFile() throws IOException(Code)(Java Doc)
abstract public void initLCIDTable()(Code)(Java Doc)
public boolean isFamilyExist(String familyName)(Code)(Java Doc)
public static int[] parseIntervals(String exclusionString)(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) 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.