Class PaginationV2Builder
- java.lang.Object
-
- ch.sahits.game.openpatrician.javafx.control.PaginationV2Builder
-
- All Implemented Interfaces:
javafx.util.Builder<PaginationV2>
public class PaginationV2Builder extends java.lang.Object implements javafx.util.Builder<PaginationV2>
Builder for the PaginationV2 control.- Author:
- Andi Hotz, (c) Sahits GmbH, 2013 Created on Sep 14, 2013
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PaginationV2BuilderbackButtonLabel(java.lang.String backButtonLabel)PaginationV2BuilderbackButtonNode(javafx.scene.Node backButtonNode)PaginationV2build()PaginationV2BuildercenteredFont(javafx.scene.text.Font font)PaginationV2BuildercontentMaxHeight(double height)Define the max width for the content.PaginationV2BuildercontentMaxHeight(javafx.beans.property.DoubleProperty height)Define the max width for the content.PaginationV2BuildercontentMaxWidth(double width)Define the max width for the content.PaginationV2BuildercontentMaxWidth(javafx.beans.property.DoubleProperty width)Define the max width for the content.static PaginationV2Buildercreate()PaginationV2BuilderfirstLastPageAction(javafx.event.EventHandler<javafx.scene.input.MouseEvent> firstLastPageAction)PaginationV2BuilderheaderFont(javafx.scene.text.Font font)PaginationV2BuildernavigationLabelFont(javafx.scene.text.Font font)PaginationV2BuildernextButtonLabel(java.lang.String nextButtonLabel)PaginationV2BuildernextButtonNode(javafx.scene.Node nextButtonNode)PaginationV2Builderpadding(javafx.geometry.Insets insets)PaginationV2BuilderparagraphFont(javafx.scene.text.Font font)PaginationV2Buildertext(ch.sahits.game.openpatrician.utilities.model.Text text)
-
-
-
Method Detail
-
create
public static PaginationV2Builder create()
-
contentMaxWidth
public PaginationV2Builder contentMaxWidth(double width)
Define the max width for the content.- Parameters:
width- max width of the pagination container- Returns:
- this
-
contentMaxWidth
public PaginationV2Builder contentMaxWidth(javafx.beans.property.DoubleProperty width)
Define the max width for the content. The value of the property is taken as width- Parameters:
width- of the pagination container- Returns:
- this
-
contentMaxHeight
public PaginationV2Builder contentMaxHeight(double height)
Define the max width for the content.- Parameters:
height- max height of the pagination container- Returns:
- this
-
contentMaxHeight
public PaginationV2Builder contentMaxHeight(javafx.beans.property.DoubleProperty height)
Define the max width for the content. The value of the property is taken as width- Parameters:
height- conent height of the pagination container- Returns:
- this
-
padding
public PaginationV2Builder padding(javafx.geometry.Insets insets)
-
backButtonLabel
public PaginationV2Builder backButtonLabel(java.lang.String backButtonLabel)
-
nextButtonLabel
public PaginationV2Builder nextButtonLabel(java.lang.String nextButtonLabel)
-
text
public PaginationV2Builder text(ch.sahits.game.openpatrician.utilities.model.Text text)
-
navigationLabelFont
public PaginationV2Builder navigationLabelFont(javafx.scene.text.Font font)
-
headerFont
public PaginationV2Builder headerFont(javafx.scene.text.Font font)
-
paragraphFont
public PaginationV2Builder paragraphFont(javafx.scene.text.Font font)
-
centeredFont
public PaginationV2Builder centeredFont(javafx.scene.text.Font font)
-
backButtonNode
public PaginationV2Builder backButtonNode(javafx.scene.Node backButtonNode)
-
nextButtonNode
public PaginationV2Builder nextButtonNode(javafx.scene.Node nextButtonNode)
-
firstLastPageAction
public PaginationV2Builder firstLastPageAction(javafx.event.EventHandler<javafx.scene.input.MouseEvent> firstLastPageAction)
-
build
public PaginationV2 build()
- Specified by:
buildin interfacejavafx.util.Builder<PaginationV2>
-
-