mirror of
https://github.com/Suwayomi/Suwayomi-Server.git
synced 2026-07-01 18:04:35 -05:00
47 lines
1.3 KiB
Java
47 lines
1.3 KiB
Java
package androidx.preference;
|
|
|
|
/*
|
|
* Copyright (C) Contributors to the Suwayomi project
|
|
*
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
|
|
|
|
import android.content.Context;
|
|
|
|
public class EditTextPreference extends Preference {
|
|
// reference: https://android.googlesource.com/platform/frameworks/support/+/996971f962fcd554339a7cb2859cef9ca89dbcb7/preference/preference/src/main/java/androidx/preference/EditTextPreference.java
|
|
|
|
private String text;
|
|
private CharSequence dialogTitle;
|
|
private CharSequence dialogMessage;
|
|
|
|
public EditTextPreference(Context context) {
|
|
super(context);
|
|
}
|
|
|
|
public CharSequence getDialogTitle() {
|
|
return dialogTitle;
|
|
}
|
|
|
|
public void setDialogTitle(CharSequence dialogTitle) {
|
|
this.dialogTitle = dialogTitle;
|
|
}
|
|
|
|
public CharSequence getDialogMessage() {
|
|
return dialogMessage;
|
|
}
|
|
|
|
public void setDialogMessage(CharSequence dialogMessage) {
|
|
this.dialogMessage = dialogMessage;
|
|
}
|
|
|
|
public String getText() {
|
|
return text;
|
|
}
|
|
|
|
public void setText(String text) {
|
|
this.text = text;
|
|
}
|
|
}
|