Package com.uos.uos_mobile.dialog
Class SelectProductDialog
- java.lang.Object
-
- android.app.Dialog
-
- androidx.appcompat.app.AppCompatDialog
-
- com.uos.uos_mobile.dialog.UosDialog
-
- com.uos.uos_mobile.dialog.SelectProductDialog
-
- All Implemented Interfaces:
android.content.DialogInterface
,android.view.KeyEvent.Callback
,android.view.View.OnCreateContextMenuListener
,android.view.Window.Callback
,androidx.appcompat.app.AppCompatCallback
public class SelectProductDialog extends UosDialog
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
SelectProductDialog.SelectProductDialogListener
-
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 android.content.Context
context
private androidx.appcompat.widget.AppCompatImageButton
ibtnDlgSelectProductClose
private androidx.appcompat.widget.AppCompatImageButton
ibtnDlgSelectProductCountDown
private androidx.appcompat.widget.AppCompatImageButton
ibtnDlgSelectProductCountUp
private androidx.appcompat.widget.AppCompatImageView
ivDlgSelectProductImage
private OrderingProductItem
orderingProduct
private SelectProductDialog.SelectProductDialogListener
selectProductDialogListener
private com.google.android.material.textfield.TextInputLayout
tilDlgSelectProductCount
private androidx.appcompat.widget.AppCompatTextView
tvDlgSelectProductAdd
private androidx.appcompat.widget.AppCompatTextView
tvDlgSelectProductDesc
private androidx.appcompat.widget.AppCompatTextView
tvDlgSelectProductName
private androidx.appcompat.widget.AppCompatTextView
tvDlgSelectProductTotalPrice
-
Constructor Summary
Constructors Constructor Description SelectProductDialog(android.content.Context context, OrderingProductItem orderingProduct, SelectProductDialog.SelectProductDialogListener selectProductDialogListener)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
init()
Dialog 실행 시 최초 실행해야하는 코드 및 변수 초기화를 담당하고 있는 함수.protected void
onCreate(android.os.Bundle savedInstanceState)
private void
updatePriceInfo()
-
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
-
selectProductDialogListener
private final SelectProductDialog.SelectProductDialogListener selectProductDialogListener
-
orderingProduct
private final OrderingProductItem orderingProduct
-
ibtnDlgSelectProductClose
private androidx.appcompat.widget.AppCompatImageButton ibtnDlgSelectProductClose
-
tvDlgSelectProductName
private androidx.appcompat.widget.AppCompatTextView tvDlgSelectProductName
-
ivDlgSelectProductImage
private androidx.appcompat.widget.AppCompatImageView ivDlgSelectProductImage
-
tvDlgSelectProductDesc
private androidx.appcompat.widget.AppCompatTextView tvDlgSelectProductDesc
-
ibtnDlgSelectProductCountDown
private androidx.appcompat.widget.AppCompatImageButton ibtnDlgSelectProductCountDown
-
tilDlgSelectProductCount
private com.google.android.material.textfield.TextInputLayout tilDlgSelectProductCount
-
ibtnDlgSelectProductCountUp
private androidx.appcompat.widget.AppCompatImageButton ibtnDlgSelectProductCountUp
-
tvDlgSelectProductTotalPrice
private androidx.appcompat.widget.AppCompatTextView tvDlgSelectProductTotalPrice
-
tvDlgSelectProductAdd
private androidx.appcompat.widget.AppCompatTextView tvDlgSelectProductAdd
-
-
Constructor Detail
-
SelectProductDialog
public SelectProductDialog(@NonNull android.content.Context context, OrderingProductItem orderingProduct, SelectProductDialog.SelectProductDialogListener selectProductDialogListener)
-
-