Package ai.nexconn.chatui.widget.dialog
Class PromptPopupDialog
-
- All Implemented Interfaces:
-
android.content.DialogInterface,android.view.KeyEvent.Callback,android.view.View.OnCreateContextMenuListener,android.view.Window.Callback
public class PromptPopupDialog extends AlertDialog
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfacePromptPopupDialog.OnPromptButtonClickedListener
-
Field Summary
Fields Modifier and Type Field Description public final static intTHEME_DEVICE_DEFAULT_DARKpublic final static intTHEME_DEVICE_DEFAULT_LIGHTpublic final static intTHEME_HOLO_DARKpublic final static intTHEME_HOLO_LIGHTpublic final static intTHEME_TRADITIONALpublic final static intBUTTON1public final static intBUTTON2public final static intBUTTON3public final static intBUTTON_NEGATIVEpublic final static intBUTTON_NEUTRALpublic final static intBUTTON_POSITIVE
-
Constructor Summary
Constructors Constructor Description PromptPopupDialog(Context context, String title, String message, String positiveButton)PromptPopupDialog(Context context, String title, String message)PromptPopupDialog(Context context, String message)
-
Method Summary
Modifier and Type Method Description static PromptPopupDialognewInstance(Context context, String title, String message)static PromptPopupDialognewInstance(Context context, String message)static PromptPopupDialognewInstance(Context context, String title, String message, String positiveButton)voidonStart()PromptPopupDialogsetPromptButtonClickedListener(PromptPopupDialog.OnPromptButtonClickedListener buttonClickedListener)PromptPopupDialogsetLayoutRes(int resId)-
Methods inherited from class android.app.AlertDialog
getButton, getListView, onCreate, onKeyDown, onKeyUp, setButton, setButton2, setButton3, setCustomTitle, setIcon, setIconAttribute, setInverseBackgroundForced, setMessage, setTitle, setView -
Methods inherited from class android.app.Dialog
addContentView, cancel, closeOptionsMenu, create, dismiss, dispatchGenericMotionEvent, dispatchKeyEvent, dispatchKeyShortcutEvent, dispatchPopulateAccessibilityEvent, dispatchTouchEvent, dispatchTrackballEvent, findViewById, getActionBar, getContext, getCurrentFocus, getLayoutInflater, getOnBackInvokedDispatcher, getOwnerActivity, getSearchEvent, getVolumeControlStream, getWindow, hide, invalidateOptionsMenu, isShowing, onActionModeFinished, onActionModeStarted, onAttachedToWindow, onBackPressed, onContentChanged, onContextItemSelected, onContextMenuClosed, onCreateContextMenu, onCreateOptionsMenu, onCreatePanelMenu, onCreatePanelView, onDetachedFromWindow, onGenericMotionEvent, onKeyLongPress, onKeyMultiple, onKeyShortcut, onMenuItemSelected, onMenuOpened, onOptionsItemSelected, onOptionsMenuClosed, onPanelClosed, onPrepareOptionsMenu, onPreparePanel, onRestoreInstanceState, onSaveInstanceState, onSearchRequested, onStop, onTouchEvent, onTrackballEvent, onWindowAttributesChanged, onWindowFocusChanged, onWindowStartingActionMode, openContextMenu, openOptionsMenu, registerForContextMenu, requestWindowFeature, requireViewById, setCancelMessage, setCancelable, setCanceledOnTouchOutside, setContentView, setDismissMessage, setFeatureDrawable, setFeatureDrawableAlpha, setFeatureDrawableResource, setFeatureDrawableUri, setOnCancelListener, setOnDismissListener, setOnKeyListener, setOnShowListener, setOwnerActivity, setVolumeControlStream, show, takeKeyEvents, unregisterForContextMenu -
Methods inherited from class android.view.Window.Callback
onPointerCaptureChanged, onProvideKeyboardShortcuts -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
newInstance
static PromptPopupDialog newInstance(Context context, String title, String message)
-
newInstance
static PromptPopupDialog newInstance(Context context, String message)
-
newInstance
static PromptPopupDialog newInstance(Context context, String title, String message, String positiveButton)
-
onStart
void onStart()
-
setPromptButtonClickedListener
PromptPopupDialog setPromptButtonClickedListener(PromptPopupDialog.OnPromptButtonClickedListener buttonClickedListener)
-
setLayoutRes
PromptPopupDialog setLayoutRes(int resId)
-
-
-
-