From e5ba889780bc0a2ff302730bb2dad119ff611786 Mon Sep 17 00:00:00 2001 From: r-ca Date: Sun, 28 Jan 2024 10:31:40 +0900 Subject: [PATCH] =?UTF-8?q?Setter=E3=82=92=E3=83=A1=E3=82=BD=E3=83=83?= =?UTF-8?q?=E3=83=89=E3=83=81=E3=82=A7=E3=83=BC=E3=83=B3=E3=81=AB=E5=AF=BE?= =?UTF-8?q?=E5=BF=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../picker/base/LacertaFilePickerDialogBase.java | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/component/common/src/main/java/one/nem/lacerta/component/common/picker/base/LacertaFilePickerDialogBase.java b/component/common/src/main/java/one/nem/lacerta/component/common/picker/base/LacertaFilePickerDialogBase.java index 0003f11e..d11ecf3f 100644 --- a/component/common/src/main/java/one/nem/lacerta/component/common/picker/base/LacertaFilePickerDialogBase.java +++ b/component/common/src/main/java/one/nem/lacerta/component/common/picker/base/LacertaFilePickerDialogBase.java @@ -31,20 +31,24 @@ public class LacertaFilePickerDialogBase extends DialogFragment { protected String negativeButtonText; // Setter - public void setTitle(String title) { + public LacertaFilePickerDialogBase setTitle(String title) { this.title = title; + return this; } - public void setMessage(String message) { + public LacertaFilePickerDialogBase setMessage(String message) { this.message = message; + return this; } - public void setPositiveButtonText(String positiveButtonText) { + public LacertaFilePickerDialogBase setPositiveButtonText(String positiveButtonText) { this.positiveButtonText = positiveButtonText; + return this; } - public void setNegativeButtonText(String negativeButtonText) { + public LacertaFilePickerDialogBase setNegativeButtonText(String negativeButtonText) { this.negativeButtonText = negativeButtonText; + return this; } // Methods