Class CSEvaluateDialog
-
- All Implemented Interfaces:
-
android.content.DialogInterface,android.view.KeyEvent.Callback,android.view.View.OnCreateContextMenuListener,android.view.Window.Callback
public class CSEvaluateDialog extends AlertDialog
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceCSEvaluateDialog.EvaluateClickListenerpublic enumCSEvaluateDialog.EvaluateDialogType
-
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 CSEvaluateDialog(Context context, String targetId)
-
Method Summary
Modifier and Type Method Description voidsetClickListener(CSEvaluateDialog.EvaluateClickListener listener)voidshowRobot(boolean resolved)展示机器人评价 voidshowStar(String dialogId)展示星级评价 voidshowStarMessage(boolean resolvedOption)展示星级和留言评价 voiddestroy()voidsetOnCancelListener(DialogInterface.OnCancelListener listener)-
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, 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, onStart, onStop, onTouchEvent, onTrackballEvent, onWindowAttributesChanged, onWindowFocusChanged, onWindowStartingActionMode, openContextMenu, openOptionsMenu, registerForContextMenu, requestWindowFeature, requireViewById, setCancelMessage, setCancelable, setCanceledOnTouchOutside, setContentView, setDismissMessage, setFeatureDrawable, setFeatureDrawableAlpha, setFeatureDrawableResource, setFeatureDrawableUri, 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
-
-
Constructor Detail
-
CSEvaluateDialog
CSEvaluateDialog(Context context, String targetId)
-
-
Method Detail
-
setClickListener
void setClickListener(CSEvaluateDialog.EvaluateClickListener listener)
-
showRobot
void showRobot(boolean resolved)
展示机器人评价
- Parameters:
resolved- 是否解决问题
-
showStarMessage
void showStarMessage(boolean resolvedOption)
展示星级和留言评价
- Parameters:
resolvedOption- 是否显示已解决问题选项
-
destroy
void destroy()
-
setOnCancelListener
void setOnCancelListener(DialogInterface.OnCancelListener listener)
-
-
-
-