Java Doc for CSSValue.java in  » 6.0-JDK-Core » w3c » org » w3c » dom » css » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Home
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
26.ERP CRM Financial
27.ESB
28.Forum
29.Game
30.GIS
31.Graphic 3D
32.Graphic Library
33.Groupware
34.HTML Parser
35.IDE
36.IDE Eclipse
37.IDE Netbeans
38.Installer
39.Internationalization Localization
40.Inversion of Control
41.Issue Tracking
42.J2EE
43.J2ME
44.JBoss
45.JMS
46.JMX
47.Library
48.Mail Clients
49.Music
50.Net
51.Parser
52.PDF
53.Portal
54.Profiler
55.Project Management
56.Report
57.RSS RDF
58.Rule Engine
59.Science
60.Scripting
61.Search Engine
62.Security
63.Sevlet Container
64.Source Control
65.Swing Library
66.Template Engine
67.Test Coverage
68.Testing
69.UML
70.Web Crawler
71.Web Framework
72.Web Mail
73.Web Server
74.Web Services
75.Web Services apache cxf 2.2.6
76.Web Services AXIS2
77.Wiki Engine
78.Workflow Engines
79.XML
80.XML UI
Java Source Code / Java Documentation » 6.0 JDK Core » w3c » org.w3c.dom.css 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.w3c.dom.css.CSSValue

CSSValue
public interface CSSValue (Code)
The CSSValue interface represents a simple or a complex value. A CSSValue object only occurs in a context of a CSS property.

See also the Document Object Model (DOM) Level 2 Style Specification.
since:
   DOM Level 2



Field Summary
final public static  shortCSS_CUSTOM
     The value is a custom value.
final public static  shortCSS_INHERIT
     The value is inherited and the cssText contains "inherit".
final public static  shortCSS_PRIMITIVE_VALUE
     The value is a primitive value and an instance of the CSSPrimitiveValue interface can be obtained by using binding-specific casting methods on this instance of the CSSValue interface.
final public static  shortCSS_VALUE_LIST
     The value is a CSSValue list and an instance of the CSSValueList interface can be obtained by using binding-specific casting methods on this instance of the CSSValue interface.


Method Summary
public  StringgetCssText()
     A string representation of the current value.
public  shortgetCssValueType()
     A code defining the type of the value as defined above.
public  voidsetCssText(String cssText)
     A string representation of the current value.

Field Detail
CSS_CUSTOM
final public static short CSS_CUSTOM(Code)
The value is a custom value.



CSS_INHERIT
final public static short CSS_INHERIT(Code)
The value is inherited and the cssText contains "inherit".



CSS_PRIMITIVE_VALUE
final public static short CSS_PRIMITIVE_VALUE(Code)
The value is a primitive value and an instance of the CSSPrimitiveValue interface can be obtained by using binding-specific casting methods on this instance of the CSSValue interface.



CSS_VALUE_LIST
final public static short CSS_VALUE_LIST(Code)
The value is a CSSValue list and an instance of the CSSValueList interface can be obtained by using binding-specific casting methods on this instance of the CSSValue interface.





Method Detail
getCssText
public String getCssText()(Code)
A string representation of the current value.



getCssValueType
public short getCssValueType()(Code)
A code defining the type of the value as defined above.



setCssText
public void setCssText(String cssText) throws DOMException(Code)
A string representation of the current value.
exception:
  DOMException - SYNTAX_ERR: Raised if the specified CSS string value has a syntax error (according to the attached property) or is unparsable.
INVALID_MODIFICATION_ERR: Raised if the specified CSS string value represents a different type of values than the values allowed by the CSS property.
NO_MODIFICATION_ALLOWED_ERR: Raised if this value is readonly.



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