|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfo.informatica.doc.style.css.AbstractStyleDatabase
public abstract class AbstractStyleDatabase
Abstract base class for CSS Style databases.
| Field Summary | |
|---|---|
static org.w3c.dom.css.CSSPrimitiveValue |
DEFAULT_INITIAL_COLOR
|
| Constructor Summary | |
|---|---|
AbstractStyleDatabase()
|
|
| Method Summary | |
|---|---|
float |
floatValueConversion(float initialValue,
short initialUnitType)
Makes an unit conversion to the natural unit of this device. |
float |
floatValueConversion(float initialValue,
short initialUnitType,
short destUnitType)
Makes an unit conversion (for the units known to this device). |
String |
getDefaultGenericFontFamily()
Gets the real name of the default font. |
int |
getExSizeInPt(String familyName,
int size)
Gives the size of the 'ex' unit, expressed in 'pt' (typographic points) unit. |
org.w3c.dom.css.CSSPrimitiveValue |
getInitialColor()
Gives the initial (default) value for the 'color' property on this device. |
float |
getScrollbarWidth()
Gets the width of the scrollbar that appears when a box overflows with scroll. |
void |
setInitialColor(String initialColor)
Sets the initial (default) value for the 'color' property on this device. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface info.informatica.doc.style.css.StyleDatabase |
|---|
getDefaultGenericFontFamily, getDocumentHeight, getDocumentWidth, getFontSizeFromIdentifier, getNaturalUnit, getWidthSize, isFontFamilyAvailable |
| Field Detail |
|---|
public static final org.w3c.dom.css.CSSPrimitiveValue DEFAULT_INITIAL_COLOR
| Constructor Detail |
|---|
public AbstractStyleDatabase()
| Method Detail |
|---|
public int getExSizeInPt(String familyName,
int size)
StyleDatabase
getExSizeInPt in interface StyleDatabasefamilyName - the font family name.size - the font size.
public float floatValueConversion(float initialValue,
short initialUnitType,
short destUnitType)
throws DOMException
StyleDatabase
floatValueConversion in interface StyleDatabaseinitialValue - the value to be converted, expressed in the initial unit.initialUnitType - the initial unit type.destUnitType - the destination unit type.
DOMException
public float floatValueConversion(float initialValue,
short initialUnitType)
throws DOMException
StyleDatabase
floatValueConversion in interface StyleDatabaseinitialValue - the value to be converted, expressed in the initial unit.initialUnitType - the initial unit type.
DOMExceptionpublic org.w3c.dom.css.CSSPrimitiveValue getInitialColor()
StyleDatabase
getInitialColor in interface StyleDatabasepublic void setInitialColor(String initialColor)
StyleDatabase
setInitialColor in interface StyleDatabaseinitialColor - the String representing default color value.public float getScrollbarWidth()
StyleDatabase
getScrollbarWidth in interface StyleDatabasepublic String getDefaultGenericFontFamily()
StyleDatabaseFor example, if the default generic font name is 'serif', this method should return the same as getDefaultGenericFontFamily("serif").
getDefaultGenericFontFamily in interface StyleDatabase
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||