public class HomePrint
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
HomePrint.PaperOrientation
Paper orientation.
|
Constructor and Description |
---|
HomePrint(HomePrint.PaperOrientation paperOrientation,
float paperWidth,
float paperHeight,
float paperTopMargin,
float paperLeftMargin,
float paperBottomMargin,
float paperRightMargin,
boolean furniturePrinted,
boolean planPrinted,
boolean view3DPrinted,
java.lang.Float planScale,
java.lang.String headerFormat,
java.lang.String footerFormat)
Create a print attributes for home from the given parameters.
|
HomePrint(HomePrint.PaperOrientation paperOrientation,
float paperWidth,
float paperHeight,
float paperTopMargin,
float paperLeftMargin,
float paperBottomMargin,
float paperRightMargin,
boolean furniturePrinted,
boolean planPrinted,
java.util.List<Level> printedLevels,
boolean view3DPrinted,
java.lang.Float planScale,
java.lang.String headerFormat,
java.lang.String footerFormat)
Create a print attributes for home from the given parameters.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFooterFormat()
Returns the string format used to print page footers.
|
java.lang.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.
|
java.lang.Float |
getPlanScale()
Returns the scale used to print home plan or
null if no special scale is desired. |
java.util.List<Level> |
getPrintedLevels()
Returns the printed levels or
null if all levels should be printed. |
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.
|
public HomePrint(HomePrint.PaperOrientation paperOrientation, float paperWidth, float paperHeight, float paperTopMargin, float paperLeftMargin, float paperBottomMargin, float paperRightMargin, boolean furniturePrinted, boolean planPrinted, boolean view3DPrinted, java.lang.Float planScale, java.lang.String headerFormat, java.lang.String footerFormat)
public HomePrint(HomePrint.PaperOrientation paperOrientation, float paperWidth, float paperHeight, float paperTopMargin, float paperLeftMargin, float paperBottomMargin, float paperRightMargin, boolean furniturePrinted, boolean planPrinted, java.util.List<Level> printedLevels, boolean view3DPrinted, java.lang.Float planScale, java.lang.String headerFormat, java.lang.String footerFormat)
public HomePrint.PaperOrientation getPaperOrientation()
public float getPaperBottomMargin()
public float getPaperHeight()
public float getPaperLeftMargin()
public float getPaperRightMargin()
public float getPaperTopMargin()
public float getPaperWidth()
public boolean isFurniturePrinted()
public boolean isPlanPrinted()
public java.util.List<Level> getPrintedLevels()
null
if all levels should be printed.public boolean isView3DPrinted()
public java.lang.Float getPlanScale()
null
if no special scale is desired.public java.lang.String getHeaderFormat()
public java.lang.String getFooterFormat()
© Copyright 2024 Space Mushrooms
Distributed under GNU General Public License