Package eltos.simpledialogfragment
Class FullscreenAlertDialog
java.lang.Object
android.app.Dialog
androidx.activity.ComponentDialog
androidx.appcompat.app.AppCompatDialog
androidx.appcompat.app.AlertDialog
eltos.simpledialogfragment.FullscreenAlertDialog
- All Implemented Interfaces:
android.content.DialogInterface
,android.view.KeyEvent.Callback
,android.view.View.OnCreateContextMenuListener
,android.view.Window.Callback
,androidx.activity.OnBackPressedDispatcherOwner
,androidx.appcompat.app.AppCompatCallback
,androidx.lifecycle.LifecycleOwner
,androidx.savedstate.SavedStateRegistryOwner
public class FullscreenAlertDialog
extends androidx.appcompat.app.AlertDialog
Fullscreen dialog class mimicing the AlertDialog interface for compatibility reasons
-
Nested Class Summary
Nested classes/interfaces inherited from class androidx.appcompat.app.AlertDialog
androidx.appcompat.app.AlertDialog.Builder
Nested classes/interfaces inherited from interface android.content.DialogInterface
android.content.DialogInterface.OnCancelListener, android.content.DialogInterface.OnClickListener, android.content.DialogInterface.OnDismissListener, android.content.DialogInterface.OnKeyListener, android.content.DialogInterface.OnMultiChoiceClickListener, android.content.DialogInterface.OnShowListener
-
Field Summary
Fields inherited from interface android.content.DialogInterface
BUTTON_NEGATIVE, BUTTON_NEUTRAL, BUTTON_POSITIVE, BUTTON1, BUTTON2, BUTTON3
-
Constructor Summary
ModifierConstructorDescriptionprotected
FullscreenAlertDialog
(android.content.Context context, int themeResId) -
Method Summary
Modifier and TypeMethodDescriptionandroid.widget.Button
getButton
(int whichButton) Deprecated.protected void
onCreate
(android.os.Bundle savedInstanceState) void
setButton
(int whichButton, CharSequence text, android.content.DialogInterface.OnClickListener listener) void
setButton
(int whichButton, CharSequence text, android.os.Message msg) Deprecated.void
setButtonEnabled
(int whichButton, boolean enabled) void
setCancelable
(boolean cancelable) void
setIcon
(int resId) void
setMessage
(CharSequence message) void
setTitle
(CharSequence title) void
setView
(android.view.View view) Methods inherited from class androidx.appcompat.app.AlertDialog
getListView, onKeyDown, onKeyUp, setButton, setCustomTitle, setIcon, setIconAttribute, setView
Methods inherited from class androidx.appcompat.app.AppCompatDialog
addContentView, dismiss, dispatchKeyEvent, findViewById, getDelegate, getSupportActionBar, invalidateOptionsMenu, onStop, onSupportActionModeFinished, onSupportActionModeStarted, onWindowStartingSupportActionMode, setContentView, setContentView, setContentView, setTitle, supportRequestWindowFeature
Methods inherited from class androidx.activity.ComponentDialog
getLifecycle, getOnBackPressedDispatcher, getSavedStateRegistry, initializeViewTreeOwners, onBackPressed, onSaveInstanceState, onStart
Methods inherited from class android.app.Dialog
cancel, closeOptionsMenu, create, dispatchGenericMotionEvent, dispatchKeyShortcutEvent, dispatchPopulateAccessibilityEvent, dispatchTouchEvent, dispatchTrackballEvent, getActionBar, getContext, getCurrentFocus, getLayoutInflater, getOnBackInvokedDispatcher, getOwnerActivity, getSearchEvent, getVolumeControlStream, getWindow, hide, isShowing, onActionModeFinished, onActionModeStarted, onAttachedToWindow, onContentChanged, onContextItemSelected, onContextMenuClosed, onCreateContextMenu, onCreateOptionsMenu, onCreatePanelMenu, onCreatePanelView, onDetachedFromWindow, onGenericMotionEvent, onKeyLongPress, onKeyMultiple, onKeyShortcut, onMenuItemSelected, onMenuOpened, onOptionsItemSelected, onOptionsMenuClosed, onPanelClosed, onPrepareOptionsMenu, onPreparePanel, onRestoreInstanceState, onSearchRequested, onSearchRequested, onTouchEvent, onTrackballEvent, onWindowAttributesChanged, onWindowFocusChanged, onWindowStartingActionMode, onWindowStartingActionMode, openContextMenu, openOptionsMenu, registerForContextMenu, requestWindowFeature, requireViewById, setCanceledOnTouchOutside, setCancelMessage, setDismissMessage, setFeatureDrawable, setFeatureDrawableAlpha, setFeatureDrawableResource, setFeatureDrawableUri, setOnCancelListener, setOnDismissListener, setOnKeyListener, setOnShowListener, setOwnerActivity, setVolumeControlStream, show, takeKeyEvents, unregisterForContextMenu
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface android.content.DialogInterface
cancel, dismiss
Methods inherited from interface android.view.Window.Callback
onPointerCaptureChanged, onProvideKeyboardShortcuts
-
Constructor Details
-
FullscreenAlertDialog
protected FullscreenAlertDialog(@NonNull android.content.Context context, int themeResId)
-
-
Method Details
-
onCreate
protected void onCreate(android.os.Bundle savedInstanceState) - Overrides:
onCreate
in classandroidx.appcompat.app.AlertDialog
-
setCancelable
public void setCancelable(boolean cancelable) - Overrides:
setCancelable
in classandroid.app.Dialog
-
setTitle
- Overrides:
setTitle
in classandroidx.appcompat.app.AlertDialog
-
setMessage
- Overrides:
setMessage
in classandroidx.appcompat.app.AlertDialog
-
setView
public void setView(android.view.View view) - Overrides:
setView
in classandroidx.appcompat.app.AlertDialog
-
setButton
Deprecated.- Overrides:
setButton
in classandroidx.appcompat.app.AlertDialog
-
setButton
public void setButton(int whichButton, CharSequence text, android.content.DialogInterface.OnClickListener listener) - Overrides:
setButton
in classandroidx.appcompat.app.AlertDialog
-
setButtonEnabled
public void setButtonEnabled(int whichButton, boolean enabled) -
getButton
Deprecated.- Overrides:
getButton
in classandroidx.appcompat.app.AlertDialog
-
setIcon
public void setIcon(int resId) - Overrides:
setIcon
in classandroidx.appcompat.app.AlertDialog
-