Java Doc for CompositeType.java in  » 6.0-JDK-Modules-sun » java2d » sun » java2d » loops » 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 » 6.0 JDK Modules sun » java2d » sun.java2d.loops 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   sun.java2d.loops.CompositeType

CompositeType
final public class CompositeType (Code)
A CompositeType object provides a chained description of a type of algorithm for color compositing. The object will provide a single String constant descriptor which is one way of describing a particular compositing algorithm as well as a pointer to another CompositeType which describes a more general algorithm for achieving the same result.

A description of a more specific algorithm is considered a "subtype" and a description of a more general algorithm is considered a "supertype". Thus, the deriveSubType method provides a way to create a new CompositeType that is related to but more specific than an existing CompositeType and the getSuperType method provides a way to ask a given CompositeType for a more general algorithm to achieve the same result.

Note that you cannot construct a brand new root for a chain since the constructor is private. Every chain of types must at some point derive from the Any node provided here using the deriveSubType() method. The presence of this common Any node on every chain ensures that all chains end with the DESC_ANY descriptor so that a suitable General GraphicsPrimitive object can be obtained for the indicated algorithm if all of the more specific searches fail.



Field Summary
final public static  CompositeTypeAlphaXor
    
final public static  CompositeTypeAny
     The root CompositeType object for all chains of algorithm descriptions.
final public static  CompositeTypeAnyAlpha
    
final public static  CompositeTypeClear
    
final public static  StringDESC_ALPHA_XOR
    
final public static  StringDESC_ANY
     algorithm is a general algorithm that uses a CompositeContext to do the rendering.
final public static  StringDESC_ANY_ALPHA
     constant used to describe an algorithm that implements all 8 of the Porter-Duff rules in one Primitive.
final public static  StringDESC_CLEAR
     constants used to describe the various AlphaComposite algorithms.
final public static  StringDESC_DST
    
final public static  StringDESC_DST_ATOP
    
final public static  StringDESC_DST_IN
    
final public static  StringDESC_DST_OUT
    
final public static  StringDESC_DST_OVER
    
final public static  StringDESC_SRC
    
final public static  StringDESC_SRC_ATOP
    
final public static  StringDESC_SRC_IN
    
final public static  StringDESC_SRC_NO_EA
     constants used to describe the two common cases of AlphaComposite algorithms that are simpler if there is not extraAlpha.
final public static  StringDESC_SRC_OUT
    
final public static  StringDESC_SRC_OVER
    
final public static  StringDESC_SRC_OVER_NO_EA
    
final public static  StringDESC_XOR
    
final public static  CompositeTypeDst
    
final public static  CompositeTypeDstAtop
    
final public static  CompositeTypeDstIn
    
final public static  CompositeTypeDstOut
    
final public static  CompositeTypeDstOver
    
final public static  CompositeTypeGeneral
    
final public static  CompositeTypeSrc
    
final public static  CompositeTypeSrcAtop
    
final public static  CompositeTypeSrcIn
    
final public static  CompositeTypeSrcNoEa
    
final public static  CompositeTypeSrcOut
    
final public static  CompositeTypeSrcOver
    
final public static  CompositeTypeSrcOverNoEa
    
final public static  CompositeTypeXor
    


Method Summary
public  CompositeTypederiveSubType(String desc)
     Return a new CompositeType object which uses this object as its more general "supertype" descriptor.
public  booleanequals(Object o)
    
public static  CompositeTypeforAlphaComposite(AlphaComposite ac)
     Return a CompositeType object for the specified AlphaComposite rule.
public  StringgetDescriptor()
    
public  CompositeTypegetSuperType()
    
public  intgetUniqueID()
    
public  inthashCode()
    
public  booleanisDerivedFrom(CompositeType other)
    
public  StringtoString()
    

Field Detail
AlphaXor
final public static CompositeType AlphaXor(Code)



Any
final public static CompositeType Any(Code)
The root CompositeType object for all chains of algorithm descriptions.



AnyAlpha
final public static CompositeType AnyAlpha(Code)



Clear
final public static CompositeType Clear(Code)



DESC_ALPHA_XOR
final public static String DESC_ALPHA_XOR(Code)



DESC_ANY
final public static String DESC_ANY(Code)
algorithm is a general algorithm that uses a CompositeContext to do the rendering.



DESC_ANY_ALPHA
final public static String DESC_ANY_ALPHA(Code)
constant used to describe an algorithm that implements all 8 of the Porter-Duff rules in one Primitive.



DESC_CLEAR
final public static String DESC_CLEAR(Code)
constants used to describe the various AlphaComposite algorithms.



DESC_DST
final public static String DESC_DST(Code)



DESC_DST_ATOP
final public static String DESC_DST_ATOP(Code)



DESC_DST_IN
final public static String DESC_DST_IN(Code)



DESC_DST_OUT
final public static String DESC_DST_OUT(Code)



DESC_DST_OVER
final public static String DESC_DST_OVER(Code)



DESC_SRC
final public static String DESC_SRC(Code)



DESC_SRC_ATOP
final public static String DESC_SRC_ATOP(Code)



DESC_SRC_IN
final public static String DESC_SRC_IN(Code)



DESC_SRC_NO_EA
final public static String DESC_SRC_NO_EA(Code)
constants used to describe the two common cases of AlphaComposite algorithms that are simpler if there is not extraAlpha.



DESC_SRC_OUT
final public static String DESC_SRC_OUT(Code)



DESC_SRC_OVER
final public static String DESC_SRC_OVER(Code)



DESC_SRC_OVER_NO_EA
final public static String DESC_SRC_OVER_NO_EA(Code)



DESC_XOR
final public static String DESC_XOR(Code)
constant used to describe the Graphics.setXORMode() algorithm



Dst
final public static CompositeType Dst(Code)



DstAtop
final public static CompositeType DstAtop(Code)



DstIn
final public static CompositeType DstIn(Code)



DstOut
final public static CompositeType DstOut(Code)



DstOver
final public static CompositeType DstOver(Code)



General
final public static CompositeType General(Code)



Src
final public static CompositeType Src(Code)



SrcAtop
final public static CompositeType SrcAtop(Code)



SrcIn
final public static CompositeType SrcIn(Code)



SrcNoEa
final public static CompositeType SrcNoEa(Code)



SrcOut
final public static CompositeType SrcOut(Code)



SrcOver
final public static CompositeType SrcOver(Code)



SrcOverNoEa
final public static CompositeType SrcOverNoEa(Code)



Xor
final public static CompositeType Xor(Code)





Method Detail
deriveSubType
public CompositeType deriveSubType(String desc)(Code)
Return a new CompositeType object which uses this object as its more general "supertype" descriptor. If no operation can be found that implements the algorithm described more exactly by desc, then this object will define the more general compositing algorithm that can be used instead.



equals
public boolean equals(Object o)(Code)



forAlphaComposite
public static CompositeType forAlphaComposite(AlphaComposite ac)(Code)
Return a CompositeType object for the specified AlphaComposite rule.



getDescriptor
public String getDescriptor()(Code)



getSuperType
public CompositeType getSuperType()(Code)



getUniqueID
public int getUniqueID()(Code)



hashCode
public int hashCode()(Code)



isDerivedFrom
public boolean isDerivedFrom(CompositeType other)(Code)



toString
public String toString()(Code)



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.