|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The CSS2FontFaceSrc
interface represents the src CSS Level 2
descriptor.
For this extension of the CSSValue
interface, the
valueType
attribute of the underlying CSSValue
interface shall be CSS_CUSTOM
.
See also the Document Object Model (DOM) Level 2 Specification.
Fields inherited from interface org.w3c.dom.css.CSSValue |
CSS_CUSTOM, CSS_INHERIT, CSS_PRIMITIVE_VALUE, CSS_VALUE_LIST |
Method Summary | |
java.lang.String |
getFontFaceName()
Specifies the full font name of a locally installed font. |
CSSValueList |
getFormat()
This attribute contains a list of strings for the format CSS function. |
java.lang.String |
getUri()
Specifies the source of the font, empty string otherwise. |
void |
setFontFaceName(java.lang.String fontFaceName)
|
void |
setUri(java.lang.String uri)
|
Methods inherited from interface org.w3c.dom.css.CSSValue |
getCssText, getCssValueType, setCssText |
Method Detail |
public java.lang.String getUri()
DOMException
- SYNTAX_ERR: Raised if the specified CSS string value has a syntax
error and is unparsable.
public void setUri(java.lang.String uri) throws DOMException
public CSSValueList getFormat()
public java.lang.String getFontFaceName()
DOMException
- SYNTAX_ERR: Raised if the specified CSS string value has a syntax
error and is unparsable.
public void setFontFaceName(java.lang.String fontFaceName) throws DOMException
|
Source code is GPL'd at http://xmlconf.sourceforge.net. |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |