类 EaseDialog

  • 所有已实现的接口:
    android.content.DialogInterface, android.view.KeyEvent.Callback, android.view.View.OnCreateContextMenuListener, android.view.Window.Callback

    public class EaseDialog
    extends android.app.Dialog
    • 嵌套类概要

      嵌套类 
      修饰符和类型 说明
      static interface  EaseDialog.AlertDialogUser  
      • 从接口继承的嵌套类/接口 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
    • 字段概要

      • 从接口继承的字段 android.content.DialogInterface

        BUTTON_NEGATIVE, BUTTON_NEUTRAL, BUTTON_POSITIVE, BUTTON1, BUTTON2, BUTTON3
    • 构造器概要

      构造器 
      构造器 说明
      EaseDialog​(android.content.Context context, int msgId)  
      EaseDialog​(android.content.Context context, int titleId, int msgId)  
      EaseDialog​(android.content.Context context, int titleId, int msgId, android.os.Bundle bundle, EaseDialog.AlertDialogUser user, boolean showCancel)  
      EaseDialog​(android.content.Context context, java.lang.String msg)  
      EaseDialog​(android.content.Context context, java.lang.String title, java.lang.String msg)  
      EaseDialog​(android.content.Context context, java.lang.String title, java.lang.String msg, android.os.Bundle bundle, EaseDialog.AlertDialogUser user, boolean showCancel)  
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      void onCancel​(android.view.View view)  
      protected void onCreate​(android.os.Bundle savedInstanceState)  
      void onOk​(android.view.View view)  
      • 从类继承的方法 android.app.Dialog

        addContentView, cancel, closeOptionsMenu, create, dismiss, dispatchGenericMotionEvent, dispatchKeyEvent, dispatchKeyShortcutEvent, dispatchPopulateAccessibilityEvent, dispatchTouchEvent, dispatchTrackballEvent, findViewById, getActionBar, getContext, getCurrentFocus, getLayoutInflater, getOwnerActivity, getSearchEvent, getVolumeControlStream, getWindow, hide, invalidateOptionsMenu, isShowing, onActionModeFinished, onActionModeStarted, onAttachedToWindow, onBackPressed, onContentChanged, onContextItemSelected, onContextMenuClosed, onCreateContextMenu, onCreateOptionsMenu, onCreatePanelMenu, onCreatePanelView, onDetachedFromWindow, onGenericMotionEvent, onKeyDown, onKeyLongPress, onKeyMultiple, onKeyShortcut, onKeyUp, onMenuItemSelected, onMenuOpened, onOptionsItemSelected, onOptionsMenuClosed, onPanelClosed, onPrepareOptionsMenu, onPreparePanel, onRestoreInstanceState, onSaveInstanceState, onSearchRequested, onSearchRequested, onStart, onStop, onTouchEvent, onTrackballEvent, onWindowAttributesChanged, onWindowFocusChanged, onWindowStartingActionMode, onWindowStartingActionMode, openContextMenu, openOptionsMenu, registerForContextMenu, requestWindowFeature, requireViewById, setCancelable, setCanceledOnTouchOutside, setCancelMessage, setContentView, setContentView, setContentView, setDismissMessage, setFeatureDrawable, setFeatureDrawableAlpha, setFeatureDrawableResource, setFeatureDrawableUri, setOnCancelListener, setOnDismissListener, setOnKeyListener, setOnShowListener, setOwnerActivity, setTitle, setTitle, setVolumeControlStream, show, takeKeyEvents, unregisterForContextMenu
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • 从接口继承的方法 android.view.Window.Callback

        onPointerCaptureChanged, onProvideKeyboardShortcuts
    • 构造器详细资料

      • EaseDialog

        public EaseDialog​(android.content.Context context,
                          int msgId)
      • EaseDialog

        public EaseDialog​(android.content.Context context,
                          java.lang.String msg)
      • EaseDialog

        public EaseDialog​(android.content.Context context,
                          int titleId,
                          int msgId)
      • EaseDialog

        public EaseDialog​(android.content.Context context,
                          java.lang.String title,
                          java.lang.String msg)
      • EaseDialog

        public EaseDialog​(android.content.Context context,
                          int titleId,
                          int msgId,
                          android.os.Bundle bundle,
                          EaseDialog.AlertDialogUser user,
                          boolean showCancel)
      • EaseDialog

        public EaseDialog​(android.content.Context context,
                          java.lang.String title,
                          java.lang.String msg,
                          android.os.Bundle bundle,
                          EaseDialog.AlertDialogUser user,
                          boolean showCancel)
    • 方法详细资料

      • onCreate

        protected void onCreate​(android.os.Bundle savedInstanceState)
        覆盖:
        onCreate 在类中 android.app.Dialog
      • onOk

        public void onOk​(android.view.View view)
      • onCancel

        public void onCancel​(android.view.View view)