This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.


org.w3c.dom.css
interface CSSPageRule

All Superinterfaces:
CSSRule

public interface CSSPageRule
extends CSSRule

The CSSPageRule interface represents a @page rule within a CSS style sheet. The @page rule is used to specify the dimensions, orientation, margins, etc. of a page box for paged media.

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


Field Summary
 
Fields inherited from class org.w3c.dom.css.CSSRule
CHARSET_RULE, FONT_FACE_RULE, IMPORT_RULE, MEDIA_RULE, PAGE_RULE, STYLE_RULE, UNKNOWN_RULE
 
Method Summary
 String

          The parsable textual representation of the page selector for the rule.
 CSSStyleDeclaration

          The declaration-block of this rule.
 void
setSelectorText(String selectorText)

          The parsable textual representation of the page selector for the rule.
 
Methods inherited from class org.w3c.dom.css.CSSRule
getCssText, getParentRule, getParentStyleSheet, getType, setCssText
 

Method Detail

getSelectorText

public String getSelectorText()
The parsable textual representation of the page selector for the rule.


getStyle

public CSSStyleDeclaration getStyle()
The declaration-block of this rule.


setSelectorText

public void setSelectorText(String selectorText)
                     throws DOMException
The parsable textual representation of the page selector for the rule.

Parameters:
selectorText
Throws:
DOMException - SYNTAX_ERR: Raised if the specified CSS string value has a syntax error and is unparsable.
NO_MODIFICATION_ALLOWED_ERR: Raised if this rule is readonly.


This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.
This page displays the Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
The official Sun™ documentation can be found here at http://java.sun.com/javase/6/docs/api/.