|
Oracle Outside In Java API Reference 8.5.4 E91699-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.oracle.outsidein.options.PageInfo
public class PageInfo
Describes a page's size and the units of measurement used.
OptionsCache.getDefaultPageSize()
, OptionsCache.setDefaultPageSize(PageInfo)
Nested Class Summary | |
---|---|
static class |
PageInfo.PageSizeUnitsValue Units that can be used to specify the width and height of a page |
Constructor Summary | |
---|---|
PageInfo(PageInfo.PageSizeUnitsValue units, float width, float height) Creates a PageInfo object with the specified width and height using the specified units of measurement. |
Method Summary | |
---|---|
float |
getHeight() Obtains the height of the page. |
PageInfo.PageSizeUnitsValue |
getUnits() Obtains the units of measurement used for the width and height values. |
float |
getWidth() Obtains the width of the page. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PageInfo(PageInfo.PageSizeUnitsValue units, float width, float height)
PageInfo
object with the specified width and height using the specified units of measurement.
units
- units of measurement used to specify width and heightwidth
- width of the pageheight
- height of the pageMethod Detail |
---|
public PageInfo.PageSizeUnitsValue getUnits()
public float getHeight()
public float getWidth()
|
Oracle Outside In Java API Reference 8.5.4 E91699-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |