public class PPlanOptionsPage extends PIACustomizablePanel implements PWizardPage, TreeSelectionListener, PropertyChangeListener, ListSelectionListener
JPanel.AccessibleJPanel
JComponent.AccessibleJComponent
Container.AccessibleAWTContainer
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
Modifier and Type | Field and Description |
---|---|
static int |
ACCOUNTC_WIZARD |
static int |
OFFERING_WIZARD |
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 |
---|
PPlanOptionsPage()
PPlanOptionsPage Constructor
|
PPlanOptionsPage(boolean isWizardPage)
PPlanOptionsPage Constructor.
|
PPlanOptionsPage(FList plan)
PPlanOptionsPage Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addChangeOptionListener(PChangeOptionsListener listener)
Adds the given listener to the list of change option listeners.
|
void |
addNotify()
Overridden to apply style to some of the fonts
|
void |
buildPlanTable()
Builds plan table with plan offered by the shared data.
|
void |
collectData(PCollectDataEvent event)
Implementation of collectData method of PWizard Page
|
void |
enteringPage()
Implementation of PWizard page.
|
void |
fireChangeOptionEvent(POptionChangeEvent e)
Notifies the registered change option listeners of the change in options selected.
|
String |
getControllerClassName()
Retrieves the class name of this component's controller, in this case, null.
|
String |
getLabel()
Retrieves the localizable text string used to identify this
page.
|
PModelHandle |
getModelForCurrentPlan()
Returns current plan model handle
|
PModelHandle |
getPlanOfferingForChangeOptions(PModelHandle subscribedPlan)
Returns the plan offering for change options.
|
SparseArray |
getSelectedOptionalDeals()
Returns selected optional deals info.
|
SparseArray |
getSelectedUnpurchasedOptionalDeals()
Returns selected non-purchased optional deals info.
|
String |
getWizardHelpID()
Returns the help ID for this page during account creation and purchase
offering.
|
boolean |
handleWizardCommitError(com.portal.app.util.CustomerError error)
Handles commit-time errors.
|
void |
initPage() |
boolean |
isChangeInNodeStates()
Returns true if there is a change in the current & previous node states
|
boolean |
isServCustomizationReqd() |
void |
leavingPage()
Delegates to contained panels.
|
boolean |
newNodesSelected() |
void |
propertyChange(PropertyChangeEvent event)
implementation of PropertyChangeListener
|
void |
recycle()
This method should perform any needed cleanup before the page is
reused to display data for a different account.
|
void |
removeNotify() |
void |
setEnabled(boolean b)
override the JComponent's public function setEnabled
|
void |
setModel(PModelHandle handle)
Builds the plan options table with the specified model.
|
void |
setModelForCurrentPlan()
Builds the plan options table with currently owned plan
|
void |
setTitle(String strSelPlanName)
Sets the dialog's title to strSelPlanName.
|
boolean |
validateDeals()
Validates deals for possible prerequisite, mutually exclusive conditions.
|
void |
validateWizardPage()
Validates this page.
|
void |
valueChanged(ListSelectionEvent e) |
void |
valueChanged(TreeSelectionEvent e)
Implementation of tree selection changed
|
clear, componentAdded, componentRemoved, containsError, getBackgroundImageSource, getBundle, getModelHandle, getRemoteComponent, getResourceName, getTools, isClean, isCurrencyDisplay, isDirty, isError, isInputTracking, isLight, isRequired, processError, resetToDefault, revertToPrimary, 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, 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 static final int ACCOUNTC_WIZARD
public static final int OFFERING_WIZARD
public PPlanOptionsPage()
public PPlanOptionsPage(boolean isWizardPage)
isWizardPage
- Specifies whether this instance is a wizard page or not.public PPlanOptionsPage(FList plan)
plan
- Plan with which Plan options table is constructed.public void setModelForCurrentPlan()
public PModelHandle getModelForCurrentPlan()
public void setModel(PModelHandle handle)
handle
- public void propertyChange(PropertyChangeEvent event)
propertyChange
in interface PropertyChangeListener
public void fireChangeOptionEvent(POptionChangeEvent e)
e
- option change eventpublic void recycle()
PCCPage
public String getLabel()
PCCPage
public void enteringPage()
enteringPage
in interface PCCPage
public void buildPlanTable()
public boolean isServCustomizationReqd()
public void leavingPage() throws PropertyVetoException
leavingPage
in interface PWizardPage
PropertyVetoException
public String getWizardHelpID()
getWizardHelpID
in interface PWizardPage
helpid.acwizard.paymentoptionspage
tag or the
helpid.powizard.paymentoptionspage
tag in the
properties file.public void validateWizardPage() throws PValidationException
validateWizardPage
in interface PWizardPage
PValidationException
WizardValidationManager
public boolean validateDeals()
public PModelHandle getPlanOfferingForChangeOptions(PModelHandle subscribedPlan)
subscribedPlan
- public void collectData(PCollectDataEvent event)
collectData
in interface PWizardPage
collectData
in interface PCollectDataListener
collectData
in class PIACustomizablePanel
event
- validateWizardPage
public SparseArray getSelectedUnpurchasedOptionalDeals()
public boolean isChangeInNodeStates()
public boolean newNodesSelected()
public SparseArray getSelectedOptionalDeals()
public void addChangeOptionListener(PChangeOptionsListener listener)
listener
- public boolean handleWizardCommitError(com.portal.app.util.CustomerError error)
handleWizardCommitError
in interface PWizardPage
error
- The error.true
if the page will handle the error; otherwise
false
.WizardValidationManager
public void addNotify()
addNotify
in class JComponent
public void initPage()
public void removeNotify()
removeNotify
in class JComponent
public void setEnabled(boolean b)
setEnabled
in class JComponent
public void setTitle(String strSelPlanName)
strSelPlanName
- public String getControllerClassName() throws RemoteException
PIACustomizablePanel
getControllerClassName
in interface PComponent
getControllerClassName
in class PIACustomizablePanel
RemoteException
public void valueChanged(TreeSelectionEvent e)
valueChanged
in interface TreeSelectionListener
e
- public void valueChanged(ListSelectionEvent e)
valueChanged
in interface ListSelectionListener
Copyright © 2003, 2023, Oracle and/or its affiliates.