Java Doc for AbstractAnimate.java in  » 6.0-JDK-Modules » j2me » com » sun » perseus » model » 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 » j2me » com.sun.perseus.model 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.sun.perseus.model.ModelNode
      com.sun.perseus.model.CompositeNode
         com.sun.perseus.model.ElementNode
            com.sun.perseus.model.TimedElementNode
               com.sun.perseus.model.Animation
                  com.sun.perseus.model.AbstractAnimate

All known Subclasses:   com.sun.perseus.model.AnimateMotion,  com.sun.perseus.model.Animate,
AbstractAnimate
abstract public class AbstractAnimate extends Animation (Code)
AbstractAnimate is used as a base class for various animation classes (see Animate and AnimateMotion).
version:
   $Id: AbstractAnimate.java,v 1.5 2006/06/29 10:47:28 ln156897 Exp $


Field Summary
final public static  intCALC_MODE_DISCRETE
    
final public static  intCALC_MODE_LINEAR
     calcMode value for linear interpolation.
final public static  intCALC_MODE_PACED
     calcMode value for paced interpolation.
final public static  intCALC_MODE_SPLINE
     calcMode for spline interpolation.
final public static  floatMIN_FLATNESS_SQUARE
     Minimum required flatness for keySpline approximations by polylines.
 booleanaccumulate
     Controls whether the animation has a cumulative behavior or not.
 intactualCalcMode
     The actual calcMode.
 booleanadditive
     Controls whether the animation is additive or not.
 Stringby
     Intermediate value specification.
 RefValuesbyRefValues
     Used, temporarily, to hold the refValues for the by attribute.
 intcalcMode
     The interpolation mode, one of the CALC_MODE_XYZ values.
 Stringfrom
     Starting value specification.
 RefValuesfromRefValues
     Used, temporarily, to hold the refValues for the from attribute.
 booleanisToAnimation
     Simple flag to check if we are dealing with a to-animation or not.
 float[][]keySplines
     Key splines, used to control the speed of animation on a particular time interval (interval pacing).
 float[]keyTimes
     Key times, to control the animation pace.
 float[][][]refSplines
     refSplines is an array of points which define a linear approximation of the keySplines.
 float[]refTimes
     refTimes holds key times for the animation.
 RefValuesrefValues
     The RefValues corresponding to this <set> element.
 float[]sisp
    
 Stringto
    
 RefValuestoRefValues
     Used, temporarily, to hold the refValues for the to attribute.
 Stringvalues
     Complete values specification list.
 RefValuesvaluesRefValues
     Used, temporarily, to hold the refValues for the values attribute.

Constructor Summary
public  AbstractAnimate(DocumentNode ownerDocument, String localName)
     Builds a new Animate element that belongs to the given document.

Method Summary
 floatcalcMode(float p, int si)
     Intepolates the input value depending on the calcMode attribute and, in the case of spline interpolation, depending on the keySplines value.
Parameters:
  p - the value to interpolate.
protected  voidcomputeRefTimes()
     Computes refTimes from the calcMode and keyTimes attributes.
static  floatcurve(float p, float[][] polyline)
     Computes the curve value for the requested value on the specified curves, defined by a polyline approximation. The method assumes that the input polyline points are between 0 and 1 and in increasing order along the x axis.
 Object[]f(long t)
     This is the Animate element's animation function.
 float[]getDefaultTiming(RefValues refValues)
     Computes refTimes so that each animation segment lasts the same length of time.
 float[]getPacedTiming(RefValues refValues)
     Computes refTimes so that there is a paced speed on each values segment.
public  StringgetTraitImpl(String name)
    
static  booleanisFlat(float[][] curve, float flatness)
    
Parameters:
  curve - the spline curve to test for flatness.
protected  voidmapToSegmentProgress(int si, float sp, float[] sisp)
     The following call lets the animate implementation map the time segment indices and the time segment penetration into refValues indices and penetration, in case these are different.
final  voidselectRefValues()
     Computes the 'right' source for reference values, depending on the precedence rules for the different values sources.
 voidselectRefValuesExtra()
     Allows extensions to select a different source for refValues, in case the extension has addition values sources that have higher precedence than the default.
public  voidsetTraitImpl(String name, String value)
    
 booleansupportsTrait(String traitName)
     Supported traits: to, attributeName
Parameters:
  traitName - the name of the trait which the element may support.
static  voidtoRefSpline(float[][] curve, Vector segments)
     Converts the input spline curve (defined by its four control points) into a polyline approximation (i.e., an array of points).
static  float[][][]toRefSplines(float[][] splines)
     Computes an array of points which do a linear approximation of the input splines.
Parameters:
  splines - the array of splines to approximate with a polyline.The splines array should be an made of four element floats.if any of the elements is null, a NullPointerException willbe thrown.
 voidvalidate()
     Validating an Animate consists in: a) Setting its target element.
final  voidvalidateValues()
     Validates the different so-called values attributes, such as the to/from/by and values attributes.
 voidvalidateValuesExtra()
     Allows extension classes to validate addition values sources.

Field Detail
CALC_MODE_DISCRETE
final public static int CALC_MODE_DISCRETE(Code)
calcMode value for discrete interpolation



CALC_MODE_LINEAR
final public static int CALC_MODE_LINEAR(Code)
calcMode value for linear interpolation.



CALC_MODE_PACED
final public static int CALC_MODE_PACED(Code)
calcMode value for paced interpolation.



CALC_MODE_SPLINE
final public static int CALC_MODE_SPLINE(Code)
calcMode for spline interpolation.



MIN_FLATNESS_SQUARE
final public static float MIN_FLATNESS_SQUARE(Code)
Minimum required flatness for keySpline approximations by polylines.



accumulate
boolean accumulate(Code)
Controls whether the animation has a cumulative behavior or not. This covers the behavior over multiple iterations of the simple duration.



actualCalcMode
int actualCalcMode(Code)
The actual calcMode. For types which do not support interpolation, the calcMode is forced to be discrete.



additive
boolean additive(Code)
Controls whether the animation is additive or not. True maps to the SVG 'sum' value and false maps to the SVG 'replace' value.



by
String by(Code)
Intermediate value specification.



byRefValues
RefValues byRefValues(Code)
Used, temporarily, to hold the refValues for the by attribute.



calcMode
int calcMode(Code)
The interpolation mode, one of the CALC_MODE_XYZ values.



from
String from(Code)
Starting value specification.



fromRefValues
RefValues fromRefValues(Code)
Used, temporarily, to hold the refValues for the from attribute.



isToAnimation
boolean isToAnimation(Code)
Simple flag to check if we are dealing with a to-animation or not. This flag is needed to control the addition and cumulative behavior on to-animations, which is different than that on other animations (e.g., a values or a from-to animation).



keySplines
float[][] keySplines(Code)
Key splines, used to control the speed of animation on a particular time interval (interval pacing). May be null or an array of arrays of 4 floating point values.
See Also:    SMIL * 2.0 Specification



keyTimes
float[] keyTimes(Code)
Key times, to control the animation pace. May be null or a list of values between 0 and 1.
See Also:   
refSplines
float[][][] refSplines(Code)
refSplines is an array of points which define a linear approximation of the keySplines. refSplines is computed in the validate() method and used in the curve() method. There is one float array per keySpline.



refTimes
float[] refTimes(Code)
refTimes holds key times for the animation. refTimes is computed in the validate method. refTimes holds the key times for the begining of each segment. Therefore, there is as many refTimes as there are segments, in all cases.
See Also:   AbstractAnimate.validate



refValues
RefValues refValues(Code)
The RefValues corresponding to this <set> element. A <set> element has a single segment with the same begin and end value.



sisp
float[] sisp(Code)
A working buffer for mapping segment index and progress



to
String to(Code)
End value specification



toRefValues
RefValues toRefValues(Code)
Used, temporarily, to hold the refValues for the to attribute.



values
String values(Code)
Complete values specification list.



valuesRefValues
RefValues valuesRefValues(Code)
Used, temporarily, to hold the refValues for the values attribute.




Constructor Detail
AbstractAnimate
public AbstractAnimate(DocumentNode ownerDocument, String localName)(Code)
Builds a new Animate element that belongs to the given document. This Animate will belong to the DocumentNode's time container.
Parameters:
  ownerDocument - the document this node belongs to.
Parameters:
  localName - the animation element's local name.
throws:
  IllegalArgumentException - if the input ownerDocument is null




Method Detail
calcMode
float calcMode(float p, int si)(Code)
Intepolates the input value depending on the calcMode attribute and, in the case of spline interpolation, depending on the keySplines value.
Parameters:
  p - the value to interpolate. Should be in the [0, 1] range.
Parameters:
  si - the time segment from which the computation is done. Thisis needed to identify the correct keySplines to use in case of spline animations.



computeRefTimes
protected void computeRefTimes() throws DOMException(Code)
Computes refTimes from the calcMode and keyTimes attributes. Validates that the keyTimes attribute is compatible with the animate set up. This may be overridden by subclasses (e.g., animateMotion), when there are special rules for checking keyTimes compatiblity.



curve
static float curve(float p, float[][] polyline)(Code)
Computes the curve value for the requested value on the specified curves, defined by a polyline approximation. The method assumes that the input polyline points are between 0 and 1 and in increasing order along the x axis. The method considers the p value to be on the polyline's x-axis and finds the two points between which it lies and returns a linear approximation for that segment. For degenerate cases (e.g., if the polyline x-axis values are not in the [0, 1] interval or if p is not in the [0, 1] interval either), the method returns 0 if the input penetration p is less than the first polyline point. The method returns 1 if the input penetration is more than the last polyline x-axis coordinate.
Parameters:
  p - the value for which the curve polynomial should be computed.
Parameters:
  polyline - the polyline curve approximation. Should not be null.each element in the polyline array should not be null. Eachelement in the array should be at least of length 2.



f
Object[] f(long t)(Code)
This is the Animate element's animation function. f(t) { a. Compute the 'simple duration penetration' p p = t / dur where dur is the simple duration. b. Compute the 'current time segment' i refTimes[i] <= p < refTimes[i+1] c. Compute the 'segment penetration' sp sp = (p - refTimes[i]) / (refTimes[i+1] - refTimes[i]) Note: 0 <= sp <= 1 d. Compute the 'interpolated interval penetration' isp isp = calcMode(sp) Note: 0 <= isp <= 1 e. Compute the animated value: v = refValues.compute(isp) v has the same number of components as refValues. }
Parameters:
  t - the animation's simple time.



getDefaultTiming
float[] getDefaultTiming(RefValues refValues)(Code)
Computes refTimes so that each animation segment lasts the same length of time.



getPacedTiming
float[] getPacedTiming(RefValues refValues)(Code)
Computes refTimes so that there is a paced speed on each values segment.



getTraitImpl
public String getTraitImpl(String name) throws DOMException(Code)



isFlat
static boolean isFlat(float[][] curve, float flatness)(Code)

Parameters:
  curve - the spline curve to test for flatness. The curve is considered flat if the distance from the two intermediate controlpoints from the line between the first and the last control pointsis less than the desired flatness maximum. The input array must have at least four elements and each one must be at least 2 elements long. If not, an ArrayOutOfBoundsException is thrown. The curve array should not be null. flatness. The maximum distance allowed for the intermediate curvecontrol points.



mapToSegmentProgress
protected void mapToSegmentProgress(int si, float sp, float[] sisp)(Code)
The following call lets the animate implementation map the time segment indices and the time segment penetration into refValues indices and penetration, in case these are different. Typically, these are the same, but they may be different, for example in the case of animateMotion with keyPoints.



selectRefValues
final void selectRefValues() throws DOMException(Code)
Computes the 'right' source for reference values, depending on the precedence rules for the different values sources.
throws:
  DOMException - if there is no way to compute a set of referencevalues, for example if none of the values sources is specified.



selectRefValuesExtra
void selectRefValuesExtra() throws DOMException(Code)
Allows extensions to select a different source for refValues, in case the extension has addition values sources that have higher precedence than the default. For example, animateMotion has the path attribute and the mpath children which have higher precedence.
throws:
  DOMException - if there is no way to compute a set of referencevalues, for example if none of the values sources is specified.



setTraitImpl
public void setTraitImpl(String name, String value) throws DOMException(Code)



supportsTrait
boolean supportsTrait(String traitName)(Code)
Supported traits: to, attributeName
Parameters:
  traitName - the name of the trait which the element may support. true if this element supports the given trait in one of thetrait accessor methods.



toRefSpline
static void toRefSpline(float[][] curve, Vector segments)(Code)
Converts the input spline curve (defined by its four control points) into a polyline approximation (i.e., an array of points). If the curve is flat enough (see the isFlat method), then the curve is approximated to a line between its two end control points and the last control point is added to the input segment vector. If the curve is not flat enough, then it is sub-divided and the subdivided curves are, recursively, tested for flatness. The flatness used for flatness test is controlled by the MIN_FLATNESS_SQUARE constant.
Parameters:
  curve - the spline curve to approximate. Should not be null. Shouldbe an array of four arrays of two elements. If there are less thanfour arrays or if there are less than two elements in these arraysthen an ArrayIndexOutOfBoundsException is thrown. If any elementin the curve array is null, a NullPointerException is thrown.
Parameters:
  segments - the vector to which polyline points should be added. Should not be null.



toRefSplines
static float[][][] toRefSplines(float[][] splines)(Code)
Computes an array of points which do a linear approximation of the input splines.
Parameters:
  splines - the array of splines to approximate with a polyline.The splines array should be an made of four element floats.if any of the elements is null, a NullPointerException willbe thrown. If any of the element has a length less than four,an ArrayIndexOutOfBoundsException will be thrown. an array of point arrays. Each point array is a polylineapproximation of the input spline.



validate
void validate() throws DOMException(Code)
Validating an Animate consists in: a) Setting its target element. If there was no idRef, then targetElement is still null and will be positioned to the parent node. b) Validating the from, to, by and values traits with the targetElement, using the target trait name, namespace and value. c) Validating the keyTimes and the keySplines trait values to check they are compatible with the values specification.
throws:
  DOMException - if there is a validation error, for example if theto value is incompatible with the target trait or if the targettrait is not animatable.



validateValues
final void validateValues() throws DOMException(Code)
Validates the different so-called values attributes, such as the to/from/by and values attributes. Derived classes may have more 'values' attributes, and may override this method to validate these additional attributes.
throws:
  DOMException - if there is a validation error, for example if theto value is incompatible with the target trait or if the targettrait is not animatable.



validateValuesExtra
void validateValuesExtra() throws DOMException(Code)
Allows extension classes to validate addition values sources.
throws:
  DOMException - if there is a validation error, for example if theto value is incompatible with the target trait or if the targettrait is not animatable.



Fields inherited from com.sun.perseus.model.Animation
final public static int TYPE_GENERIC(Code)(Java Doc)
BaseValue baseVal(Code)(Java Doc)
boolean hasNoEffect(Code)(Java Doc)
String idRef(Code)(Java Doc)
ElementNode targetElement(Code)(Java Doc)
TraitAnim traitAnim(Code)(Java Doc)
String traitName(Code)(Java Doc)
String traitNamespace(Code)(Java Doc)
int type(Code)(Java Doc)

Methods inherited from com.sun.perseus.model.Animation
public void activate()(Code)(Java Doc)
final Object[] compute()(Code)(Java Doc)
public void dispatchEvent(ModelEvent evt)(Code)(Java Doc)
abstract Object[] f(long t)(Code)(Java Doc)
public Object[] getBaseValue()(Code)(Java Doc)
public String getIdRef()(Code)(Java Doc)
public String getTraitNSImpl(String namespaceURI, String name) throws DOMException(Code)(Java Doc)
final void nodeHookedInDocumentTree()(Code)(Java Doc)
final void nodeUnhookedFromDocumentTree()(Code)(Java Doc)
public void resolveTo(ElementNode ref)(Code)(Java Doc)
public void setIdRef(String idRef)(Code)(Java Doc)
public void setTraitNSImpl(String namespaceURI, String name, String value) throws DOMException(Code)(Java Doc)
boolean supportsTraitNS(String namespaceURI, String traitName)(Code)(Java Doc)
abstract void validate()(Code)(Java Doc)

Fields inherited from com.sun.perseus.model.TimedElementNode
protected String localName(Code)(Java Doc)
protected TimedElementSupport timedElementSupport(Code)(Java Doc)

Methods inherited from com.sun.perseus.model.TimedElementNode
public void beginElement()(Code)(Java Doc)
public void beginElementAt(float offset)(Code)(Java Doc)
public void endElement()(Code)(Java Doc)
public void endElementAt(float offset)(Code)(Java Doc)
public String[][] getDefaultTraits()(Code)(Java Doc)
public boolean getElementPaused()(Code)(Java Doc)
public String getLocalName()(Code)(Java Doc)
public TimedElementSupport getTimedElementSupport()(Code)(Java Doc)
public String getTraitImpl(String name) throws DOMException(Code)(Java Doc)
public ElementNode newInstance(DocumentNode doc)(Code)(Java Doc)
void nodeHookedInDocumentTree()(Code)(Java Doc)
void nodeUnhookedFromDocumentTree()(Code)(Java Doc)
protected void parseTimeConditionsTrait(String traitName, String value, boolean isBegin) throws DOMException(Code)(Java Doc)
public void pauseElement()(Code)(Java Doc)
public void setTraitImpl(String name, String value) throws DOMException(Code)(Java Doc)
boolean supportsTrait(String traitName)(Code)(Java Doc)
public void unpauseElement()(Code)(Java Doc)

Fields inherited from com.sun.perseus.model.ElementNode
final public static int CONDITIONAl_ATTRIBUTES_LENGTH(Code)(Java Doc)
final static String NULL_NS(Code)(Java Doc)
final public static int REQUIRED_EXTENSIONS_INDEX(Code)(Java Doc)
final public static int REQUIRED_FEATURES_INDEX(Code)(Java Doc)
final public static int SYSTEM_LANGUAGE_INDEX(Code)(Java Doc)
final static String TRAIT_TYPE_FLOAT(Code)(Java Doc)
final static String TRAIT_TYPE_STRING(Code)(Java Doc)
final static String TRAIT_TYPE_SVG_MATRIX(Code)(Java Doc)
final static String TRAIT_TYPE_SVG_PATH(Code)(Java Doc)
final static String TRAIT_TYPE_SVG_RECT(Code)(Java Doc)
final static String TRAIT_TYPE_SVG_RGB_COLOR(Code)(Java Doc)
final public static int XML_SPACE_DEFAULT(Code)(Java Doc)
final public static int XML_SPACE_INHERIT(Code)(Java Doc)
final public static int XML_SPACE_PRESERVE(Code)(Java Doc)
protected boolean buildingProxy(Code)(Java Doc)
protected String[][] conditionalAttributes(Code)(Java Doc)
protected ElementNodeProxy firstProxy(Code)(Java Doc)
protected String id(Code)(Java Doc)
protected ElementNodeProxy lastProxy(Code)(Java Doc)
protected boolean paintNeedsLoad(Code)(Java Doc)
protected Hashtable traitAnimsNS(Code)(Java Doc)
protected String uriBase(Code)(Java Doc)
protected int xmlSpace(Code)(Java Doc)

Methods inherited from com.sun.perseus.model.ElementNode
public void add(ElementNode element)(Code)(Java Doc)
protected void addProxy(ElementNodeProxy proxy)(Code)(Java Doc)
protected static String alignToStringTrait(int align)(Code)(Java Doc)
protected DOMException animationError(String targetId, String traitNamespace, String traitName, String targetNamespace, String targetName, String animationId, String animationNamespace, String animationLocalName, String errorDescription)(Code)(Java Doc)
public void appendTextChild(String text)(Code)(Java Doc)
protected ElementNodeProxy buildExpandedProxy()(Code)(Java Doc)
ElementNodeProxy buildProxy()(Code)(Java Doc)
final void checkNCName(String name) throws DOMException(Code)(Java Doc)
protected void checkPositive(String name, float value)(Code)(Java Doc)
protected void checkWriteLoading(String name) throws DOMException(Code)(Java Doc)
final boolean conditionEquals(int index, String[] conditionValue)(Code)(Java Doc)
TraitAnim createTraitAnimImpl(String traitName)(Code)(Java Doc)
TraitAnim createTraitAnimNS(String traitNamespace, String traitName)(Code)(Java Doc)
TraitAnim createTraitAnimNSImpl(String traitNamespace, String traitName)(Code)(Java Doc)
public static boolean equal(Object objA, Object objB)(Code)(Java Doc)
public static boolean equal(float[] faa, float[] fab)(Code)(Java Doc)
public static boolean equal(String[] saa, String[] sab)(Code)(Java Doc)
public static boolean equal(int[][] iaa, int[][] iab)(Code)(Java Doc)
public static boolean equal(float[][] faa, float[][] fab)(Code)(Java Doc)
protected String fontStylesToStringTrait(int styles)(Code)(Java Doc)
protected String fontWeightsToStringTrait(int weight)(Code)(Java Doc)
final public String getAttribute(String name) throws DOMException(Code)(Java Doc)
final public String getAttributeNS(String namespaceURI, String name) throws DOMException(Code)(Java Doc)
String[] getConditionalAttribute(int index)(Code)(Java Doc)
public String[][] getDefaultTraits()(Code)(Java Doc)
public ModelNode getFirstComputedExpandedChild()(Code)(Java Doc)
public Element getFirstElementChild()(Code)(Java Doc)
ModelNode getFirstExpandedChild()(Code)(Java Doc)
final public float getFloatTrait(String name) throws DOMException(Code)(Java Doc)
float getFloatTraitImpl(String name)(Code)(Java Doc)
public String getId()(Code)(Java Doc)
public Element getLastElementChild()(Code)(Java Doc)
ModelNode getLastExpandedChild()(Code)(Java Doc)
final public SVGMatrix getMatrixTrait(String name) throws DOMException(Code)(Java Doc)
SVGMatrix getMatrixTraitImpl(String name) throws DOMException(Code)(Java Doc)
public String getNamespaceURI()(Code)(Java Doc)
public Element getNextElementSibling()(Code)(Java Doc)
public boolean getPaintNeedsLoad()(Code)(Java Doc)
public Node getParentNode()(Code)(Java Doc)
final public SVGPath getPathTrait(String name) throws DOMException(Code)(Java Doc)
SVGPath getPathTraitImpl(String name) throws DOMException(Code)(Java Doc)
public Element getPreviousElementSibling()(Code)(Java Doc)
final public SVGRGBColor getRGBColorTrait(String name) throws DOMException(Code)(Java Doc)
SVGRGBColor getRGBColorTraitImpl(String name) throws DOMException(Code)(Java Doc)
final public SVGRect getRectTrait(String name) throws DOMException(Code)(Java Doc)
SVGRect getRectTraitImpl(String name) throws DOMException(Code)(Java Doc)
public String[] getRequiredExtensions()(Code)(Java Doc)
public String[] getRequiredFeatures()(Code)(Java Doc)
public String[] getRequiredTraits()(Code)(Java Doc)
public String[][] getRequiredTraitsNS()(Code)(Java Doc)
TraitAnim getSafeTraitAnimNS(String traitNamespace, String traitName)(Code)(Java Doc)
String getSpecifiedTraitImpl(String traitName) throws DOMException(Code)(Java Doc)
String getSpecifiedTraitNSImpl(String traitNamespace, String traitName) throws DOMException(Code)(Java Doc)
public String[] getSystemLanguage()(Code)(Java Doc)
final public String getTrait(String traitName) throws DOMException(Code)(Java Doc)
public String[][] getTraitAliases()(Code)(Java Doc)
TraitAnim getTraitAnimNS(String traitNamespace, String traitName)(Code)(Java Doc)
public String getTraitImpl(String name) throws DOMException(Code)(Java Doc)
final public String getTraitNS(String namespaceURI, String name) throws DOMException(Code)(Java Doc)
String getTraitNSImpl(String namespaceURI, String name)(Code)(Java Doc)
public String getURIBase()(Code)(Java Doc)
public int getXMLSpace()(Code)(Java Doc)
DOMException illegalTraitValue(String name, String value)(Code)(Java Doc)
protected DOMException illegalTraitValue(String name, String namespaceURI, String value)(Code)(Java Doc)
public static String intern(String str)(Code)(Java Doc)
protected void modifiedNode()(Code)(Java Doc)
protected void modifyingNode()(Code)(Java Doc)
abstract public ElementNode newInstance(DocumentNode doc)(Code)(Java Doc)
void nodeHookedInDocumentTree()(Code)(Java Doc)
DOMException notAnimatable(String traitNamespace, String traitName)(Code)(Java Doc)
final protected Time parseClockTrait(String traitName, String value) throws DOMException(Code)(Java Doc)
final protected RGB parseColorTrait(String traitName, String value) throws DOMException(Code)(Java Doc)
final public float[] parseFloatArrayTrait(String traitName, String value) throws DOMException(Code)(Java Doc)
final public float[] parseFloatArrayTrait(String traitName, String value, char sep) throws DOMException(Code)(Java Doc)
final protected float parseFloatTrait(String name, String value) throws DOMException(Code)(Java Doc)
public String[] parseFontFamilyTrait(String name, String value)(Code)(Java Doc)
final public int parseFontStylesTrait(String name, String value)(Code)(Java Doc)
final protected int parseFontWeightsTrait(String name, String value)(Code)(Java Doc)
final protected float parseLengthTrait(String name, String value, boolean isHorizontal) throws DOMException(Code)(Java Doc)
final protected Time parseMinMaxClock(String traitName, String value, boolean isMin) throws DOMException(Code)(Java Doc)
final protected PaintServer parsePaintTrait(String traitName, PaintTarget paintTarget, String value) throws DOMException(Code)(Java Doc)
final protected Path parsePathTrait(String name, String value) throws DOMException(Code)(Java Doc)
final protected Path parsePointsTrait(String name, String value) throws DOMException(Code)(Java Doc)
final protected float[] parsePositiveFloatArrayTrait(String name, String value) throws DOMException(Code)(Java Doc)
final protected float parsePositiveFloatTrait(String name, String value) throws DOMException(Code)(Java Doc)
final protected float parsePositiveLengthTrait(String name, String value, boolean isHorizontal) throws DOMException(Code)(Java Doc)
final protected String[] parseStringArrayTrait(String name, String value, String seperators) throws DOMException(Code)(Java Doc)
final protected Transform parseTransformTrait(String name, String value) throws DOMException(Code)(Java Doc)
final protected int[][] parseUnicodeRangeTrait(String name, String value) throws DOMException(Code)(Java Doc)
protected void preValidate()(Code)(Java Doc)
ModelNode proxyNodeHitAt(float[] pt, ElementNodeProxy proxy)(Code)(Java Doc)
protected DOMException readOnlyTraitError(String name)(Code)(Java Doc)
protected void recomputeProxyTransformState()(Code)(Java Doc)
void removeProxy(ElementNodeProxy proxy)(Code)(Java Doc)
final public void setAttribute(String name, String value) throws DOMException(Code)(Java Doc)
final public void setAttributeNS(String namespaceURI, String name, String value) throws DOMException(Code)(Java Doc)
void setConditionalAttribute(int index, String[] newValue)(Code)(Java Doc)
void setFloatArrayTrait(String name, float[][] value) throws DOMException(Code)(Java Doc)
final public void setFloatTrait(String name, float value) throws DOMException(Code)(Java Doc)
void setFloatTraitImpl(String name, float value)(Code)(Java Doc)
public void setId(String newId)(Code)(Java Doc)
final public void setMatrixTrait(String name, SVGMatrix matrix) throws DOMException(Code)(Java Doc)
void setMatrixTraitImpl(String name, Transform matrix) throws DOMException(Code)(Java Doc)
final public void setPathTrait(String name, SVGPath path) throws DOMException(Code)(Java Doc)
void setPathTraitImpl(String name, SVGPath path) throws DOMException(Code)(Java Doc)
public void setPreferedPaintNeedsLoad(boolean paintNeedsLoad)(Code)(Java Doc)
final public void setRGBColorTrait(String name, SVGRGBColor color) throws DOMException(Code)(Java Doc)
void setRGBColorTraitImpl(String name, SVGRGBColor color) throws DOMException(Code)(Java Doc)
final public void setRectTrait(String name, SVGRect rect) throws DOMException(Code)(Java Doc)
public void setRectTraitImpl(String name, SVGRect rect) throws DOMException(Code)(Java Doc)
public void setRequiredExtensions(String[] newRequiredExtensions)(Code)(Java Doc)
public void setRequiredFeatures(String[] newRequiredFeatures)(Code)(Java Doc)
public void setSystemLanguage(String[] newSystemLanguage)(Code)(Java Doc)
final public void setTrait(String name, String value) throws DOMException(Code)(Java Doc)
public void setTraitImpl(String name, String value) throws DOMException(Code)(Java Doc)
final public void setTraitNS(String namespaceURI, String name, String value) throws DOMException(Code)(Java Doc)
public void setTraitNSImpl(String namespaceURI, String name, String value) throws DOMException(Code)(Java Doc)
public void setURIBase(String newUriBase)(Code)(Java Doc)
public void setXMLSpace(int newXmlSpace)(Code)(Java Doc)
boolean supportsTrait(String traitName)(Code)(Java Doc)
boolean supportsTraitNS(String namespaceURI, String traitName)(Code)(Java Doc)
float[][] toAnimatedFloatArray(float v)(Code)(Java Doc)
float[][] toAnimatedFloatArray(float[] a)(Code)(Java Doc)
float[][] toAnimatedFloatArray(Path path)(Code)(Java Doc)
protected RGB toRGB(String name, float[][] v) throws DOMException(Code)(Java Doc)
protected String toRGBString(String name, float[][] v) throws DOMException(Code)(Java Doc)
protected SVGMatrix toSVGMatrixTrait(Transform transform)(Code)(Java Doc)
protected SVGRGBColor toSVGRGBColor(String traitName, PaintServer paint)(Code)(Java Doc)
protected SVGRect toSVGRect(float[][] viewBox)(Code)(Java Doc)
String toString(PaintServer paintServer)(Code)(Java Doc)
public String toString()(Code)(Java Doc)
String toStringTrait(String traitName, float[][] value)(Code)(Java Doc)
protected String toStringTrait(String[] array)(Code)(Java Doc)
protected String toStringTrait(String[] array, String sep)(Code)(Java Doc)
protected String toStringTrait(float[] array)(Code)(Java Doc)
protected String toStringTrait(float[] array, char sep)(Code)(Java Doc)
protected String toStringTrait(float[][] array)(Code)(Java Doc)
protected static String toStringTrait(Transform transform)(Code)(Java Doc)
protected String toStringTraitQuote(String[] array)(Code)(Java Doc)
float[] toTraitFloatArray(float[][] value)(Code)(Java Doc)
protected float[][] toViewBox(String name, String value) throws DOMException(Code)(Java Doc)
protected void unhookChildrenQuiet()(Code)(Java Doc)
protected void unhookExpandedQuiet()(Code)(Java Doc)
protected String unicodeRangeToStringTrait(int[][] u)(Code)(Java Doc)
protected DOMException unsupportedTrait(String name)(Code)(Java Doc)
protected DOMException unsupportedTraitNS(String name, String namespaceURI)(Code)(Java Doc)
protected DOMException unsupportedTraitType(String name, String type)(Code)(Java Doc)
protected DOMException unsupportedTraitTypeNS(String name, String namespaceURI, String type)(Code)(Java Doc)
float[][] validateFloatArrayTrait(String traitName, String value, String reqNamespaceURI, String reqLocalName, String reqTraitNamespace, String reqTraitName) throws DOMException(Code)(Java Doc)
String validateTraitNS(String namespaceURI, String traitName, String value, String reqNamespaceURI, String reqLocalName, String reqTraitNamespace, String reqTraitName) throws DOMException(Code)(Java Doc)

Fields inherited from com.sun.perseus.model.CompositeNode
protected ElementNode firstChild(Code)(Java Doc)
protected ElementNode lastChild(Code)(Java Doc)

Methods inherited from com.sun.perseus.model.CompositeNode
public void add(ElementNode element)(Code)(Java Doc)
public Node appendChild(Node newChild) throws DOMException(Code)(Java Doc)
protected void clearLayouts()(Code)(Java Doc)
public ModelNode getFirstChildNode()(Code)(Java Doc)
public ModelNode getLastChildNode()(Code)(Java Doc)
abstract public String getLocalName()(Code)(Java Doc)
abstract public String getNamespaceURI()(Code)(Java Doc)
abstract public Node getParentNode()(Code)(Java Doc)
public Node insertBefore(Node newChild, Node refChild) throws DOMException(Code)(Java Doc)
protected boolean isAllowedChild(ElementNode node)(Code)(Java Doc)
final boolean isAncestor(ElementNode node)(Code)(Java Doc)
final boolean isChild(Node node)(Code)(Java Doc)
protected static boolean isIdBranch(ElementNode node)(Code)(Java Doc)
protected boolean isRemoveChildSupported()(Code)(Java Doc)
void nodeHookedInDocumentTree()(Code)(Java Doc)
void nodeUnhookedFromDocumentTree()(Code)(Java Doc)
final void onHookedInDocumentTree()(Code)(Java Doc)
final void onUnhookedFromDocumentTree()(Code)(Java Doc)
public Node removeChild(Node oldChild) throws DOMException(Code)(Java Doc)
protected void unhookChildrenQuiet()(Code)(Java Doc)

Fields inherited from com.sun.perseus.model.ModelNode
final public static int CAN_RENDER_CONDITIONS_MET_BITS(Code)(Java Doc)
final public static int CAN_RENDER_CONDITIONS_MET_MASK(Code)(Java Doc)
final public static int CAN_RENDER_DISPLAY_BIT(Code)(Java Doc)
final public static int CAN_RENDER_DISPLAY_MASK(Code)(Java Doc)
final public static int CAN_RENDER_EMPTY_PATH_BIT(Code)(Java Doc)
final public static int CAN_RENDER_EMPTY_PATH_MASK(Code)(Java Doc)
final public static int CAN_RENDER_EMPTY_VIEWBOX_BIT(Code)(Java Doc)
final public static int CAN_RENDER_EMPTY_VIEWBOX_MASK(Code)(Java Doc)
final public static int CAN_RENDER_IN_DOCUMENT_TREE_BIT(Code)(Java Doc)
final public static int CAN_RENDER_IN_DOCUMENT_TREE_MASK(Code)(Java Doc)
final public static int CAN_RENDER_NON_INVERTIBLE_TXF_BIT(Code)(Java Doc)
final public static int CAN_RENDER_NON_INVERTIBLE_TXF_MASK(Code)(Java Doc)
final public static int CAN_RENDER_PARENT_STATE_BIT(Code)(Java Doc)
final public static int CAN_RENDER_PARENT_STATE_MASK(Code)(Java Doc)
final public static int CAN_RENDER_PROXY_BITS_MASK(Code)(Java Doc)
final public static int CAN_RENDER_RENDERABLE_BIT(Code)(Java Doc)
final public static int CAN_RENDER_RENDERABLE_MASK(Code)(Java Doc)
final public static int CAN_RENDER_REQUIRED_EXTENSIONS_BIT(Code)(Java Doc)
final public static int CAN_RENDER_REQUIRED_EXTENSIONS_MASK(Code)(Java Doc)
final public static int CAN_RENDER_REQUIRED_FEATURES_BIT(Code)(Java Doc)
final public static int CAN_RENDER_REQUIRED_FEATURES_MASK(Code)(Java Doc)
final public static int CAN_RENDER_SYSTEM_LANGUAGE_BIT(Code)(Java Doc)
final public static int CAN_RENDER_SYSTEM_LANGUAGE_MASK(Code)(Java Doc)
final public static int CAN_RENDER_ZERO_FONT_SIZE_BIT(Code)(Java Doc)
final public static int CAN_RENDER_ZERO_FONT_SIZE_MASK(Code)(Java Doc)
final public static int CAN_RENDER_ZERO_HEIGHT_BIT(Code)(Java Doc)
final public static int CAN_RENDER_ZERO_HEIGHT_MASK(Code)(Java Doc)
final public static int CAN_RENDER_ZERO_WIDTH_BIT(Code)(Java Doc)
final public static int CAN_RENDER_ZERO_WIDTH_MASK(Code)(Java Doc)
final protected Transform IDENTITY(Code)(Java Doc)
protected int canRenderState(Code)(Java Doc)
protected boolean loaded(Code)(Java Doc)
protected ModelNode nextSibling(Code)(Java Doc)
protected DocumentNode ownerDocument(Code)(Java Doc)
protected ModelNode parent(Code)(Java Doc)
protected ModelNode prevSibling(Code)(Java Doc)

Methods inherited from com.sun.perseus.model.ModelNode
Box addBBox(Box bbox, Transform t)(Code)(Java Doc)
static Box addBBox(Box bbox, float x, float y, float width, float height)(Code)(Java Doc)
public void addEventListener(String type, EventListener listener, boolean useCapture) throws DOMException(Code)(Java Doc)
Box addNodeBBox(Box bbox, Transform t)(Code)(Java Doc)
static Box addShapeBBox(Box bbox, Path path, Transform t)(Code)(Java Doc)
static Box addTransformedBBox(Box bbox, float x, float y, float width, float height, Transform m)(Code)(Java Doc)
protected Transform appendTransform(Transform tx, Transform workTx)(Code)(Java Doc)
protected void clearLastRenderedTile()(Code)(Java Doc)
abstract protected void clearLayouts()(Code)(Java Doc)
void clearLayouts(ModelNode node)(Code)(Java Doc)
final void computeCanRenderDisplayBit(boolean display)(Code)(Java Doc)
final void computeCanRenderEmptyPathBit(Path path)(Code)(Java Doc)
final void computeCanRenderEmptyViewBoxBit(float[][] viewBox)(Code)(Java Doc)
final void computeCanRenderFontSizeBit(float fontSize)(Code)(Java Doc)
final void computeCanRenderHeightBit(float height)(Code)(Java Doc)
final void computeCanRenderRequiredExtensionsBit(String[] requiredExtensions)(Code)(Java Doc)
final void computeCanRenderRequiredFeaturesBit(String[] requiredFeatures)(Code)(Java Doc)
final void computeCanRenderSystemLanguageBit(String[] systemLanguage)(Code)(Java Doc)
final void computeCanRenderTransformBit(Transform transform)(Code)(Java Doc)
final void computeCanRenderWidthBit(float width)(Code)(Java Doc)
protected void computeRenderingTile(Tile tile)(Code)(Java Doc)
protected boolean contributeBBox()(Code)(Java Doc)
public void dispatchEvent(ModelEvent evt)(Code)(Java Doc)
abstract public ModelNode getFirstChildNode()(Code)(Java Doc)
abstract ModelNode getFirstComputedExpandedChild()(Code)(Java Doc)
abstract ModelNode getFirstExpandedChild()(Code)(Java Doc)
protected float getFloatPropertyState(int propertyIndex)(Code)(Java Doc)
final protected float getInheritedFloatPropertyState(int propertyIndex)(Code)(Java Doc)
final protected int getInheritedPackedPropertyState(int propertyIndex)(Code)(Java Doc)
final protected Object getInheritedPropertyState(int propertyIndex)(Code)(Java Doc)
Transform getInverseTransformState()(Code)(Java Doc)
abstract public ModelNode getLastChildNode()(Code)(Java Doc)
abstract ModelNode getLastExpandedChild()(Code)(Java Doc)
protected Tile getLastRenderedTile()(Code)(Java Doc)
public ModelNode getNextSiblingNode()(Code)(Java Doc)
public DocumentNode getOwnerDocument()(Code)(Java Doc)
protected int getPackedPropertyState(int propertyIndex)(Code)(Java Doc)
boolean getPaintNeedsLoad()(Code)(Java Doc)
public ModelNode getParent()(Code)(Java Doc)
public ModelNode getPreviousSiblingNode()(Code)(Java Doc)
protected Object getPropertyState(int propertyIndex)(Code)(Java Doc)
protected Tile getRenderingTile()(Code)(Java Doc)
public SVGMatrix getScreenCTM()(Code)(Java Doc)
public Transform getTransformState()(Code)(Java Doc)
protected String getURIBase()(Code)(Java Doc)
protected UpdateListener getUpdateListener()(Code)(Java Doc)
public boolean hasDescendants()(Code)(Java Doc)
protected boolean hasNodeRendering()(Code)(Java Doc)
boolean inDocumentTree()(Code)(Java Doc)
protected boolean isFloatPropertyState(int propertyIndex, float propertyValue)(Code)(Java Doc)
protected boolean isInDocumentTree()(Code)(Java Doc)
final public boolean isLoaded()(Code)(Java Doc)
protected boolean isPackedPropertyState(int propertyIndex, int propertyValue)(Code)(Java Doc)
protected boolean isPropertyState(int propertyIndex, Object propertyValue)(Code)(Java Doc)
protected void modifiedNode()(Code)(Java Doc)
protected void modifyingNode()(Code)(Java Doc)
protected void modifyingNodeRendering()(Code)(Java Doc)
public ModelNode nodeHitAt(float[] pt)(Code)(Java Doc)
final protected ModelNode nodeHitAt(ModelNode node, float[] pt)(Code)(Java Doc)
protected static void nodeInserted(ModelNode node)(Code)(Java Doc)
protected void nodeRendered()(Code)(Java Doc)
void onHookedInDocumentTree()(Code)(Java Doc)
void onUnhookedFromDocumentTree()(Code)(Java Doc)
static void paint(ModelNode node, RenderGraphics rg)(Code)(Java Doc)
public void paint(RenderGraphics rg)(Code)(Java Doc)
protected void propagateCanRenderState(int oldCanRenderState, int newCanRenderState)(Code)(Java Doc)
protected void propagateFloatPropertyState(int propertyIndex, float parentPropertyValue)(Code)(Java Doc)
protected void propagatePackedPropertyState(int propertyIndex, int parentPropertyValue)(Code)(Java Doc)
protected void propagatePropertyState(int propertyIndex, Object parentPropertyValue)(Code)(Java Doc)
protected void recomputeFloatPropertyState(int propertyIndex, float parentPropertyValue)(Code)(Java Doc)
void recomputeInheritedProperties()(Code)(Java Doc)
protected void recomputePackedPropertyState(int propertyIndex, int parentPropertyValue)(Code)(Java Doc)
protected void recomputePropertyState(int propertyIndex, Object parentPropertyValue)(Code)(Java Doc)
protected void recomputeTransformState()(Code)(Java Doc)
protected void recomputeTransformState(Transform parentTransform)(Code)(Java Doc)
void recomputeTransformState(Transform parentTransform, ModelNode node)(Code)(Java Doc)
final protected Transform recycleTransform(Transform tx, Transform workTx)(Code)(Java Doc)
public void removeEventListener(String type, EventListener listener, boolean useCapture) throws DOMException(Code)(Java Doc)
protected void setFloatPropertyState(int propertyIndex, float propertyValue)(Code)(Java Doc)
public void setLoaded(boolean isLoaded)(Code)(Java Doc)
protected void setPackedPropertyState(int propertyIndex, int propertyValue)(Code)(Java Doc)
protected void setParent(ModelNode newParent)(Code)(Java Doc)
protected void setParentQuiet(ModelNode newParent)(Code)(Java Doc)
protected void setPropertyState(int propertyIndex, Object propertyValue)(Code)(Java Doc)
abstract protected void unhookChildrenQuiet()(Code)(Java Doc)
abstract protected void unhookExpandedQuiet()(Code)(Java Doc)
final protected void unhookQuiet(ModelNode node)(Code)(Java Doc)

Methods inherited from java.lang.Object
public boolean equals(Object obj)(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.