public class JACPOptionPaneBuilder
extends java.lang.Object
| Constructor and Description |
|---|
JACPOptionPaneBuilder() |
| Modifier and Type | Method and Description |
|---|---|
JACPOptionPane |
build()
Builds the.
|
JACPOptionPaneBuilder |
setAutoHide(boolean autoHide) |
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 message.
|
JACPOptionPaneBuilder |
setOnNoAction(javafx.event.EventHandler<javafx.event.ActionEvent> onNoAction)
Sets the on no message.
|
JACPOptionPaneBuilder |
setOnOkAction(javafx.event.EventHandler<javafx.event.ActionEvent> onOkAction)
Sets the on ok message.
|
JACPOptionPaneBuilder |
setOnYesAction(javafx.event.EventHandler<javafx.event.ActionEvent> onYesAction)
Sets the on yes message.
|
JACPOptionPaneBuilder |
setTitle(java.lang.String title)
Sets the title.
|
public JACPOptionPaneBuilder setOnOkAction(javafx.event.EventHandler<javafx.event.ActionEvent> onOkAction)
onOkAction - the on ok messagepublic JACPOptionPaneBuilder setOnCancelAction(javafx.event.EventHandler<javafx.event.ActionEvent> onCancelAction)
onCancelAction - the on cancel messagepublic JACPOptionPaneBuilder setOnYesAction(javafx.event.EventHandler<javafx.event.ActionEvent> onYesAction)
onYesAction - the on yes messagepublic JACPOptionPaneBuilder setOnNoAction(javafx.event.EventHandler<javafx.event.ActionEvent> onNoAction)
onNoAction - the on no messagepublic 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 JACPOptionPaneBuilder setAutoHide(boolean autoHide)
public JACPOptionPane build()