Java Doc for StyleMap.java in  » IDE-Netbeans » visualweb.api.designer » org » apache » batik » css » engine » 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 » IDE Netbeans » visualweb.api.designer » org.apache.batik.css.engine 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.batik.css.engine.StyleMap

StyleMap
public class StyleMap (Code)
This class represents objects which contains property/value mappings.
author:
   Stephane Hillion
version:
   $Id$


Field Summary
final public static  shortAUTHOR_ORIGIN
    
final public static  shortBLOCK_HEIGHT_RELATIVE_MASK
    
final public static  shortBLOCK_WIDTH_RELATIVE_MASK
    
final public static  shortBOX_RELATIVE_MASK
    
final public static  shortCOMPUTED_MASK
    
final public static  shortFONT_SIZE_RELATIVE_MASK
    
final public static  shortIMPORTANT_MASK
    
final public static  shortINHERITED_MASK
    
final public static  shortINLINE_AUTHOR_ORIGIN
    
final public static  shortLINE_HEIGHT_RELATIVE_MASK
    
final public static  shortNON_CSS_ORIGIN
    
final public static  shortNULL_CASCADED_MASK
    
final public static  shortORIGIN_MASK
    
final public static  shortPARENT_RELATIVE_MASK
    
final public static  shortUSER_AGENT_ORIGIN
    
final public static  shortUSER_ORIGIN
    
protected  booleanfixedCascadedValues
     Whether the values of this map cannot be re-cascaded.
protected  short[]masks
     To store the value masks.
protected  Value[]values
     The values.

Constructor Summary
public  StyleMap(int size)
     Creates a new StyleMap.

Method Summary
public  shortgetMask(int i)
     Returns the mask of the given property value.
public  shortgetOrigin(int i)
     Returns the origin value.
public  intgetSize(boolean total)
     Return the size of the stylemap.
public  ValuegetValue(int i)
     Returns the value at the given index, null if unspecified.
public  booleanhasFixedCascadedValues()
     Whether this map has fixed cascaded value.
public  booleanisBlockHeightRelative(int i)
     Tells whether the given property value is relative to the height of the containing block.
public  booleanisBlockWidthRelative(int i)
     Tells whether the given property value is relative to the width of the containing block.
public  booleanisColorRelative(int i)
     Tells whether the given property value is relative to 'color'.
public  booleanisComputed(int i)
     Tells whether the given property value is computed.
public  booleanisFontSizeRelative(int i)
     Tells whether the given property value is relative to 'font-size'.
public  booleanisImportant(int i)
     Tells whether the given property value is important.
public  booleanisInherited(int i)
    
public  booleanisLineHeightRelative(int i)
     Tells whether the given property value is relative to 'line-height'.
public  booleanisNullCascaded(int i)
     Tells whether the given cascaded property value is null.
public  booleanisParentRelative(int i)
     Tells whether the given property value is relative to the parent's property value.
public  voidputBlockHeightRelative(int i, boolean b)
     Sets the block-height-relative flag of a property value.
public  voidputBlockWidthRelative(int i, boolean b)
     Sets the block-width-relative flag of a property value.
public  voidputComputed(int i, boolean b)
     Sets the computed flag of a property value.
public  voidputFontSizeRelative(int i, boolean b)
     Sets the font-size-relative flag of a property value.
public  voidputImportant(int i, boolean b)
     Sets the priority of a property value.
public  voidputInherited(int i, boolean b)
     Sets the color-relative flag of a property value.
public  voidputLineHeightRelative(int i, boolean b)
     Sets the line-height-relative flag of a property value.
public  voidputMask(int i, short m)
     Puts a property mask, given the property index.
public  voidputNullCascaded(int i, boolean b)
     Sets the null-cascaded flag of a property value.
public  voidputOrigin(int i, short val)
     Sets the origin of the given value.
public  voidputParentRelative(int i, boolean b)
     Sets the parent-relative flag of a property value.
public  voidputValue(int i, Value v)
     Puts a property value, given the property index.
public  voidsetFixedCascadedStyle(boolean b)
     Sets the fixedCascadedValues property.
public  StringtoString(CSSEngine eng)
     Returns a printable representation of this style map.
public  StringtoString()
     Returns a printable representation of this style map.
public  StringtoStyleString(CSSEngine eng)
     Returns a single line string suitable as a "style" attribute for an element.

Field Detail
AUTHOR_ORIGIN
final public static short AUTHOR_ORIGIN(Code)



BLOCK_HEIGHT_RELATIVE_MASK
final public static short BLOCK_HEIGHT_RELATIVE_MASK(Code)



BLOCK_WIDTH_RELATIVE_MASK
final public static short BLOCK_WIDTH_RELATIVE_MASK(Code)



BOX_RELATIVE_MASK
final public static short BOX_RELATIVE_MASK(Code)



COMPUTED_MASK
final public static short COMPUTED_MASK(Code)



FONT_SIZE_RELATIVE_MASK
final public static short FONT_SIZE_RELATIVE_MASK(Code)



IMPORTANT_MASK
final public static short IMPORTANT_MASK(Code)



INHERITED_MASK
final public static short INHERITED_MASK(Code)



INLINE_AUTHOR_ORIGIN
final public static short INLINE_AUTHOR_ORIGIN(Code)



LINE_HEIGHT_RELATIVE_MASK
final public static short LINE_HEIGHT_RELATIVE_MASK(Code)



NON_CSS_ORIGIN
final public static short NON_CSS_ORIGIN(Code)



NULL_CASCADED_MASK
final public static short NULL_CASCADED_MASK(Code)



ORIGIN_MASK
final public static short ORIGIN_MASK(Code)



PARENT_RELATIVE_MASK
final public static short PARENT_RELATIVE_MASK(Code)



USER_AGENT_ORIGIN
final public static short USER_AGENT_ORIGIN(Code)



USER_ORIGIN
final public static short USER_ORIGIN(Code)



fixedCascadedValues
protected boolean fixedCascadedValues(Code)
Whether the values of this map cannot be re-cascaded.



masks
protected short[] masks(Code)
To store the value masks.



values
protected Value[] values(Code)
The values.




Constructor Detail
StyleMap
public StyleMap(int size)(Code)
Creates a new StyleMap.




Method Detail
getMask
public short getMask(int i)(Code)
Returns the mask of the given property value.



getOrigin
public short getOrigin(int i)(Code)
Returns the origin value.



getSize
public int getSize(boolean total)(Code)
Return the size of the stylemap.
Parameters:
  total - If true, return the number of available slots, not necessarily set in this map.If false, return only the number of non-null entries in the map.



getValue
public Value getValue(int i)(Code)
Returns the value at the given index, null if unspecified.



hasFixedCascadedValues
public boolean hasFixedCascadedValues()(Code)
Whether this map has fixed cascaded value.



isBlockHeightRelative
public boolean isBlockHeightRelative(int i)(Code)
Tells whether the given property value is relative to the height of the containing block.



isBlockWidthRelative
public boolean isBlockWidthRelative(int i)(Code)
Tells whether the given property value is relative to the width of the containing block.



isColorRelative
public boolean isColorRelative(int i)(Code)
Tells whether the given property value is relative to 'color'.



isComputed
public boolean isComputed(int i)(Code)
Tells whether the given property value is computed.



isFontSizeRelative
public boolean isFontSizeRelative(int i)(Code)
Tells whether the given property value is relative to 'font-size'.



isImportant
public boolean isImportant(int i)(Code)
Tells whether the given property value is important.



isInherited
public boolean isInherited(int i)(Code)
Tells whether the given property has been inherited



isLineHeightRelative
public boolean isLineHeightRelative(int i)(Code)
Tells whether the given property value is relative to 'line-height'.



isNullCascaded
public boolean isNullCascaded(int i)(Code)
Tells whether the given cascaded property value is null.



isParentRelative
public boolean isParentRelative(int i)(Code)
Tells whether the given property value is relative to the parent's property value.



putBlockHeightRelative
public void putBlockHeightRelative(int i, boolean b)(Code)
Sets the block-height-relative flag of a property value.



putBlockWidthRelative
public void putBlockWidthRelative(int i, boolean b)(Code)
Sets the block-width-relative flag of a property value.



putComputed
public void putComputed(int i, boolean b)(Code)
Sets the computed flag of a property value.



putFontSizeRelative
public void putFontSizeRelative(int i, boolean b)(Code)
Sets the font-size-relative flag of a property value.



putImportant
public void putImportant(int i, boolean b)(Code)
Sets the priority of a property value.



putInherited
public void putInherited(int i, boolean b)(Code)
Sets the color-relative flag of a property value.



putLineHeightRelative
public void putLineHeightRelative(int i, boolean b)(Code)
Sets the line-height-relative flag of a property value.



putMask
public void putMask(int i, short m)(Code)
Puts a property mask, given the property index.
Parameters:
  i - The property index.
Parameters:
  m - The property mask.



putNullCascaded
public void putNullCascaded(int i, boolean b)(Code)
Sets the null-cascaded flag of a property value.



putOrigin
public void putOrigin(int i, short val)(Code)
Sets the origin of the given value.



putParentRelative
public void putParentRelative(int i, boolean b)(Code)
Sets the parent-relative flag of a property value.



putValue
public void putValue(int i, Value v)(Code)
Puts a property value, given the property index.
Parameters:
  i - The property index.
Parameters:
  v - The property value.



setFixedCascadedStyle
public void setFixedCascadedStyle(boolean b)(Code)
Sets the fixedCascadedValues property.



toString
public String toString(CSSEngine eng)(Code)
Returns a printable representation of this style map.



toString
public String toString()(Code)
Returns a printable representation of this style map.



toStyleString
public String toStyleString(CSSEngine eng)(Code)
Returns a single line string suitable as a "style" attribute for an element. Note - this is not for debugging so don't put arbitrary info in here.



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.