public abstract class BaseChangeableDialog
extends com.app.security.util.MemoryDialog
implements android.view.View.OnClickListener, android.content.DialogInterface.OnShowListener
限定符和类型 | 类和说明 |
---|---|
static class |
BaseChangeableDialog.DialogViewBean |
static class |
BaseChangeableDialog.ViewType |
android.content.DialogInterface.OnCancelListener, android.content.DialogInterface.OnClickListener, android.content.DialogInterface.OnDismissListener, android.content.DialogInterface.OnKeyListener, android.content.DialogInterface.OnMultiChoiceClickListener, android.content.DialogInterface.OnShowListener
构造器和说明 |
---|
BaseChangeableDialog(android.content.Context context) |
限定符和类型 | 方法和说明 |
---|---|
void |
onClick(android.view.View v) |
protected void |
onCreate(android.os.Bundle savedInstanceState) |
void |
onShow(android.content.DialogInterface dialog) |
abstract void |
setmViewBean()
必须实现,用于设置各模块view有无, 不设置,默认均不可见
方法最终调用一下 setmViewBean(DialogViewBean bean) 方法
|
protected void |
setmViewBean(BaseChangeableDialog.DialogViewBean bean) |
protected void |
setmViewType(BaseChangeableDialog.ViewType type) |
abstract void |
setViewType()
必须实现, 用于设置整个view的主题(白色,还是紫色)
实现时只需要调用一下 setmViewType(ViewType type) 方法 即可
|
dismiss, isActivityValid, isBottomEntryDialog, isContextAvailable, realDismiss, realShow, setBottomEntryDialog, setContentView, setContentView, setContentView, setOnDismissListener, show
addContentView, cancel, closeOptionsMenu, create, 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, setDismissMessage, setFeatureDrawable, setFeatureDrawableAlpha, setFeatureDrawableResource, setFeatureDrawableUri, setOnCancelListener, setOnKeyListener, setOnShowListener, setOwnerActivity, setTitle, setTitle, setVolumeControlStream, takeKeyEvents, unregisterForContextMenu
public abstract void setmViewBean()
public abstract void setViewType()
protected void onCreate(android.os.Bundle savedInstanceState)
onCreate
在类中 android.app.Dialog
public void onClick(android.view.View v)
onClick
在接口中 android.view.View.OnClickListener
public void onShow(android.content.DialogInterface dialog)
onShow
在接口中 android.content.DialogInterface.OnShowListener
protected void setmViewBean(BaseChangeableDialog.DialogViewBean bean)
protected void setmViewType(BaseChangeableDialog.ViewType type)