|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface allows the user of a CSSEngine to provide contextual informations.
Method Summary | |
void |
checkLoadExternalResource(ParsedURL resourceURL,
ParsedURL docURL)
This method should throw a SecurityException if the resource found at url and referenced from docURL should not be loaded. |
float |
getBlockHeight(Element elt)
Returns the height of the block which directly contains the given element. |
float |
getBlockWidth(Element elt)
Returns the width of the block which directly contains the given element. |
float |
getBolderFontWeight(float f)
Returns a bolder font-weight. |
float |
getLighterFontWeight(float f)
Returns a lighter font-weight. |
float |
getMediumFontSize()
Returns the medium font size. |
float |
getPixelToMillimeter()
Returns the size of a px CSS unit in millimeters. |
float |
getPixelUnitToMillimeter()
Returns the size of a px CSS unit in millimeters. |
Value |
getSystemColor(java.lang.String ident)
Returns the Value corresponding to the given system color. |
Method Detail |
public Value getSystemColor(java.lang.String ident)
public float getLighterFontWeight(float f)
public float getBolderFontWeight(float f)
public float getPixelUnitToMillimeter()
public float getPixelToMillimeter()
public float getMediumFontSize()
public float getBlockWidth(Element elt)
public float getBlockHeight(Element elt)
public void checkLoadExternalResource(ParsedURL resourceURL, ParsedURL docURL) throws java.lang.SecurityException
scriptURL
- url for the script, as defined in
the script's xlink:href attribute. If that
attribute was empty, then this parameter should
be nulldocURL
- url for the document into which the
script was found.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |