public class PBillDetailsPage extends PMaintenancePage implements PSpreadSheetListener, ActionListener, BalanceImpactListener, PropertyChangeListener, ListSelectionListener
JPanel.AccessibleJPanel
JComponent.AccessibleJComponent
Container.AccessibleAWTContainer
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
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 |
---|
PBillDetailsPage() |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent e) |
void |
addNotify() |
void |
balanceImpact(BalanceImpactEvent e)
Called when an event is sent out that impacts the balance
|
void |
clearListOfBills()
Clears the list of bills.
|
protected void |
copyBillSummaryData()
Updates the total and due for the current bill.
|
protected void |
enableordisableproduceCorrective()
This utility method is used to enable or disable "Produce Corrective Bill" action.
|
protected void |
enableShowAllorShowCorrectionsOnly(int mode)
This method is used to show/hide "Show All"
and "Show Corrections Only" operations.
|
void |
enteringPage()
This method will be called right after a page is made visible
via a drilldown.
|
String |
getControllerClassName()
Retrieves the class name of this component's controller, in this case, null.
|
protected boolean |
hasUnbilledARActions()
Returns whether the bill has any unbilled A/R actions.
|
void |
initBillDetailsPage(PModelHandle bmh,
int iBillIndex,
int iIncludeChildrenAmounts)
Initializes the bill details page
|
void |
initBillDetailsPage(PModelHandle bmh,
int iBillIndex,
int iIncludeChildrenAmounts,
boolean mbShowPrevLife)
Initializes the bill details page
|
void |
initPendingPage(PModelHandle bmh,
int iIncludeChildrenAmounts)
Initializes the pending bill page
|
void |
initPendingPage(PModelHandle bmh,
int iIncludeChildrenAmounts,
boolean mbShowPrevLife)
Initializes the pending bill page
|
protected boolean |
isShowAllVisible()
Returns whether "Show All" is visible.
|
void |
primaryToSecondary(int from,
int to)
Causes the component to use the
BEIDManager to
convert its data. |
void |
propertyChange(PropertyChangeEvent e) |
void |
refresh()
Called by "refresh" button click
|
void |
removeNotify() |
void |
resetActionMenu()
Resets the menu items to be disabled in the Action dropdown in the
Item Charges section.
|
void |
revertToPrimary(int primary)
Causes the component to display its data in the primary currency
|
void |
selectionChanged(PSpreadSheetEvent pe)
Called when the user performs some type of gesture in the
spreadsheet, for example, a mouse click or pressing the
Enter or Return key.
|
protected void |
setBillMode(int intBillMode)
Sets the bill mode to any one of the following.
|
protected void |
setBillsMap(HashMap billsMap)
Set the billsMap
|
void |
setBillUnitName(String name) |
void |
setModelHandle(PModelHandle data)
Establishes the
PModelHandle for this component
and all its descendants. |
void |
setSelectedBillIndex(int intSelectedBillIndex)
Sets the selected bill's index to variable mCurrBillIndex
|
protected void |
setShowAllVisible(boolean isShowAllVisible)
Sets whether "Show All" is visible.
|
protected void |
showHideARActionFields()
This method shows/hides the fields in A/R actions table based on
the bill type (regular bill/corrective bill).
|
protected void |
showHideItemChargesFields()
This method shows/hides the fields in item charges table based on
the bill type (regular bill/corrective bill).
|
protected void |
showHideSummaryFields()
This method shows/hides the fields in bill summary section based on
the bill type (regular bill/corrective bill).
|
void |
unregister()
Used to disconnect the controller from the component for all
child widgets contained within this panel.
|
protected void |
updateBillSummaryData()
Updates the bill summary of a bill with new values.
|
void |
updatePageforParentAmountsOnly()
Hides or shows the header that indicates the amounts shown are not rolled
up amounts.
|
void |
updatePageForPendingBill()
Updates page depending on whether the details of a bill or a pending bill
is being viewed
|
void |
updatePageFromCache(int iBillIndex)
Updates the bill details page from the cache instead of fetching data
from Portal.
|
void |
valueChanged(ListSelectionEvent e) |
dataNeedsRefresh, getDisplayedCurrency, getLabel, hasUnsavedChanges, isValidContext, recycle, resetUnsavedChanges, save
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
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
protected JLabel mTotalItemChargesLbl
protected JLabel mBillTotalLbl
protected JLabel mTotalARActionsLbl
protected JLabel mTotalPaymentsLbl
protected PIAReadOnlyField mTotalItemCharges
protected PIAReadOnlyField mTotalARActions
protected PIAReadOnlyField mBillTotal
protected PIAReadOnlyField mTotalPayments
protected PIAReadOnlyField mBillingCycle
protected PIAReadOnlyField mDueDate
protected JLabel mBillingCycleLbl
protected JLabel mDateDueLbl
protected JLabel mCorrectionReasonLbl
protected JLabel mCorrectiveInvFormatLbl
protected JLabel mCorrectiveInvTypeLbl
protected JLabel mUnbilledARActionsLbl
protected JLabel mPreviousBillNoLbl
protected JLabel mPreviousBillTotalLbl
protected JLabel mBillDateLbl
protected PIAReadOnlyField mCorrectionReason
protected PIAReadOnlyField mCorrectiveInvFormat
protected PIAReadOnlyField mCorrectiveInvType
protected PIAReadOnlyField mPreviousBillNo
protected PIAReadOnlyField mUnbilledARActions
protected PIAReadOnlyField mPreviousBillTotal
protected PIAReadOnlyField mBillDate
protected JLabel mBalanceLbl
protected PIAReadOnlyField mBalance
protected PIACustomizablePanel mBillSummaryPanel
protected JMenuItem mProduceCorrectiveBill
protected JMenuItem mShowCorrectionsOnly
protected JMenuItem mShowAll
public int intBillMode
public static final int SHOW_ALL
public static final int SHOW_CORRECTIONS_ONLY
public static final int REGULAR_BILL
public static final int CORRECTIVE_BILL
public static final int BILL_IN_PROGRESS
public static final int INITIAL_LOAD
public static final int CACHE_LOAD
public void initPendingPage(PModelHandle bmh, int iIncludeChildrenAmounts)
bmh
- The model handle of the pending billiIncludeChildrenAmounts
- Indicates if rolled up totals or individual
totals will be displayed.public void initPendingPage(PModelHandle bmh, int iIncludeChildrenAmounts, boolean mbShowPrevLife)
bmh
- The model handle of the pending billiIncludeChildrenAmounts
- Indicates if rolled up totals or individual
totals will be displayed.mbShowPrevLife
- Indicates weather to show previous bills of nonpaying child.public void initBillDetailsPage(PModelHandle bmh, int iBillIndex, int iIncludeChildrenAmounts)
bmh
- The model handle of the list of billsiBillIndex
- The index of the currently selected bill in the Balance
tab or from the list of bills from bill searchiIncludeChildrenAmounts
- Indicates if rolled up totals or individual
totals will be displayed.public void setSelectedBillIndex(int intSelectedBillIndex)
intSelectedBillIndex
- public void initBillDetailsPage(PModelHandle bmh, int iBillIndex, int iIncludeChildrenAmounts, boolean mbShowPrevLife)
bmh
- The model handle of the list of billsiBillIndex
- The index of the currently selected bill in the Balance
tab or from the list of bills from bill searchiIncludeChildrenAmounts
- Indicates if rolled up totals or individual
totals will be displayed.mbShowPrevLife
- Indicates weather to show previous bills of nonpaying child.public void clearListOfBills()
public void refresh()
refresh
in interface PAccountViewPage
refresh
in class PMaintenancePage
public void unregister() throws RemoteException
PIACustomizablePanel
unregister
in interface PClientComponent
unregister
in class PIACustomizablePanel
RemoteException
public void updatePageFromCache(int iBillIndex)
protected void setBillMode(int intBillMode)
intBillMode
- protected boolean hasUnbilledARActions()
protected boolean isShowAllVisible()
protected void setShowAllVisible(boolean isShowAllVisible)
isShowAllVisible
- protected void showHideSummaryFields()
protected void showHideItemChargesFields()
protected void showHideARActionFields()
protected void enableShowAllorShowCorrectionsOnly(int mode)
pass
- mode as 1, during initial page load.
pass mode as 2, for refreshing from cache.protected void enableordisableproduceCorrective()
public void resetActionMenu()
public void propertyChange(PropertyChangeEvent e)
propertyChange
in interface PropertyChangeListener
public String getControllerClassName() throws RemoteException
PIACustomizablePanel
getControllerClassName
in interface PComponent
getControllerClassName
in class PIACustomizablePanel
String
.RemoteException
- thrown for errorspublic void enteringPage()
PMaintenancePage
enteringPage
in interface PCCPage
enteringPage
in class PMaintenancePage
protected void setBillsMap(HashMap billsMap)
billsMap
- HashMappublic void updatePageForPendingBill()
public void updatePageforParentAmountsOnly()
public void selectionChanged(PSpreadSheetEvent pe)
PSpreadSheetListener
selectionChanged
in interface PSpreadSheetListener
pe
- the PSpreadSheetEvent
public void setModelHandle(PModelHandle data) throws RemoteException
PIACustomizablePanel
PModelHandle
for this component
and all its descendants.setModelHandle
in interface PComponent
setModelHandle
in class PIACustomizablePanel
data
- the new PModelHandle
from which to extract informationRemoteException
- thrown for errorspublic void balanceImpact(BalanceImpactEvent e)
BalanceImpactListener
balanceImpact
in interface BalanceImpactListener
e
- a BalanceImpactEvent encapsulating the event informationpublic void setBillUnitName(String name)
public void addNotify()
addNotify
in class JComponent
public void removeNotify()
removeNotify
in class JComponent
public void actionPerformed(ActionEvent e)
actionPerformed
in interface ActionListener
protected void copyBillSummaryData()
protected void updateBillSummaryData()
public void valueChanged(ListSelectionEvent e)
valueChanged
in interface ListSelectionListener
public void primaryToSecondary(int from, int to)
BEIDManager
to
convert its data.primaryToSecondary
in interface PAccountViewPage
primaryToSecondary
in class PMaintenancePage
primary
- the current currency ID used to display the datasecondary
- the new currency ID to use to display the datapublic void revertToPrimary(int primary)
revertToPrimary
in interface PAccountViewPage
revertToPrimary
in interface PComponentAttribute
revertToPrimary
in class PMaintenancePage
primary
- The primary currency ID for an accountCopyright © 2003, 2023, Oracle and/or its affiliates.