ar.com.fdvs.dj.domain.constants
Class Page

java.lang.Object
  extended by ar.com.fdvs.dj.domain.constants.BaseDomainConstant
      extended by ar.com.fdvs.dj.domain.constants.Page
All Implemented Interfaces:
java.io.Serializable

public class Page
extends BaseDomainConstant

See Also:
Serialized Form

Constructor Summary
Page()
           
Page(int height, int width)
          Default constructor for portrait orientation
Page(int height, int width, boolean portrait)
           
 
Method Summary
 int getHeight()
           
 int getWidth()
           
 boolean isOrientationPortrait()
           
static Page Page_A4_Landscape()
           
static Page Page_A4_Portrait()
           
static Page Page_Legal_Landscape()
           
static Page Page_Legal_Portrait()
           
static Page Page_Letter_Landscape()
           
static Page Page_Letter_Portrait()
           
 void setHeight(int height)
           
 void setOrientationPortrait(boolean orientationPortrait)
           
 void setWidth(int width)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Page

public Page()

Page

public Page(int height,
            int width)
Default constructor for portrait orientation

Parameters:
height -
width -

Page

public Page(int height,
            int width,
            boolean portrait)
Method Detail

isOrientationPortrait

public boolean isOrientationPortrait()

setOrientationPortrait

public void setOrientationPortrait(boolean orientationPortrait)

getHeight

public int getHeight()

setHeight

public void setHeight(int height)

getWidth

public int getWidth()

setWidth

public void setWidth(int width)

Page_A4_Portrait

public static Page Page_A4_Portrait()

Page_A4_Landscape

public static Page Page_A4_Landscape()

Page_Legal_Portrait

public static Page Page_Legal_Portrait()

Page_Legal_Landscape

public static Page Page_Legal_Landscape()

Page_Letter_Portrait

public static Page Page_Letter_Portrait()

Page_Letter_Landscape

public static Page Page_Letter_Landscape()


Copyright © 2006-2011 FDV Solutions. All Rights Reserved.