Package com.portal.app.cc.tcf
Class PDeviceSearchEntryPanelBase
java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
com.portal.pfc.ui.ImagePanel
com.portal.bas.comp.PIACustomizablePanel
com.portal.app.comp.PIASearchPanel
com.portal.app.cc.tcf.PDeviceSearchEntryPanelBase
- All Implemented Interfaces:
PSearchProducer,PAppComponent,PClientComponent,PCollectDataListener,PComponent,PComponentAttribute,PViewDataChangeListener,ActionListener,ContainerListener,ImageObserver,MenuContainer,Serializable,EventListener,Accessible
- Direct Known Subclasses:
PDeviceSearchEntryPanelDefault,PTelcoNumberEntryPanel,SIMEntryPanel
This is the base panel off of which all the entry panels for the device
search dialog need to be based of. The entry panels are where the search
criteria for the device search are entered.
- Version:
- %date_modified: Thr Feb 26 18:53:38 2003 %
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanelNested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponentNested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainerNested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected PClientServicesrequired for logging messagesprotected CCTelcoUtilityUtility class instance - contains convenience methods for retrieving config object data.protected PDeviceSearchPanelBeanrequired for doing the actual search for the devicesFields inherited from class com.portal.app.comp.PIASearchPanel
allBrandsSelected, allowBrandActs, brandTree, filterNonBrandHostAccounts, forceStop, isBranded, mClass, resultsLimit, selectedBrand, stopLockFields inherited from class com.portal.bas.comp.PIACustomizablePanel
isTracking, mIAList, mImpl, unregListFields inherited from class com.portal.pfc.ui.ImagePanel
IMAGE_CENTERED, IMAGE_SCALE_TO_HEIGHT, IMAGE_SCALE_TO_WIDTH, IMAGE_SCALED, IMAGE_TILED, mImageIcon, mScaledImageFields inherited from class javax.swing.JComponent
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOWFields inherited from class java.awt.Component
accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTFields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAction handler connected to all the text fields in the panel.voidOverriden to pre-select generic selection.retrieves the controller name for the search panel beanprotected StringRetrieves the locally stored value of the device type that is set earlierprotected booleanCheck whether the device search is being done during account creation process.protected voidSet the account database info in the search bean so that the search bean knows which database to search in for the devices.protected voidsetChoiceStringFormat(PIADefaultChoiceEnumField comp, String stringDomain, String format, ResourceBundle bundle) Retrieves the display field format string for the device .protected voidsetDeviceType(String type) Store the device type locally so that it can be retrieved when needed.protected voidsetStatusFormat(PAppFieldComponent comp, ResourceBundle bund) Retrieves the display field format string for the device status.Methods inherited from class com.portal.app.comp.PIASearchPanel
addSearchInfoListener, addSearchResultsListener, clear, collectData, collectDataFromPanelWidgets, filterNonBrandHostAccounts, fireColumns, fireProgress, fireSearchResults, getDesiredResults, getStorableClass, getTools, hasBrandHost, isLoginRoot, removeSearchInfoListener, removeSearchResultsListener, search, setAllBrandsStatus, setBrandAccountsDisplayed, setBrandStatus, setBrandTree, setResultsDisplayLimit, setSelectedBrand, setSingleDBSearchEnabled, setSingleDBSearchID, setSingleDBSearchID, setSpreadSheet, setStorableClass, startSearch, stop, stopSearch, viewDataChangeMethods inherited from class com.portal.bas.comp.PIACustomizablePanel
componentAdded, componentRemoved, containsError, getBackgroundImageSource, getBundle, getModelHandle, getRemoteComponent, getResourceName, isClean, isCurrencyDisplay, isDirty, isError, isInputTracking, isLight, isRequired, processError, resetToDefault, revertToPrimary, setBackgroundImageMode, setBackgroundImageSource, setClean, setCurrencyDisplay, setDefault, setError, setInputTracking, setModelHandle, setRequired, setResourceName, togglePrimaryToSecondary, unregisterMethods inherited from class com.portal.pfc.ui.ImagePanel
getBackgroundImageIcon, getBackgroundImageMode, imageUpdate, paintComponent, setBackgroundImageIconMethods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUIMethods 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, removeNotify, 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, updateMethods 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, validateTreeMethods 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
-
Field Details
-
mTelcoUtilBean
Utility class instance - contains convenience methods for retrieving config object data. -
clientServices
required for logging messages -
searchBean
required for doing the actual search for the devices
-
-
Constructor Details
-
PDeviceSearchEntryPanelBase
public PDeviceSearchEntryPanelBase()Creates a device search entry panel.
-
-
Method Details
-
getControllerClassName
retrieves the controller name for the search panel bean- Specified by:
getControllerClassNamein interfacePComponent- Overrides:
getControllerClassNamein classPIASearchPanel- Returns:
- PDeviceSearchPanelBean
- Throws:
RemoteException
-
addNotify
public void addNotify()Overriden to pre-select generic selection.- Overrides:
addNotifyin classJComponent
-
actionPerformed
Action handler connected to all the text fields in the panel. Starts the search operation.- Specified by:
actionPerformedin interfaceActionListener
-
setStatusFormat
Retrieves the display field format string for the device status.- Parameters:
devType- The device type to lookup (i.e. sim, num, cdma, etc)- Throws:
RemoteException
-
setChoiceStringFormat
protected void setChoiceStringFormat(PIADefaultChoiceEnumField comp, String stringDomain, String format, ResourceBundle bundle) Retrieves the display field format string for the device .- Parameters:
comp- - the coomponent on which the string is to be set displayedstringDomain-format-bundle- - the resource bundle to retrieve the values
-
getDeviceType
Retrieves the locally stored value of the device type that is set earlier- Returns:
- the device type of the device being searched for.
-
setDeviceType
Store the device type locally so that it can be retrieved when needed.- Parameters:
devType- - String
-
isAccountCreation
protected boolean isAccountCreation()Check whether the device search is being done during account creation process.- Returns:
- boolean value - true if it is during account creation
-
setAccountDB
protected void setAccountDB()Set the account database info in the search bean so that the search bean knows which database to search in for the devices.
-