Skip navigation links

Oracle Outside In Java API Reference
8.5.4

E91699-01


com.oracle.outsidein.options
Class PageInfo

java.lang.Object
  extended by com.oracle.outsidein.options.PageInfo


public class PageInfo
extends java.lang.Object

Describes a page's size and the units of measurement used.

See Also:
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

PageInfo

public PageInfo(PageInfo.PageSizeUnitsValue units,
                float width,
                float height)
Creates a PageInfo object with the specified width and height using the specified units of measurement.
Parameters:
units - units of measurement used to specify width and height
width - width of the page
height - height of the page

Method Detail

getUnits

public PageInfo.PageSizeUnitsValue getUnits()
Obtains the units of measurement used for the width and height values.
Returns:
the units of measurement

getHeight

public float getHeight()
Obtains the height of the page.
Returns:
the height value

getWidth

public float getWidth()
Obtains the width of the page.
Returns:
the width value

Skip navigation links

Oracle Outside In Java API Reference
8.5.4

E91699-01


Copyright © 2010, 2018, Oracle and/or its affiliates. All rights reserved.