public class JACPOptionPaneBuilder
extends java.lang.Object
Constructor and Description |
---|
JACPOptionPaneBuilder() |
Modifier and Type | Method and Description |
---|---|
JACPOptionPane |
build()
Builds the.
|
JACPOptionPaneBuilder |
setContent(java.lang.String content)
Sets the content.
|
JACPOptionPaneBuilder |
setDefaultButton(JACPDialogButton defaultButton)
Sets the default button.
|
JACPOptionPaneBuilder |
setOnCancelAction(javafx.event.EventHandler<javafx.event.ActionEvent> onCancelAction)
Sets the on cancel action.
|
JACPOptionPaneBuilder |
setOnNoAction(javafx.event.EventHandler<javafx.event.ActionEvent> onNoAction)
Sets the on no action.
|
JACPOptionPaneBuilder |
setOnOkAction(javafx.event.EventHandler<javafx.event.ActionEvent> onOkAction)
Sets the on ok action.
|
JACPOptionPaneBuilder |
setOnYesAction(javafx.event.EventHandler<javafx.event.ActionEvent> onYesAction)
Sets the on yes action.
|
JACPOptionPaneBuilder |
setTitle(java.lang.String title)
Sets the title.
|
public JACPOptionPaneBuilder setOnOkAction(javafx.event.EventHandler<javafx.event.ActionEvent> onOkAction)
onOkAction
- the on ok actionpublic JACPOptionPaneBuilder setOnCancelAction(javafx.event.EventHandler<javafx.event.ActionEvent> onCancelAction)
onCancelAction
- the on cancel actionpublic JACPOptionPaneBuilder setOnYesAction(javafx.event.EventHandler<javafx.event.ActionEvent> onYesAction)
onYesAction
- the on yes actionpublic JACPOptionPaneBuilder setOnNoAction(javafx.event.EventHandler<javafx.event.ActionEvent> onNoAction)
onNoAction
- the on no actionpublic JACPOptionPaneBuilder setTitle(java.lang.String title)
title
- the titlepublic JACPOptionPaneBuilder setContent(java.lang.String content)
content
- the contentpublic JACPOptionPaneBuilder setDefaultButton(JACPDialogButton defaultButton)
defaultButton
- the default buttonpublic JACPOptionPane build()