| Modifier and Type | Class and Description |
|---|---|
| public static enum | PaperView.
Possible print margin types: default, minimum, custom. |
| Modifier and Type | Field and Description |
|---|---|
| private final ObservableList | |
| private final DoubleProperty | |
| private static final String | |
| private final DoubleProperty | |
| private final ObjectProperty | |
| private final ObjectProperty | |
| private final DoubleProperty | |
| private final BooleanProperty | |
| private final DoubleProperty |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final DoubleProperty | |
| protected Skin | createDefaultSkin()
Overrides javafx. Create a new instance of the default skin for this control. |
| public final ObservableList | |
| public final double | |
| public final double | |
| public final PaperView. | Returns: the margin type (custom, default, minimum)Returns the value of |
| public final Paper | |
| public final double | |
| public final double | |
| public boolean | Returns: The flag to show/hide Margin combo.Returns the value of the |
| public final DoubleProperty | |
| public final ObjectProperty | Returns: the requested margin typesA property used to store the currently requested margin type (custom, minimum, or default). |
| public final ObjectProperty | |
| public final DoubleProperty | |
| public final void | |
| public final void | |
| public final void | setMarginType(PaperView.
the margin type (custom, default, minimum) typeSets the value of |
| public final void | |
| public final void | |
| public void | |
| public final void | |
| public BooleanProperty | Returns: showMarginStores the flag that indicates if margin combo will be displayed. |
| public final DoubleProperty |
| availablePapers | back to summary |
|---|---|
| private final ObservableList<Paper> availablePapers | |
| bottomMargin | back to summary |
|---|---|
| private final DoubleProperty bottomMargin | |
| DEFAULT_STYLE | back to summary |
|---|---|
| private static final String DEFAULT_STYLE | |
| leftMargin | back to summary |
|---|---|
| private final DoubleProperty leftMargin | |
| marginType | back to summary |
|---|---|
| private final ObjectProperty<PaperView. | |
| paper | back to summary |
|---|---|
| private final ObjectProperty<Paper> paper | |
| rightMargin | back to summary |
|---|---|
| private final DoubleProperty rightMargin | |
| showMargin | back to summary |
|---|---|
| private final BooleanProperty showMargin | |
| topMargin | back to summary |
|---|---|
| private final DoubleProperty topMargin | |
| PaperView | back to summary |
|---|---|
| public PaperView() Constructs a new paper setup control. | |
| bottomMarginProperty | back to summary |
|---|---|
| public final DoubleProperty bottomMarginProperty() Stores the bottom print margin value.
| |
| createDefaultSkin | back to summary |
|---|---|
| protected Skin Overrides javafx. Doc from javafx. Create a new instance of the default skin for this control. This is called to create a skin for the control if
no skin is provided via CSS | |
| getAvailablePapers | back to summary |
|---|---|
| public final ObservableList Returns the available paper sizes.
| |
| getBottomMargin | back to summary |
|---|---|
| public final double getBottomMargin() Returns the value of the
| |
| getLeftMargin | back to summary |
|---|---|
| public final double getLeftMargin() Returns the value of the
| |
| getMarginType | back to summary |
|---|---|
| public final PaperView. Returns the value of
| |
| getPaper | back to summary |
|---|---|
| public final Paper getPaper() Returns the value of
| |
| getRightMargin | back to summary |
|---|---|
| public final double getRightMargin() Returns the value of the
| |
| getTopMargin | back to summary |
|---|---|
| public final double getTopMargin() Returns the value of the
| |
| isShowMargin | back to summary |
|---|---|
| public boolean isShowMargin() Returns the value of the
| |
| leftMarginProperty | back to summary |
|---|---|
| public final DoubleProperty leftMarginProperty() Stores the left print margin value.
| |
| marginTypeProperty | back to summary |
|---|---|
| public final ObjectProperty A property used to store the currently requested margin type (custom, minimum, or default).
| |
| paperProperty | back to summary |
|---|---|
| public final ObjectProperty A property used to store the currently selected paper size.
| |
| rightMarginProperty | back to summary |
|---|---|
| public final DoubleProperty rightMarginProperty() Stores the right print margin value.
| |
| setBottomMargin | back to summary |
|---|---|
| public final void setBottomMargin(double margin) Sets the value of the
| |
| setLeftMargin | back to summary |
|---|---|
| public final void setLeftMargin(double margin) Sets the value of the
| |
| setMarginType | back to summary |
|---|---|
| public final void setMarginType(PaperView. Sets the value of
| |
| setPaper | back to summary |
|---|---|
| public final void setPaper(Paper paper) Sets the value of
| |
| setRightMargin | back to summary |
|---|---|
| public final void setRightMargin(double margin) Sets the value of the
| |
| setShowMargin | back to summary |
|---|---|
| public void setShowMargin(boolean show) Sets the value of the
| |
| setTopMargin | back to summary |
|---|---|
| public final void setTopMargin(double margin) Sets the value of the
| |
| showMarginProperty | back to summary |
|---|---|
| public BooleanProperty showMarginProperty() Stores the flag that indicates if margin combo will be displayed.
| |
| topMarginProperty | back to summary |
|---|---|
| public final DoubleProperty topMarginProperty() Stores the top print margin value.
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final PaperView. | CUSTOM
Used to request that custom margins shall be used for printing. |
| public static final PaperView. | DEFAULT
Used to request that the default margins of the printer shall be used for printing. |
| public static final PaperView. | MINIMUM
Used to request that the minimum margins supported by the printer shall be used for printing. |
| pack-priv Printer. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public Printer. | |
| public static PaperView. | |
| public static PaperView. |
| CUSTOM | back to summary |
|---|---|
| public static final PaperView. Used to request that custom margins shall be used for printing. | |
| DEFAULT | back to summary |
|---|---|
| public static final PaperView. Used to request that the default margins of the printer shall be used for printing. | |
| MINIMUM | back to summary |
|---|---|
| public static final PaperView. Used to request that the minimum margins supported by the printer shall be used for printing. | |
| type | back to summary |
|---|---|
| pack-priv Printer. | |
| MarginType | back to summary |
|---|---|
| private MarginType(Printer. | |
| getPrinterMarginType | back to summary |
|---|---|
| public Printer. | |
| valueOf | back to summary |
|---|---|
| public static PaperView. | |
| values | back to summary |
|---|---|
| public static PaperView. | |