Sweet Home 3D 4.1

com.eteks.sweethome3d.model
Class HomePrint

java.lang.Object
  extended by com.eteks.sweethome3d.model.HomePrint
All Implemented Interfaces:
Serializable

public class HomePrint
extends Object
implements Serializable

The print attributes for a home.

Author:
Emmanuel Puybaret
See Also:
Serialized Form

Nested Class Summary
static class HomePrint.PaperOrientation
          Paper orientation.
 
Constructor Summary
HomePrint(HomePrint.PaperOrientation paperOrientation, float paperWidth, float paperHeight, float paperTopMargin, float paperLeftMargin, float paperBottomMargin, float paperRightMargin, boolean furniturePrinted, boolean planPrinted, boolean view3DPrinted, Float planScale, String headerFormat, String footerFormat)
          Create a print attributes for home from the given parameters.
 
Method Summary
 String getFooterFormat()
          Returns the string format used to print page footers.
 String getHeaderFormat()
          Returns the string format used to print page headers.
 float getPaperBottomMargin()
          Returns the margin at paper bottom in 1/72nds of an inch.
 float getPaperHeight()
          Returns the paper height in 1/72nds of an inch.
 float getPaperLeftMargin()
          Returns the margin at paper left in 1/72nds of an inch.
 HomePrint.PaperOrientation getPaperOrientation()
          Returns the paper orientation.
 float getPaperRightMargin()
          Returns the margin at paper right in 1/72nds of an inch.
 float getPaperTopMargin()
          Returns the margin at paper top in 1/72nds of an inch.
 float getPaperWidth()
          Returns the paper width in 1/72nds of an inch.
 Float getPlanScale()
          Returns the scale used to print home plan or null if no special scale is desired.
 boolean isFurniturePrinted()
          Returns whether home furniture should be printed or not.
 boolean isPlanPrinted()
          Returns whether home plan should be printed or not.
 boolean isView3DPrinted()
          Returns whether home 3D view should be printed or not.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HomePrint

public HomePrint(HomePrint.PaperOrientation paperOrientation,
                 float paperWidth,
                 float paperHeight,
                 float paperTopMargin,
                 float paperLeftMargin,
                 float paperBottomMargin,
                 float paperRightMargin,
                 boolean furniturePrinted,
                 boolean planPrinted,
                 boolean view3DPrinted,
                 Float planScale,
                 String headerFormat,
                 String footerFormat)
Create a print attributes for home from the given parameters.

Method Detail

getPaperOrientation

public HomePrint.PaperOrientation getPaperOrientation()
Returns the paper orientation.


getPaperBottomMargin

public float getPaperBottomMargin()
Returns the margin at paper bottom in 1/72nds of an inch.


getPaperHeight

public float getPaperHeight()
Returns the paper height in 1/72nds of an inch.


getPaperLeftMargin

public float getPaperLeftMargin()
Returns the margin at paper left in 1/72nds of an inch.


getPaperRightMargin

public float getPaperRightMargin()
Returns the margin at paper right in 1/72nds of an inch.


getPaperTopMargin

public float getPaperTopMargin()
Returns the margin at paper top in 1/72nds of an inch.


getPaperWidth

public float getPaperWidth()
Returns the paper width in 1/72nds of an inch.


isFurniturePrinted

public boolean isFurniturePrinted()
Returns whether home furniture should be printed or not.


isPlanPrinted

public boolean isPlanPrinted()
Returns whether home plan should be printed or not.


isView3DPrinted

public boolean isView3DPrinted()
Returns whether home 3D view should be printed or not.


getPlanScale

public Float getPlanScale()
Returns the scale used to print home plan or null if no special scale is desired.


getHeaderFormat

public String getHeaderFormat()
Returns the string format used to print page headers.


getFooterFormat

public String getFooterFormat()
Returns the string format used to print page footers.


Sweet Home 3D 4.1

© Copyrights 2006-2013 eTeks - All rights reserved
Distributed under GNU General Public License