public class PSubscriberPrefsPage extends PMaintenancePage implements PWizardPage, TreeSelectionListener, ListSelectionListener, PropertyChangeListener
JPanel.AccessibleJPanel
JComponent.AccessibleJComponent
Container.AccessibleAWTContainer
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
Modifier and Type | Field and Description |
---|---|
protected static ResourceBundle |
bundle |
PClientServices |
ccService |
static int |
COL_ENABLED |
PCachedContext |
conn |
static String |
domain
Domain name for active mediation referrein strings_t table
|
GridBagLayout |
gridBagLayoutPreference |
GridBagLayout |
gridBagLayoutServicePrefs |
static int |
poidColumn |
PIACustomizablePanel |
preferencesPanel |
JTreeTable |
serviceTreeTable |
static int |
TYPE_DECIMAL |
static int |
TYPE_ENUM |
static int |
TYPE_INT |
static int |
TYPE_STR |
static int |
TYPE_TIMESTAMP |
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 |
---|
PSubscriberPrefsPage()
Initializes the page and finds if the page is account creation or
maintenance mode
|
Modifier and Type | Method and Description |
---|---|
void |
addNotify()
When the account creation wizard is opened by default preferences page
should be disabled
|
void |
clearMaps() |
void |
collectData(PCollectDataEvent event)
Merges the model handle of the Preferences page with Model of the
account.
|
void |
enteringPage()
Builds the JTreeTable and assigns appropriate action listeners also
builds the preferences structure when the page is visited for the first
time.
|
String |
findValue(FList prefs)
Returns the value associated with the preference, if prefs is from
/config_subscriberpreferences_map then default is returned, else real
value is returned.
|
String |
getControllerClassName()
Retrieves the class name of this component's controller, in this case, null.
|
int |
getPreferencesCount(FList prefs)
Gets the count number of preferences in
/config_subscriberpreferences_map.
|
String |
getWizardHelpID()
Returns the Help ID for this wizard page.
|
boolean |
handleWizardCommitError(com.portal.app.util.CustomerError error)
Called on each wizard page successively if an attempt to commit the
wizard data failed.
|
boolean |
hasUnsavedChanges()
hasUnsavedChanges will be invoked when Preferences page looses focus in
account maintenance mode.
|
protected boolean |
isAccountCreation()
Returns true if it is account creation mode else sets it to false.
|
void |
leavingPage()
Will be called when the controls goes away from Preferences page in
account creation mode
|
void |
localCollect(int row)
Collects the preferences data locally and stores them in hPrefs
|
void |
propertyChange(PropertyChangeEvent event)
Will be invoked when new plan is choosed from plans section during
Account Creation Mode.
|
void |
refresh()
Clearing all the required hashmaps.
|
void |
save()
Save method will be invoked when save button is clicked or when the
preferences are saved from a confirmatory dialog box.
|
void |
setEnabled(boolean b)
Enables or disables the preferences tab in account creation wizard
|
void |
validateWizardPage()
Validates this page.
|
void |
valueChanged(ListSelectionEvent e)
valueChanged method is invoked when selection is changed in jTreeTable.
|
void |
valueChanged(TreeSelectionEvent arg0) |
dataNeedsRefresh, getDisplayedCurrency, getLabel, isValidContext, primaryToSecondary, recycle, resetUnsavedChanges, revertToPrimary
clear, 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, setModelHandle, setRequired, setResourceName, togglePrimaryToSecondary, unregister, 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, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, 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
public GridBagLayout gridBagLayoutServicePrefs
public GridBagLayout gridBagLayoutPreference
public PIACustomizablePanel preferencesPanel
protected static ResourceBundle bundle
public JTreeTable serviceTreeTable
public static int poidColumn
public static int TYPE_STR
public static int TYPE_INT
public static int TYPE_ENUM
public static int TYPE_DECIMAL
public static int TYPE_TIMESTAMP
public static int COL_ENABLED
public static String domain
public PClientServices ccService
public PCachedContext conn
public PSubscriberPrefsPage()
public void addNotify()
addNotify
in class JComponent
public void setEnabled(boolean b)
setEnabled
in class JComponent
public void refresh()
refresh
in interface PAccountViewPage
refresh
in class PMaintenancePage
protected boolean isAccountCreation()
public void clearMaps()
public String getControllerClassName() throws RemoteException
PIACustomizablePanel
getControllerClassName
in interface PComponent
getControllerClassName
in class PIACustomizablePanel
String
.RemoteException
- thrown for errorspublic void enteringPage()
enteringPage
in interface PCCPage
enteringPage
in class PMaintenancePage
public String getWizardHelpID()
PWizardPage
getWizardHelpID
in interface PWizardPage
public void leavingPage() throws PropertyVetoException
leavingPage
in interface PWizardPage
PropertyVetoException
public void save() throws PSaveException
save
in interface PAccountViewPage
save
in class PMaintenancePage
PSaveException
public void validateWizardPage() throws PValidationException
PWizardPage
PValidationException
will be
thrown. (The page could validate the data itself, use wizard framework
convenience methods to do validation, or do some validation itself
and defer some validation work to the framework.)validateWizardPage
in interface PWizardPage
PValidationException
WizardValidationManager
public boolean handleWizardCommitError(com.portal.app.util.CustomerError error)
PWizardPage
true
from this
method, the method will not be called on the remaining pages. If the
error "belongs" to a page (that is, the page determines that the
user should be able to fix the error on this page) true
will be returned. Otherwise it will return false
. (The
page could itself check for ownership of the error, use a wizard
framework convenience method to do this on its behalf, or do some
checking itself for error ownership and and defer some of the work
to the framework.)handleWizardCommitError
in interface PWizardPage
error
- The commit-time error.true
if the page will handle the error; otherwise
false
.WizardValidationManager
public void valueChanged(ListSelectionEvent e)
valueChanged
in interface ListSelectionListener
public void collectData(PCollectDataEvent event)
collectData
in interface PWizardPage
collectData
in interface PCollectDataListener
collectData
in class PIACustomizablePanel
event
- the PCollectDataEvent
eventvalidateWizardPage
public void localCollect(int row)
row
- public boolean hasUnsavedChanges()
hasUnsavedChanges
in interface PAccountViewPage
hasUnsavedChanges
in class PMaintenancePage
public void valueChanged(TreeSelectionEvent arg0)
valueChanged
in interface TreeSelectionListener
public int getPreferencesCount(FList prefs)
prefs
- public String findValue(FList prefs)
prefs
- public void propertyChange(PropertyChangeEvent event)
propertyChange
in interface PropertyChangeListener
Copyright © 2003, 2023, Oracle and/or its affiliates.