Package com.fs.starfarer.api.campaign
Class BaseCustomDialogDelegate
java.lang.Object
com.fs.starfarer.api.campaign.BaseCustomDialogDelegate
- All Implemented Interfaces:
CustomDialogDelegate
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.fs.starfarer.api.campaign.CustomDialogDelegate
CustomDialogDelegate.CustomDialogCallback
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
createCustomDialog
(CustomPanelAPI panel, CustomDialogDelegate.CustomDialogCallback callback) void
void
boolean
Note: customDialogCancel() will still be called if the Escape key is pressed
-
Constructor Details
-
BaseCustomDialogDelegate
public BaseCustomDialogDelegate()
-
-
Method Details
-
createCustomDialog
public void createCustomDialog(CustomPanelAPI panel, CustomDialogDelegate.CustomDialogCallback callback) - Specified by:
createCustomDialog
in interfaceCustomDialogDelegate
-
hasCancelButton
public boolean hasCancelButton()Description copied from interface:CustomDialogDelegate
Note: customDialogCancel() will still be called if the Escape key is pressed- Specified by:
hasCancelButton
in interfaceCustomDialogDelegate
- Returns:
-
getConfirmText
- Specified by:
getConfirmText
in interfaceCustomDialogDelegate
-
getCancelText
- Specified by:
getCancelText
in interfaceCustomDialogDelegate
-
customDialogConfirm
public void customDialogConfirm()- Specified by:
customDialogConfirm
in interfaceCustomDialogDelegate
-
customDialogCancel
public void customDialogCancel()- Specified by:
customDialogCancel
in interfaceCustomDialogDelegate
-
getCustomPanelPlugin
- Specified by:
getCustomPanelPlugin
in interfaceCustomDialogDelegate
-