mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2026-11-02 19:47:36 +00:00
Setterをメソッドチェーンに対応
This commit is contained in:
1 file changed
+8
-4
+8
-4
@@ -31,20 +31,24 @@ public class LacertaFilePickerDialogBase extends DialogFragment {
|
|||||||
protected String negativeButtonText;
|
protected String negativeButtonText;
|
||||||
|
|
||||||
// Setter
|
// Setter
|
||||||
public void setTitle(String title) {
|
public LacertaFilePickerDialogBase setTitle(String title) {
|
||||||
this.title = title;
|
this.title = title;
|
||||||
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setMessage(String message) {
|
public LacertaFilePickerDialogBase setMessage(String message) {
|
||||||
this.message = message;
|
this.message = message;
|
||||||
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setPositiveButtonText(String positiveButtonText) {
|
public LacertaFilePickerDialogBase setPositiveButtonText(String positiveButtonText) {
|
||||||
this.positiveButtonText = positiveButtonText;
|
this.positiveButtonText = positiveButtonText;
|
||||||
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setNegativeButtonText(String negativeButtonText) {
|
public LacertaFilePickerDialogBase setNegativeButtonText(String negativeButtonText) {
|
||||||
this.negativeButtonText = negativeButtonText;
|
this.negativeButtonText = negativeButtonText;
|
||||||
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Methods
|
// Methods
|
||||||
|
|||||||
Reference in new issue
Block a user