Package com.uos.uos_mobile.dialog
Class SelectSetDialog
- java.lang.Object
-
- android.app.Dialog
-
- androidx.appcompat.app.AppCompatDialog
-
- com.uos.uos_mobile.dialog.UosDialog
-
- com.uos.uos_mobile.dialog.SelectSetDialog
-
- All Implemented Interfaces:
android.content.DialogInterface,android.view.KeyEvent.Callback,android.view.View.OnCreateContextMenuListener,android.view.Window.Callback,androidx.appcompat.app.AppCompatCallback
public class SelectSetDialog extends UosDialog
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSelectSetDialog.SelectSetDialogListener-
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 Modifier and Type Field Description private com.google.android.material.chip.ChipGroupcgDlgSelectSetCategoryListprivate androidx.constraintlayout.widget.ConstraintLayoutclDlgSelectSetAddprivate android.content.Contextcontextprivate androidx.appcompat.widget.AppCompatImageButtonibtnDlgSelectSetCloseprivate androidx.appcompat.widget.AppCompatImageButtonibtnDlgSelectSetCountDownprivate androidx.appcompat.widget.AppCompatImageButtonibtnDlgSelectSetCountUpprivate androidx.appcompat.widget.AppCompatImageViewivDlgSelectSetImageprivate androidx.recyclerview.widget.RecyclerViewrvDlgSelectSetProductListprivate java.lang.StringselectedCategoryprivate SelectSetDialog.SelectSetDialogListenerselectSetDialogListenerprivate OrderingSetItemsetDataprivate SetProductAdaptersetProductAdapterprivate com.google.android.material.textfield.TextInputLayouttilDlgSelectSetCountprivate androidx.appcompat.widget.AppCompatTextViewtvDlgSelectSetConfprivate androidx.appcompat.widget.AppCompatTextViewtvDlgSelectSetDescprivate androidx.appcompat.widget.AppCompatTextViewtvDlgSelectSetNameprivate androidx.appcompat.widget.AppCompatTextViewtvDlgSelectSetTotalPrice
-
Constructor Summary
Constructors Constructor Description SelectSetDialog(android.content.Context context, OrderingSetItem setData, SelectSetDialog.SelectSetDialogListener selectSetDialogListener)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private intgetTotalPrice()protected voidinit()Dialog 실행 시 최초 실행해야하는 코드 및 변수 초기화를 담당하고 있는 함수.protected voidonCreate(android.os.Bundle savedInstanceState)private voidupdatePriceInfo()-
Methods inherited from class androidx.appcompat.app.AppCompatDialog
addContentView, dispatchKeyEvent, findViewById, getDelegate, getSupportActionBar, invalidateOptionsMenu, onStop, onSupportActionModeFinished, onSupportActionModeStarted, onWindowStartingSupportActionMode, setContentView, setContentView, setContentView, setTitle, setTitle, supportRequestWindowFeature
-
Methods inherited from class android.app.Dialog
cancel, closeOptionsMenu, create, dispatchGenericMotionEvent, dispatchKeyShortcutEvent, dispatchPopulateAccessibilityEvent, dispatchTouchEvent, dispatchTrackballEvent, getActionBar, getContext, getCurrentFocus, getLayoutInflater, getOwnerActivity, getSearchEvent, getVolumeControlStream, getWindow, hide, 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, onTouchEvent, onTrackballEvent, onWindowAttributesChanged, onWindowFocusChanged, onWindowStartingActionMode, onWindowStartingActionMode, openContextMenu, openOptionsMenu, registerForContextMenu, requestWindowFeature, requireViewById, setCancelable, setCanceledOnTouchOutside, setCancelMessage, setDismissMessage, setFeatureDrawable, setFeatureDrawableAlpha, setFeatureDrawableResource, setFeatureDrawableUri, setOnCancelListener, setOnDismissListener, setOnKeyListener, setOnShowListener, setOwnerActivity, setVolumeControlStream, show, takeKeyEvents, unregisterForContextMenu
-
-
-
-
Field Detail
-
context
private final android.content.Context context
-
selectSetDialogListener
private final SelectSetDialog.SelectSetDialogListener selectSetDialogListener
-
setData
private final OrderingSetItem setData
-
ibtnDlgSelectSetClose
private androidx.appcompat.widget.AppCompatImageButton ibtnDlgSelectSetClose
-
tvDlgSelectSetName
private androidx.appcompat.widget.AppCompatTextView tvDlgSelectSetName
-
ivDlgSelectSetImage
private androidx.appcompat.widget.AppCompatImageView ivDlgSelectSetImage
-
ibtnDlgSelectSetCountDown
private androidx.appcompat.widget.AppCompatImageButton ibtnDlgSelectSetCountDown
-
tilDlgSelectSetCount
private com.google.android.material.textfield.TextInputLayout tilDlgSelectSetCount
-
ibtnDlgSelectSetCountUp
private androidx.appcompat.widget.AppCompatImageButton ibtnDlgSelectSetCountUp
-
tvDlgSelectSetConf
private androidx.appcompat.widget.AppCompatTextView tvDlgSelectSetConf
-
tvDlgSelectSetDesc
private androidx.appcompat.widget.AppCompatTextView tvDlgSelectSetDesc
-
cgDlgSelectSetCategoryList
private com.google.android.material.chip.ChipGroup cgDlgSelectSetCategoryList
-
rvDlgSelectSetProductList
private androidx.recyclerview.widget.RecyclerView rvDlgSelectSetProductList
-
clDlgSelectSetAdd
private androidx.constraintlayout.widget.ConstraintLayout clDlgSelectSetAdd
-
tvDlgSelectSetTotalPrice
private androidx.appcompat.widget.AppCompatTextView tvDlgSelectSetTotalPrice
-
setProductAdapter
private SetProductAdapter setProductAdapter
-
selectedCategory
private java.lang.String selectedCategory
-
-
Constructor Detail
-
SelectSetDialog
public SelectSetDialog(@NonNull android.content.Context context, OrderingSetItem setData, SelectSetDialog.SelectSetDialogListener selectSetDialogListener)
-
-
Method Detail
-
onCreate
protected void onCreate(android.os.Bundle savedInstanceState)
- Overrides:
onCreatein classandroidx.appcompat.app.AppCompatDialog
-
init
protected void init()
Dialog 실행 시 최초 실행해야하는 코드 및 변수 초기화를 담당하고 있는 함수.
-
updatePriceInfo
private void updatePriceInfo()
-
getTotalPrice
private int getTotalPrice()
-
-