public class PCreditCardPanel extends PIAPaymentTypePanel
JPanel.AccessibleJPanel
JComponent.AccessibleJComponent
Container.AccessibleAWTContainer
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
isTracking, mIAList, mImpl, unregList
IMAGE_CENTERED, IMAGE_SCALE_TO_HEIGHT, IMAGE_SCALE_TO_WIDTH, IMAGE_SCALED, IMAGE_TILED, mImageIcon, mScaledImage
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
Constructor and Description |
---|
PCreditCardPanel()
Creates a new credit card panel.
|
Modifier and Type | Method and Description |
---|---|
void |
addNotify() |
void |
clear()
A convenience method that clears all Portal-aware descendants of
this panel.
|
void |
collectData(PCollectDataEvent event)
Collects data from this panel for three different cases:
1) During page validation when changing tabs during account creation ( event.getReason() is PCollectDataEvent.FOR_VALIDATION ),2) When saving a new account ( event.getReason() is
PCollectDataEvent.FOR_STORING ),3) When updating an existing account ( event.getReason() is
PCollectDataEvent.FOR_DIRTY ).Each of these three cases involves different data collection: 1) For page validation, the additional data that needs to be collected are a FldPayinfo type-only POID (appropriate to the billing type) and the FldBillType. 2) For saving a new account, data is required for all fields (whether the user has entered data or not), a FldPayinfo type-only POID (appropriate to the billing type) and the FldBillType. 3) For updating an account, the additional data that needs to be collected are the FldPayinfoObj's POID and the FldBillType. |
String |
getControllerClassName()
Gets the class name for this class's controller
|
boolean |
handleWizardCommitError(com.portal.app.util.CustomerError error)
Handles account creation commit-time errors for this panel.
|
int |
handleWizardValidationError(com.portal.app.util.CustomerError error)
Handles account creation validate-time errors for this panel.
|
boolean |
isClean()
Determines if any descendant is marked DIRTY or ERROR.
|
void |
resetToDefault()
A convenience method that resets every field on this panel.
|
void |
setDefault()
Establishes the current value of every Portal-aware descendant
as the default value for that component.
|
void |
setModelHandle(PModelHandle pm)
Displays data for the passed-in account model handle.
|
void |
shareInData()
During account creation, retrieves shared data of interest and
inserts it into the proper widgets.
|
void |
shareInData(PModelHandle model)
During account maintenance, retrieves shared data of interest and
inserts it into the proper widgets.
|
void |
unregister()
Used to disconnect the controller from the component for all
child widgets contained within this panel.
|
defaultsForStoring, defaultsForUpdate, defaultsForValidation, getFullName, getNameAddressData, hasReceivedSharedData, isAccountCreationPanel, setAccountCreationPanel, setReceivedSharedData, validatePaymentPanel
changeLayout, getLayoutLocale, propertyChange, setLayoutLocale
componentAdded, componentRemoved, containsError, getBackgroundImageSource, getBundle, getModelHandle, getRemoteComponent, getResourceName, getTools, isCurrencyDisplay, isDirty, isError, isInputTracking, isLight, isRequired, processError, revertToPrimary, setBackgroundImageMode, setBackgroundImageSource, setClean, setCurrencyDisplay, setError, setInputTracking, setRequired, setResourceName, togglePrimaryToSecondary, viewDataChange
getBackgroundImageIcon, getBackgroundImageMode, imageUpdate, paintComponent, setBackgroundImageIcon
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
addAncestorListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTree
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
public void addNotify()
addNotify
in class PI18NPanel
public void shareInData(PModelHandle model)
shareInData
in class PIAPaymentTypePanel
model
- Model handle for an account.public void shareInData()
shareInData
in class PIAPaymentTypePanel
public void setModelHandle(PModelHandle pm) throws RemoteException
setModelHandle
in interface PComponent
setModelHandle
in class PIACustomizablePanel
pm
- Model handle for an account.RemoteException
- thrown for errorspublic void setDefault()
PIACustomizablePanel
setDefault
in interface PComponentAttribute
setDefault
in class PIACustomizablePanel
public int handleWizardValidationError(com.portal.app.util.CustomerError error)
handleWizardValidationError
in class PIAPaymentTypePanel
error
- The error.WizardValidationManager.VALIDATION_NOMATCH
if no matching error field is found or
WizardValidationManager.VALIDATION_IGNOREERROR
if the user chooses to ignore a validation error or
WizardValidationManager.VALIDATION_FIXERROR
if the user chooses to fix the error orpublic boolean handleWizardCommitError(com.portal.app.util.CustomerError error)
handleWizardCommitError
in class PIAPaymentTypePanel
error
- The error.true
if this panel will handle the error;
otherwise false
.public String getControllerClassName() throws RemoteException
getControllerClassName
in interface PComponent
getControllerClassName
in class PIACustomizablePanel
RemoteException
- thrown for errorspublic void unregister() throws RemoteException
PIACustomizablePanel
unregister
in interface PClientComponent
unregister
in class PIACustomizablePanel
RemoteException
public void collectData(PCollectDataEvent event)
PIAPaymentTypePanel
event.getReason()
is PCollectDataEvent.FOR_VALIDATION
),event.getReason()
is
PCollectDataEvent.FOR_STORING
),event.getReason()
is
PCollectDataEvent.FOR_DIRTY
).collectData
in interface PCollectDataListener
collectData
in class PIAPaymentTypePanel
event
- The collect data event containing the reason code and model handle.public boolean isClean()
PIACustomizablePanel
isClean
in class PIACustomizablePanel
public void resetToDefault()
PIACustomizablePanel
resetToDefault
in interface PComponentAttribute
resetToDefault
in class PIACustomizablePanel
public void clear()
PIACustomizablePanel
clear
in interface PComponentAttribute
clear
in class PIACustomizablePanel
Copyright © 2003, 2023, Oracle and/or its affiliates.