public class PPaymentPage extends PMaintenancePage implements PSpreadSheetListener, PaymentChangeListener, ServiceChangeListener, HierarchyChangeListener, ActionListener, ListSelectionListener
JPanel.AccessibleJPanelJComponent.AccessibleJComponentContainer.AccessibleAWTContainerComponent.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy| Modifier and Type | Field and Description |
|---|---|
protected JMenuItem[] |
actionItems |
static int |
CMB_HIERARCHY_TYPE |
static int |
CMB_PAYMENT_TYPE |
static String |
PAID_STRING_FRM_PROPERTYFILE |
mNeedsRefresh, mPagesCurrentCurrencyisTracking, mIAList, mImpl, unregListIMAGE_CENTERED, IMAGE_SCALE_TO_HEIGHT, IMAGE_SCALE_TO_WIDTH, IMAGE_SCALED, IMAGE_TILED, mImageIcon, mScaledImagelistenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOWaccessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTABORT, 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 current 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 |
initializeActionsMenu() |
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, isValidContextclear, 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, viewDataChangegetBackgroundImageIcon, getBackgroundImageMode, imageUpdate, paintComponent, setBackgroundImageIcongetAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUIaddAncestorListener, 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, updateadd, 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, validateTreeaction, 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, transferFocusUpCycleprotected JMenuItem[] actionItems
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 JComponentpublic void refresh()
refresh in interface PAccountViewPagerefresh in class PMaintenancePagepublic void removeNotify()
removeNotify in class JComponentpublic void paymentChange(PaymentChangeEvent pe)
paymentChange in interface PaymentChangeListenerpe - the payment change eventpublic String getControllerClassName() throws RemoteException
PIACustomizablePanelgetControllerClassName in interface PComponentgetControllerClassName in class PIACustomizablePanelRemoteExceptionpublic void dumpFlist(PModelHandle pm) throws RemoteException
RemoteExceptionpublic void setModelHandle(PModelHandle pm) throws RemoteException
setModelHandle in interface PComponentsetModelHandle in class PIACustomizablePanelpm - the model handleRemoteException - thrown for errorspublic void initializeActionsMenu()
public 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
PMaintenancePagePSaveException.
This is a no-op in this class.save in interface PAccountViewPagesave in class PMaintenancePagePSaveExceptionpublic void resetUnsavedChanges()
resetUnsavedChanges in interface PAccountViewPageresetUnsavedChanges in class PMaintenancePagepublic boolean hasUnsavedChanges()
PMaintenancePagehasUnsavedChanges in interface PAccountViewPagehasUnsavedChanges in class PMaintenancePagepublic void serviceChange(ServiceChangeEvent e)
serviceChange in interface ServiceChangeListenere - a StatusChangeEventpublic void selectionChanged(PSpreadSheetEvent pe)
selectionChanged in interface PSpreadSheetListenerpe - 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 PAccountViewPageprimaryToSecondary in class PMaintenancePagefrom - The currency currently displayedto - The currency to convert to and displaypublic void revertToPrimary(int primary)
revertToPrimary in interface PAccountViewPagerevertToPrimary in interface PComponentAttributerevertToPrimary in class PMaintenancePageprimary - The primary currencypublic void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListenere - public void hierarchyChange(HierarchyChangeEvent e)
hierarchyChange in interface HierarchyChangeListenere - a HierarchyChangeEvent encapsulating the event informationpublic void refreshPayments()
public void recycle()
PMaintenancePagerecycle in interface PCCPagerecycle in class PMaintenancePageprotected void disableBillingCycleAndTaxSetupLink()
protected void enableBillingCycleAndTaxSetupLink()
public void valueChanged(ListSelectionEvent e)
valueChanged in interface ListSelectionListenerpublic void enteringPage()
PMaintenancePageenteringPage in interface PCCPageenteringPage in class PMaintenancePageCopyright © 2003, 2023, Oracle and/or its affiliates.