info.informatica.doc.style.css.j2d
Class HeadlessStyleDatabase
java.lang.Object
info.informatica.doc.style.css.AbstractStyleDatabase
info.informatica.doc.style.css.j2d.Java2DStyleDatabase
info.informatica.doc.style.css.j2d.HeadlessStyleDatabase
- All Implemented Interfaces:
- StyleDatabase
public class HeadlessStyleDatabase
- extends Java2DStyleDatabase
CSS style database for headless devices.
Useful for testing.
|
Method Summary |
float |
getDocumentHeight()
Gets the height of the document (or screen viewport) in the natural
unit for the device. |
float |
getDocumentWidth()
Gets the width of the document (or screen viewport) in the natural
unit for the device. |
HeadlessStyleDatabase
public HeadlessStyleDatabase()
getDocumentHeight
public float getDocumentHeight()
- Description copied from interface:
StyleDatabase
- Gets the height of the document (or screen viewport) in the natural
unit for the device.
- Specified by:
getDocumentHeight in interface StyleDatabase- Overrides:
getDocumentHeight in class Java2DStyleDatabase
- Returns:
- the height of the document.
getDocumentWidth
public float getDocumentWidth()
- Description copied from interface:
StyleDatabase
- Gets the width of the document (or screen viewport) in the natural
unit for the device.
- Specified by:
getDocumentWidth in interface StyleDatabase- Overrides:
getDocumentWidth in class Java2DStyleDatabase
- Returns:
- the width of the document.