public class PPaymentOptionDlg extends JDialog implements ItemListener, ActionListener
JDialog.AccessibleJDialog
Dialog.AccessibleAWTDialog, Dialog.ModalExclusionType, Dialog.ModalityType
Window.AccessibleAWTWindow, Window.Type
Container.AccessibleAWTContainer
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
Modifier and Type | Field and Description |
---|---|
protected PPaymentPanelBean |
bean |
protected JButton |
btnCancel |
protected JButton |
btnDelete |
protected JButton |
btnHelp |
protected JButton |
btnOK |
protected boolean |
deleteBtnFlag |
static String |
MANAGE |
protected PIAComponentCollection |
mImpl |
protected PIAPaymentField |
mPaymentFld |
static String |
MULTIPLE_PAYMENT |
static String |
MULTIPLE_PURCHASE |
static String |
NEW |
protected boolean |
okBtnFlag |
protected PPaymentPageBean |
remote |
accessibleContext, rootPane, rootPaneCheckingEnabled
DEFAULT_MODALITY_TYPE
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
Constructor and Description |
---|
PPaymentOptionDlg(JFrame frame,
String title,
boolean modal)
constructor for the PPaymentOptionDialog class
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent e) |
protected void |
btnOK_actionPerformed(ActionEvent e) |
void |
collectData(PCollectDataEvent event) |
String |
getChangedPayMethod() |
String |
getDeletedPayType()
This method returns the Payment type which got deleted.
|
String |
getInvoiceName(FList in)
returns the Invoice Name from the passed in FList
|
Poid |
getNewPayInfoObject()
Returns the poid of newly added pay info object
|
String |
getNewPaymentMethod()
returns the new Payment Method
|
protected Component |
getVisiblePaymentTypePanel()
Returns the current visible payment type panel.
|
protected boolean |
isAccountCreation()
Used by subclasses to determine if they were instantiated as part
of account creation or maintenance.
|
boolean |
isNewPaymentMethodAdded()
returns true if new Payment method is added
|
boolean |
isPaymentMethodRemoved()
returns true if a payment method is removed
|
void |
itemStateChanged(ItemEvent event) |
void |
removeNotify() |
protected void |
setCustomPanel(PIACustomizablePanel p)
The custom panel is set to the main panel, from the subclass.
|
void |
setModelHandle(PModelHandle pm)
Determines the payment type from the account object represented in
the model handle, and explicitely calls setModelHandle() on the panel
for that payment type.
|
protected void |
setPaymentOptionAsString(String payType)
sets the Option in which the dialog mode is shown
|
protected void |
setPaymentPageBean(PPaymentPageBean paymentPageBean)
sets the PPaymentpageBean for the dialog
|
protected void |
setPaymentPanelBean(PPaymentPanelBean paymentPanelBean)
sets the PPaymentPanelBean for the dialog
|
protected void |
showDialog()
initializes the dialog with data and makes it visible to the user
|
addImpl, createRootPane, dialogInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update
addNotify, getModalityType, getTitle, hide, isModal, isResizable, isUndecorated, setBackground, setModal, setModalityType, setOpacity, setResizable, setShape, setTitle, setUndecorated, setVisible, show, toBack
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBackground, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOpacity, getOwnedWindows, getOwner, getOwnerlessWindows, getShape, getToolkit, getType, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isAutoRequestFocus, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isOpaque, isShowing, isValidateRoot, pack, paint, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setAutoRequestFocus, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImage, setIconImages, setLocation, setLocation, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setType, toFront
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusDownCycle, validate, validateTree
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, revalidate, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
protected JButton btnOK
protected JButton btnDelete
protected JButton btnCancel
protected JButton btnHelp
protected PPaymentPageBean remote
protected PPaymentPanelBean bean
protected transient PIAComponentCollection mImpl
protected PIAPaymentField mPaymentFld
public static final String NEW
public static final String MANAGE
public static final String MULTIPLE_PAYMENT
public static final String MULTIPLE_PURCHASE
protected boolean okBtnFlag
protected boolean deleteBtnFlag
protected boolean isAccountCreation()
public void removeNotify()
removeNotify
in class Window
public void actionPerformed(ActionEvent e)
actionPerformed
in interface ActionListener
e
- public void collectData(PCollectDataEvent event)
event
- public String getDeletedPayType()
protected void btnOK_actionPerformed(ActionEvent e)
public Poid getNewPayInfoObject()
protected Component getVisiblePaymentTypePanel()
public void setModelHandle(PModelHandle pm) throws RemoteException
pm
- the model handleRemoteException
public void itemStateChanged(ItemEvent event)
itemStateChanged
in interface ItemListener
event
- public boolean isNewPaymentMethodAdded()
public boolean isPaymentMethodRemoved()
public String getNewPaymentMethod()
public String getChangedPayMethod()
public String getInvoiceName(FList in)
in
- FList from where the Invoice name has to be retrievedprotected void setPaymentPageBean(PPaymentPageBean paymentPageBean)
paymentPageBean
- protected void setPaymentPanelBean(PPaymentPanelBean paymentPanelBean)
paymentPanelBean
- protected void setPaymentOptionAsString(String payType)
payType
- protected void showDialog()
protected void setCustomPanel(PIACustomizablePanel p)
p
- Panel to be displayedCopyright © 2003, 2023, Oracle and/or its affiliates.