Package com.portal.app.cc
Class PSummaryPage
- All Implemented Interfaces:
PAccountViewPage,PCCPage,BalanceImpactListener,BillInfoChangeListener,ContactChangeListener,CreditLimitListener,DeferralChangeListener,PaymentChangeListener,StatusChangeListener,PAppComponent,PClientComponent,PCollectDataListener,PComponent,PComponentAttribute,PViewDataChangeListener,ActionListener,ContainerListener,ImageObserver,MenuContainer,Serializable,EventListener,Accessible
public class PSummaryPage
extends PMaintenancePage
implements StatusChangeListener, DeferralChangeListener, ActionListener, ContactChangeListener, PaymentChangeListener, CreditLimitListener, BalanceImpactListener, BillInfoChangeListener
Displays summary contact, AR information, Payment info
- Version:
- %version: 43.1.3 % %date_modified: Mon Jun 24 18:26:35 2002 %
- Author:
- lnair
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanelNested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponentNested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainerNested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy -
Field Summary
Fields inherited from class com.portal.app.cc.comp.PMaintenancePage
mNeedsRefresh, mPagesCurrentCurrencyFields inherited from class com.portal.bas.comp.PIACustomizablePanel
isTracking, mIAList, mImpl, unregListFields inherited from class com.portal.pfc.ui.ImagePanel
IMAGE_CENTERED, IMAGE_SCALE_TO_HEIGHT, IMAGE_SCALE_TO_WIDTH, IMAGE_SCALED, IMAGE_TILED, mImageIcon, mScaledImageFields inherited from class javax.swing.JComponent
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOWFields inherited from class java.awt.Component
accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTFields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidNote that in the 6.2 release you'll probably want to include a section header in whatever you embed in this region.voidInvoked when added to a parent control(component)voidAllows you to add a panel at the bottom of the account summary region.voidlisten to balanceImpact eventvoidCalled when an event is sent out that impacts a servicevoidListens to "change in contact" info in a contact panelvoidCalled when the credit limit changesvoidCalled when the number of deferred actions changesprotected voidThis method can be used to disable the Payment Type Link On the summary pageprotected voidThis method can be used to enable the Payment Type Link On the summary pagevoidinitialize the page with BillInfo details upon enteringRetrieves the class name of this component's controller, in this case, null.voidRead-in any properties for summary page set via Customizerprotected voidUsed to make the customer type field non-editable.voidCalled when the payment info changesvoidrecycle()Makes this page available for reuse.voidrefresh()Called by "refresh" button clickvoidNotified when removed from a parent control(component)voidsave()Commit changes to PortalvoidsetModelHandle(PModelHandle data) Establishes thePModelHandlefor this component and all its descendants.protected voidsetNotSelectedValue(int i) In the event the customer type format is changed such that (Not Selected) is not value zero, you should set the new value here.protected voidshowParentAmountOnly(boolean bShow) Show the "Parent Amounts Only" panelvoidCalled when there is a status change to an account or service This page only tracks status changes to the accountvoidDisconnects from controller and various event sourcesprotected voidprotected voidMethods inherited from class com.portal.app.cc.comp.PMaintenancePage
dataNeedsRefresh, getDisplayedCurrency, getLabel, hasUnsavedChanges, isValidContext, primaryToSecondary, resetUnsavedChanges, revertToPrimaryMethods inherited from class com.portal.bas.comp.PIACustomizablePanel
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, viewDataChangeMethods inherited from class com.portal.pfc.ui.ImagePanel
getBackgroundImageIcon, getBackgroundImageMode, imageUpdate, paintComponent, setBackgroundImageIconMethods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUIMethods inherited from class javax.swing.JComponent
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, updateMethods inherited from class java.awt.Container
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, validateTreeMethods inherited from class java.awt.Component
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, 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, requestFocus, requestFocus, requestFocusInWindow, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setMixingCutoutShape, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
-
Constructor Details
-
PSummaryPage
public PSummaryPage()Creates a new customer information display panel
-
-
Method Details
-
getCustomizerProperties
public void getCustomizerProperties()Read-in any properties for summary page set via Customizer -
enteringPage
public void enteringPage()initialize the page with BillInfo details upon entering- Specified by:
enteringPagein interfacePCCPage- Overrides:
enteringPagein classPMaintenancePage
-
getControllerClassName
Description copied from class:PIACustomizablePanelRetrieves the class name of this component's controller, in this case, null.- Specified by:
getControllerClassNamein interfacePComponent- Overrides:
getControllerClassNamein classPIACustomizablePanel- Returns:
- A null
String. - Throws:
RemoteException- thrown for errors
-
setModelHandle
Description copied from class:PIACustomizablePanelEstablishes thePModelHandlefor this component and all its descendants.- Specified by:
setModelHandlein interfacePComponent- Overrides:
setModelHandlein classPIACustomizablePanel- Parameters:
data- the newPModelHandlefrom which to extract information- Throws:
RemoteException- thrown for errors
-
addToAccountSummary
Allows you to add a panel at the bottom of the account summary region.- Parameters:
m- The page to add to the region below the account summary
-
addNextToBalance
Note that in the 6.2 release you'll probably want to include a section header in whatever you embed in this region. However, as we add data to this region in future releases we will probably add our own header here.
. In that event, any panel added via this method will be included "below" anything we might add in the future. This means in future releases you may need to remove the header or even add your custom panel elsewhere depending on what we add.
I guess consider this a warning that we reserve the right to reclaim this space in future releases - but we're opening it up in 6.2 since it is currently empty.- Parameters:
m- The page to add to the region below the account summary and to the right of the balance summary.
-
makeCustomerTypeNonEditable
protected void makeCustomerTypeNonEditable()Used to make the customer type field non-editable. This is a more global setting that can be applied once. You are currently not able to make the field editable or not editable within a single page based on some criteria of the account. -
setNotSelectedValue
protected void setNotSelectedValue(int i) In the event the customer type format is changed such that (Not Selected) is not value zero, you should set the new value here. This is only useful if you are making the customer type field non-editable. -
updatePage
protected void updatePage() -
updateARInfo
protected void updateARInfo() -
save
Commit changes to Portal- Specified by:
savein interfacePAccountViewPage- Overrides:
savein classPMaintenancePage- Throws:
PSaveException
-
contactChange
Listens to "change in contact" info in a contact panel- Specified by:
contactChangein interfaceContactChangeListener- Parameters:
e- Contact change event
-
balanceImpact
listen to balanceImpact event- Specified by:
balanceImpactin interfaceBalanceImpactListener- Parameters:
e- event having balance info
-
billInfoChange
Description copied from interface:BillInfoChangeListenerCalled when an event is sent out that impacts a service- Specified by:
billInfoChangein interfaceBillInfoChangeListener- Parameters:
e- a ServiceChangeEvent encapsulating the event information
-
statusChange
Called when there is a status change to an account or service This page only tracks status changes to the account- Specified by:
statusChangein interfaceStatusChangeListener- Parameters:
e-
-
deferralChange
Called when the number of deferred actions changes- Specified by:
deferralChangein interfaceDeferralChangeListener- Parameters:
e-
-
paymentChange
Called when the payment info changes- Specified by:
paymentChangein interfacePaymentChangeListener- Parameters:
pe-
-
creditLimitChange
Called when the credit limit changes- Specified by:
creditLimitChangein interfaceCreditLimitListener- Parameters:
e-
-
showParentAmountOnly
protected void showParentAmountOnly(boolean bShow) Show the "Parent Amounts Only" panel- Parameters:
boolean- bShow
-
addNotify
public void addNotify()Invoked when added to a parent control(component)- Overrides:
addNotifyin classJComponent
-
removeNotify
public void removeNotify()Notified when removed from a parent control(component)- Overrides:
removeNotifyin classJComponent
-
recycle
public void recycle()Makes this page available for reuse.- Specified by:
recyclein interfacePCCPage- Overrides:
recyclein classPMaintenancePage
-
refresh
public void refresh()Called by "refresh" button click- Specified by:
refreshin interfacePAccountViewPage- Overrides:
refreshin classPMaintenancePage
-
unregister
Disconnects from controller and various event sources- Specified by:
unregisterin interfacePClientComponent- Overrides:
unregisterin classPIACustomizablePanel- Throws:
RemoteException
-
actionPerformed
- Specified by:
actionPerformedin interfaceActionListener
-
enablePaymentType
protected void enablePaymentType()This method can be used to enable the Payment Type Link On the summary page -
disablePaymentType
protected void disablePaymentType()This method can be used to disable the Payment Type Link On the summary page
-