public class PTechDetails extends PMaintenancePage implements ListSelectionListener, ActionListener, MouseListener, HoldingsChangeListener, StatusChangeListener, ServiceChangeListener, DeferralChangeListener
JPanel.AccessibleJPanel
JComponent.AccessibleJComponent
Container.AccessibleAWTContainer
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
Modifier and Type | Field and Description |
---|---|
protected JButton |
btnServiceSearch |
protected PChangeStatusPage |
changeStatusPage |
Hashtable<Poid,Vector<PModelHandle>> |
deviceServiceHash |
protected ServiceSearchDialog |
dlgServiceSearch |
protected PExtendedServicePanel |
extraInfo |
protected JPanel |
fillerPanel |
protected JLabel |
lblThresholdExceeded |
protected boolean |
mIsUserToBeNotified |
protected int |
mUserSelectedRow |
Hashtable<Poid,Vector<PModelHandle>> |
serviseDeviceHash |
static String |
SUBSCRIPTION_PAGE_VIEW |
protected static String |
VIEW_TYPE_KEY |
protected int |
viewBy |
protected JRadioButtonMenuItem |
viewByDevMI |
protected JRadioButtonMenuItem |
viewByServMI |
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 |
---|
PTechDetails()
Creates a new technical details panel, displaying a tree-table
of service and device relationships.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent e)
Called when an item is selected from the Actions menu.
|
protected void |
addAdditionalActions(PAddOnAction[] actions)
Called to append actions to the end of the service page's Action
menu for bill display.
|
void |
addNotify() |
void |
deferralChange(DeferralChangeEvent e)
Event handler for DeferralChangeEvent.
|
String |
getControllerClassName()
Retrieves the server-side component for this page
|
PModelHandle |
getDataAt(int row)
Retrieves the data for the given row
|
PModelHandle[] |
getDevandMembersvcsFromServ(PModelHandle pm)
Getting Device details & Member Services of a Subscription Service.
|
PModelHandle[] |
getDevFromServ(PModelHandle pm)
Getting Device from Service
|
PModelHandle[] |
getServFromDev(PModelHandle pm)
Getting Service from Device
|
protected JTreeTable |
getServiceDisplay() |
void |
holdingsChange(HoldingsChangeEvent e)
Event handler for table HoldingsChangeEvent.
|
protected void |
jbInit() |
void |
loadServiceDeviceData()
This method process the Input Flist and putting in to HashMap service POID
is a key and Vector is value.
|
void |
loadServiceDeviceData(PModelHandle pmhSelectedServices)
This method loads the devices data in case of threshold exceeded.
|
void |
mouseClicked(MouseEvent e)
In service view, if Status column is selected or Deferred Actions column
is selected and there is at lease one deferred action, then control will
be redirected to the corresponding page.
|
void |
mouseEntered(MouseEvent e) |
void |
mouseExited(MouseEvent e) |
void |
mousePressed(MouseEvent e) |
void |
mouseReleased(MouseEvent e) |
protected void |
purchaseService(ActionEvent e) |
void |
recycle()
Cleans up the table and prepares it for reuse.
|
void |
refresh()
Called when the page should be immediately refreshed - typically
as a result of the Reset action being invoked by the user.
|
void |
removeNotify() |
void |
save()
Saves the contents of this page.
|
void |
serviceChange(ServiceChangeEvent e)
Called when data for a service changes
|
void |
setDefaultSelection()
Selects a default row (the 1st row) if there is at least one row.
|
void |
setModelHandle(PModelHandle data)
Establishes the new data to display.
|
void |
setPageView(String page_view)
specifically called from SubscriptionService Page to make some of the menuitems invisible
|
protected void |
showServiceHistory(ActionEvent e) |
void |
statusChange(StatusChangeEvent e)
Event handler for StatusChagneEvent.
|
void |
unregister()
Used to disconnect the controller from the component for all
child widgets contained within this panel.
|
void |
valueChanged(ListSelectionEvent e)
Called when the row selection changes in the tree-table.
|
dataNeedsRefresh, enteringPage, getDisplayedCurrency, getLabel, hasUnsavedChanges, isValidContext, primaryToSecondary, resetUnsavedChanges, revertToPrimary
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 boolean mIsUserToBeNotified
protected int mUserSelectedRow
protected ServiceSearchDialog dlgServiceSearch
protected PChangeStatusPage changeStatusPage
public static final String SUBSCRIPTION_PAGE_VIEW
protected static final String VIEW_TYPE_KEY
protected JRadioButtonMenuItem viewByServMI
protected JRadioButtonMenuItem viewByDevMI
protected JButton btnServiceSearch
protected JLabel lblThresholdExceeded
protected JPanel fillerPanel
protected int viewBy
protected PExtendedServicePanel extraInfo
public Hashtable<Poid,Vector<PModelHandle>> serviseDeviceHash
public Hashtable<Poid,Vector<PModelHandle>> deviceServiceHash
public PTechDetails()
public void addNotify()
addNotify
in class JComponent
public void removeNotify()
removeNotify
in class JComponent
public void setModelHandle(PModelHandle data) throws RemoteException
setModelHandle
in interface PComponent
setModelHandle
in class PIACustomizablePanel
accountModelHandle
- account model handle.RemoteException
- thrown for errorspublic void setDefaultSelection()
public void refresh()
PMaintenancePage
refresh
in interface PAccountViewPage
refresh
in class PMaintenancePage
public void holdingsChange(HoldingsChangeEvent e)
holdingsChange
in interface HoldingsChangeListener
e
- a HoldingsChangeEvent encapsulating the event informationpublic void deferralChange(DeferralChangeEvent e)
deferralChange
in interface DeferralChangeListener
e
- a DeferralChangeEventpublic void statusChange(StatusChangeEvent e)
statusChange
in interface StatusChangeListener
e
- a StatusChangeEventpublic void serviceChange(ServiceChangeEvent e)
serviceChange
in interface ServiceChangeListener
e
- public void actionPerformed(ActionEvent e)
actionPerformed
in interface ActionListener
e
- the action event.public void valueChanged(ListSelectionEvent e)
valueChanged
in interface ListSelectionListener
e
- the list selection event.public void mouseClicked(MouseEvent e)
mouseClicked
in interface MouseListener
e
- the mouse event.public void mousePressed(MouseEvent e)
mousePressed
in interface MouseListener
public void mouseReleased(MouseEvent e)
mouseReleased
in interface MouseListener
public void mouseEntered(MouseEvent e)
mouseEntered
in interface MouseListener
public void mouseExited(MouseEvent e)
mouseExited
in interface MouseListener
public void save() throws PSaveException
save
in interface PAccountViewPage
save
in class PMaintenancePage
PSaveException
public String getControllerClassName() throws RemoteException
getControllerClassName
in interface PComponent
getControllerClassName
in class PIACustomizablePanel
RemoteException
- thrown for errorspublic void recycle()
recycle
in interface PCCPage
recycle
in class PMaintenancePage
public void unregister() throws RemoteException
PIACustomizablePanel
unregister
in interface PClientComponent
unregister
in class PIACustomizablePanel
RemoteException
public PModelHandle getDataAt(int row)
row
- The row to retrieve data forprotected void addAdditionalActions(PAddOnAction[] actions)
public class MyTechPage extends PTechDetails { public MyTechPage() { PAddOnAction[] actions = new PAddOnAction[2]; actions[0] = new MyTechActionA(); actions[1] = new MyTechActionB(); addAdditionalActions(actions); } } class MyTechActionA extends PAddOnAction { public MyTechActionA(PTechDetails tt) { super(tt); } public String getMenuLabel() { return "Tech Action A"; } }
actions
- The array of PAddOnAction instances to appendprotected JTreeTable getServiceDisplay()
protected void purchaseService(ActionEvent e)
protected void showServiceHistory(ActionEvent e)
public void setPageView(String page_view)
page_view
- type of page (e.g. SUBSCRIPTION_PAGE_VIEW)public void loadServiceDeviceData()
public void loadServiceDeviceData(PModelHandle pmhSelectedServices)
pmhSelectedServices
- public PModelHandle[] getDevandMembersvcsFromServ(PModelHandle pm)
pm
- PModelHandle of the Service Poidpublic PModelHandle[] getDevFromServ(PModelHandle pm)
pm
- PModelHandlepublic PModelHandle[] getServFromDev(PModelHandle pm)
pm
- PModelHandleCopyright © 2003, 2023, Oracle and/or its affiliates.