public class PPaymentPage extends PMaintenancePage implements PSpreadSheetListener, PaymentChangeListener, ServiceChangeListener, HierarchyChangeListener, ActionListener, ListSelectionListener
JPanel.AccessibleJPanel
JComponent.AccessibleJComponent
Container.AccessibleAWTContainer
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
Modifier and Type | Field and Description |
---|---|
static int |
CMB_HIERARCHY_TYPE |
static int |
CMB_PAYMENT_TYPE |
static String |
PAID_STRING_FRM_PROPERTYFILE |
mNeedsRefresh, mPagesCurrentCurrency
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 |
---|
PPaymentPage()
Creates a new payment screen
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent e)
put your documentation comment here
|
protected void |
addAdditionalActions(PAddOnAction[] actions)
Called to add actions to the payment display component.
|
void |
addNotify()
Overridden to register for payment change events
|
String |
constructFormatString(String sFormatString,
int[] iDiallowedList)
Constructs a format string that excludes exemption types
that are present in the exemption table.
|
protected void |
disableBillingCycleAndTaxSetupLink()
This method can be used in the extended customized page if the Bill and Tax link
needs to be disabled.
|
void |
dumpFlist(PModelHandle pm) |
protected void |
enableBillingCycleAndTaxSetupLink()
This method can be used in the extended customized page if the Bill and Tax link
needs to be enabled.
|
void |
enteringPage()
This method will be called right after a page is made visible
via a drilldown.
|
static String |
getCardType(String cardNumber,
int cardTyp)
To identify the type of card
|
String |
getControllerClassName()
Retrieves the class name of this component's controller, in this case, null.
|
Vector |
getPayMethods()
gets the payment methods for the currenct account
|
boolean |
hasUnsavedChanges()
Determines if the user has made changes to the data on this page
and not committed them to Portal yet.
This implementation defaults to calling isDirty() in the base class. |
void |
hierarchyChange(HierarchyChangeEvent e)
listen to nge event
|
void |
paymentChange(PaymentChangeEvent pe)
Called when the payment info changes
|
void |
primaryToSecondary(int from,
int to)
Changes the display from primary to the secondary currency.
|
void |
recycle()
Used to make this page available for reuse.
|
void |
refresh()
put your documentation comment here
|
void |
refreshPayments()
Refreshes the payment combobox when a new payment method is added
|
void |
removeNotify()
Overridden to unregister for payment change events
|
void |
resetUnsavedChanges()
This method is responsible for undo'ing the changes made to the
page and resetting back to the original.
|
void |
revertToPrimary(int primary)
Changes the display to the primary currency.
|
void |
save()
This is the hook for an encapsulating container to indicate this
panel should save itself, if necessary.
|
void |
selectionChanged(PSpreadSheetEvent pe)
put your documentation comment here
|
void |
serviceChange(ServiceChangeEvent e)
Event handler for ServiceChangeEvent.
|
static String |
setCreditCardPerm(String ccNumber)
This method is used to mask the credit card number.
|
static String |
setDebitCardPerm(String ddNumber)
This method is used to mask the debit card account number.
|
void |
setModelHandle(PModelHandle pm)
Updates the page with new data
|
void |
valueChanged(ListSelectionEvent e) |
dataNeedsRefresh, getDisplayedCurrency, getLabel, isValidContext
clear, collectData, componentAdded, componentRemoved, containsError, getBackgroundImageSource, getBundle, getModelHandle, getRemoteComponent, getResourceName, getTools, isClean, isCurrencyDisplay, isDirty, isError, isInputTracking, isLight, isRequired, processError, resetToDefault, setBackgroundImageMode, setBackgroundImageSource, setClean, setCurrencyDisplay, setDefault, setError, setInputTracking, setRequired, setResourceName, togglePrimaryToSecondary, unregister, 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, 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 static String PAID_STRING_FRM_PROPERTYFILE
public static final int CMB_PAYMENT_TYPE
public static final int CMB_HIERARCHY_TYPE
public void addNotify()
addNotify
in class JComponent
public void refresh()
refresh
in interface PAccountViewPage
refresh
in class PMaintenancePage
public void removeNotify()
removeNotify
in class JComponent
public void paymentChange(PaymentChangeEvent pe)
paymentChange
in interface PaymentChangeListener
pe
- the payment change eventpublic String getControllerClassName() throws RemoteException
PIACustomizablePanel
getControllerClassName
in interface PComponent
getControllerClassName
in class PIACustomizablePanel
RemoteException
public void dumpFlist(PModelHandle pm) throws RemoteException
RemoteException
public void setModelHandle(PModelHandle pm) throws RemoteException
setModelHandle
in interface PComponent
setModelHandle
in class PIACustomizablePanel
pm
- the model handleRemoteException
- thrown for errorspublic Vector getPayMethods()
public static String getCardType(String cardNumber, int cardTyp)
cardNumber
- public static String setCreditCardPerm(String ccNumber)
public static String setDebitCardPerm(String ddNumber)
public void save() throws PSaveException
PMaintenancePage
PSaveException
.
This is a no-op in this class.save
in interface PAccountViewPage
save
in class PMaintenancePage
PSaveException
public void resetUnsavedChanges()
resetUnsavedChanges
in interface PAccountViewPage
resetUnsavedChanges
in class PMaintenancePage
public boolean hasUnsavedChanges()
PMaintenancePage
hasUnsavedChanges
in interface PAccountViewPage
hasUnsavedChanges
in class PMaintenancePage
public void serviceChange(ServiceChangeEvent e)
serviceChange
in interface ServiceChangeListener
e
- a StatusChangeEventpublic void selectionChanged(PSpreadSheetEvent pe)
selectionChanged
in interface PSpreadSheetListener
pe
- protected void addAdditionalActions(PAddOnAction[] actions)
public class MyPaymentPage extends PPaymentPage { public MyPaymentPage() { PAddOnAction[] actions = new PAddOnAction[1]; actions[0] = new MyPaymentAction_A(); addAdditionalActions(actions); } } class MyPaymentAction_A extends PAddOnAction { public MyPaymentAction_A() { } public String getMenuLabel() { return "Payment Action A"; } }
actions
- The array of PAddOnAction instances to appendpublic String constructFormatString(String sFormatString, int[] iDiallowedList)
public void primaryToSecondary(int from, int to)
primaryToSecondary
in interface PAccountViewPage
primaryToSecondary
in class PMaintenancePage
from
- The currency currently displayedto
- The currency to convert to and displaypublic void revertToPrimary(int primary)
revertToPrimary
in interface PAccountViewPage
revertToPrimary
in interface PComponentAttribute
revertToPrimary
in class PMaintenancePage
primary
- The primary currencypublic void actionPerformed(ActionEvent e)
actionPerformed
in interface ActionListener
e
- public void hierarchyChange(HierarchyChangeEvent e)
hierarchyChange
in interface HierarchyChangeListener
e
- a HierarchyChangeEvent encapsulating the event informationpublic void refreshPayments()
public void recycle()
PMaintenancePage
recycle
in interface PCCPage
recycle
in class PMaintenancePage
protected void disableBillingCycleAndTaxSetupLink()
protected void enableBillingCycleAndTaxSetupLink()
public void valueChanged(ListSelectionEvent e)
valueChanged
in interface ListSelectionListener
public void enteringPage()
PMaintenancePage
enteringPage
in interface PCCPage
enteringPage
in class PMaintenancePage
Copyright © 2003, 2023, Oracle and/or its affiliates.