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.AccessibleJPanel
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
Nested 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, mPagesCurrentCurrency
Fields inherited from class com.portal.bas.comp.PIACustomizablePanel
isTracking, mIAList, mImpl, unregList
Fields inherited from class com.portal.pfc.ui.ImagePanel
IMAGE_CENTERED, IMAGE_SCALE_TO_HEIGHT, IMAGE_SCALE_TO_WIDTH, IMAGE_SCALED, IMAGE_TILED, mImageIcon, mScaledImage
Fields inherited from class javax.swing.JComponent
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
Fields inherited from class java.awt.Component
accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
Note that in the 6.2 release you'll probably want to include a section header in whatever you embed in this region.void
Invoked when added to a parent control(component)void
Allows you to add a panel at the bottom of the account summary region.void
listen to balanceImpact eventvoid
Called when an event is sent out that impacts a servicevoid
Listens to "change in contact" info in a contact panelvoid
Called when the credit limit changesvoid
Called when the number of deferred actions changesprotected void
This method can be used to disable the Payment Type Link On the summary pageprotected void
This method can be used to enable the Payment Type Link On the summary pagevoid
initialize the page with BillInfo details upon enteringRetrieves the class name of this component's controller, in this case, null.void
Read-in any properties for summary page set via Customizerprotected void
Used to make the customer type field non-editable.void
Called when the payment info changesvoid
recycle()
Makes this page available for reuse.void
refresh()
Called by "refresh" button clickvoid
Notified when removed from a parent control(component)void
save()
Commit changes to Portalvoid
setModelHandle
(PModelHandle data) Establishes thePModelHandle
for this component and all its descendants.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.protected void
showParentAmountOnly
(boolean bShow) Show the "Parent Amounts Only" panelvoid
Called when there is a status change to an account or service This page only tracks status changes to the accountvoid
Disconnects from controller and various event sourcesprotected void
protected void
Methods inherited from class com.portal.app.cc.comp.PMaintenancePage
dataNeedsRefresh, getDisplayedCurrency, getLabel, hasUnsavedChanges, isValidContext, primaryToSecondary, resetUnsavedChanges, revertToPrimary
Methods 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, viewDataChange
Methods inherited from class com.portal.pfc.ui.ImagePanel
getBackgroundImageIcon, getBackgroundImageMode, imageUpdate, paintComponent, setBackgroundImageIcon
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
Methods 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, update
Methods 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, validateTree
Methods 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:
enteringPage
in interfacePCCPage
- Overrides:
enteringPage
in classPMaintenancePage
-
getControllerClassName
Description copied from class:PIACustomizablePanel
Retrieves the class name of this component's controller, in this case, null.- Specified by:
getControllerClassName
in interfacePComponent
- Overrides:
getControllerClassName
in classPIACustomizablePanel
- Returns:
- A null
String
. - Throws:
RemoteException
- thrown for errors
-
setModelHandle
Description copied from class:PIACustomizablePanel
Establishes thePModelHandle
for this component and all its descendants.- Specified by:
setModelHandle
in interfacePComponent
- Overrides:
setModelHandle
in classPIACustomizablePanel
- Parameters:
data
- the newPModelHandle
from 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:
save
in interfacePAccountViewPage
- Overrides:
save
in classPMaintenancePage
- Throws:
PSaveException
-
contactChange
Listens to "change in contact" info in a contact panel- Specified by:
contactChange
in interfaceContactChangeListener
- Parameters:
e
- Contact change event
-
balanceImpact
listen to balanceImpact event- Specified by:
balanceImpact
in interfaceBalanceImpactListener
- Parameters:
e
- event having balance info
-
billInfoChange
Description copied from interface:BillInfoChangeListener
Called when an event is sent out that impacts a service- Specified by:
billInfoChange
in 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:
statusChange
in interfaceStatusChangeListener
- Parameters:
e
-
-
deferralChange
Called when the number of deferred actions changes- Specified by:
deferralChange
in interfaceDeferralChangeListener
- Parameters:
e
-
-
paymentChange
Called when the payment info changes- Specified by:
paymentChange
in interfacePaymentChangeListener
- Parameters:
pe
-
-
creditLimitChange
Called when the credit limit changes- Specified by:
creditLimitChange
in 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:
addNotify
in classJComponent
-
removeNotify
public void removeNotify()Notified when removed from a parent control(component)- Overrides:
removeNotify
in classJComponent
-
recycle
public void recycle()Makes this page available for reuse.- Specified by:
recycle
in interfacePCCPage
- Overrides:
recycle
in classPMaintenancePage
-
refresh
public void refresh()Called by "refresh" button click- Specified by:
refresh
in interfacePAccountViewPage
- Overrides:
refresh
in classPMaintenancePage
-
unregister
Disconnects from controller and various event sources- Specified by:
unregister
in interfacePClientComponent
- Overrides:
unregister
in classPIACustomizablePanel
- Throws:
RemoteException
-
actionPerformed
- Specified by:
actionPerformed
in 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
-