public class ResultsTablePanel extends PIACustomizablePanel implements ResultsDisplay
Modifier and Type | Class and Description |
---|---|
protected class |
ResultsTablePanel.BrowserBeanItem |
JPanel.AccessibleJPanel
JComponent.AccessibleJComponent
Container.AccessibleAWTContainer
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
Modifier and Type | Field and Description |
---|---|
protected BrowserPanel |
browser |
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
EVENT_TYPE, OBJECT_TYPE
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
Constructor and Description |
---|
ResultsTablePanel()
Creates a panel that uses a table to display results for EventBrowser.
|
ResultsTablePanel(ResourceBundle res)
Creates a panel that uses a table to display results for EventBrowser.
|
Modifier and Type | Method and Description |
---|---|
void |
clearContents()
Clears the window of all search results.
|
void |
clearMarkedData()
Clears the window of all search results.
|
void |
clearMarkedRows()
Clears the selected event rows of search results.
|
void |
closeContext()
Closes any open portal contexts(connections)
|
void |
displayDetails(int type)
Display the detail information of the selected object.
|
String |
getControllerClassName()
Gets the class name for this class's controller.
|
Hashtable |
getMarkedEvents()
Returns the list of marked events.
|
Object |
getRemoteListener()
Returns the remote listener, i.e.
|
HistoryItem[] |
getSelectedItems()
Returns an array of history items that contains poid and account
information about the selected rows in the table.
|
void |
initializeSecConnection()
Initializes the second connection for search purposes.
|
void |
initSearchResults()
Initializes the controller with information needed from the search.
|
int |
itemCount()
Return the number of items displayed in the table.
|
protected void |
loadBrowserDisplay(DataTemplate dt,
String title,
boolean recurse) |
void |
markAllItems()
Marks all the rows in the table.
|
void |
markItem()
Mark the selected event.
|
void |
progress(SearchEvent evt)
progress: With the new BAS API the panel has to fetch the results from the controller
The panel no more gets the event notification from the controller(via firedatachangeevent)
The search "start" and "end" events are handled by the BrowseWin.
|
void |
releaseRemoteListener()
Removes a remote listener, i.e.
|
void |
searchStarted(SearchEvent evt)
This method is called at the start of the search to allow the listener
to initialize the GUI for the search.
|
void |
selectFirstItem(int i)
Update the results panel.
|
void |
setMaskFields(String[] flds)
Sets the fields that need to be masked in the browser bean.
|
void |
setResources(ResourceBundle res)
Set the resource bundle for the panel.
|
void |
setResultData(ResultData[] data,
int index,
boolean b)
Sets the information used for displaying the results.
|
void |
showAllItems()
Displays all items in the table.
|
protected void |
showDialog(int type)
Displays the BrowserBean in a dialog.
|
boolean |
showMarkedItems()
This will change the view of the table to show the marked item list
as opposed to the search results list.
|
void |
substituteData(Hashtable data)
Substitue the given data in the browser bean.
|
void |
unmarkAllItems()
Unmarks all the rows in the table.
|
void |
unmarkItem()
Unmark the selected event(s).
|
clear, collectData, 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, addNotify, 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, 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 BrowserPanel browser
public ResultsTablePanel() throws RemoteException
RemoteException
public ResultsTablePanel(ResourceBundle res) throws RemoteException
ctx
- the portal context to use for the displayres
- the resource bundle to use for stringsRemoteException
public String getControllerClassName() throws RemoteException
getControllerClassName
in interface PComponent
getControllerClassName
in class PIACustomizablePanel
RemoteException
- thrown for errorspublic void setResources(ResourceBundle res)
res
- the resource bundle for the panel.public void clearContents()
clearContents
in interface ResultsDisplay
public void clearMarkedData()
public void clearMarkedRows()
public void closeContext()
closeContext
in interface ResultsDisplay
public void initializeSecConnection()
public void markItem()
markItem
in interface ResultsDisplay
public void unmarkItem()
unmarkItem
in interface ResultsDisplay
public void markAllItems()
markAllItems
in interface ResultsDisplay
public void unmarkAllItems()
unmarkAllItems
in interface ResultsDisplay
public void initSearchResults()
initSearchResults
in interface ResultsDisplay
public void selectFirstItem(int i)
selectFirstItem
in interface ResultsDisplay
i
- indicates what type of action needs to be performed on the panelpublic boolean showMarkedItems()
showMarkedItems
in interface ResultsDisplay
public void showAllItems()
showAllItems
in interface ResultsDisplay
public void setMaskFields(String[] flds)
setMaskFields
in interface ResultsDisplay
flds
- the fields to be maskedpublic void substituteData(Hashtable data)
substituteData
in interface ResultsDisplay
data
- the data to substituepublic int itemCount()
itemCount
in interface ResultsDisplay
public HistoryItem[] getSelectedItems()
getSelectedItems
in interface ResultsDisplay
public Hashtable getMarkedEvents()
getMarkedEvents
in interface ResultsDisplay
public void setResultData(ResultData[] data, int index, boolean b)
setResultData
in interface ResultsDisplay
data
- the data defining the results to displayindex
- the index used for sortingpublic void displayDetails(int type)
displayDetails
in interface ResultsDisplay
type
- type of object to display, either EVENT_TYPE or OBJECT_TYPEpublic Object getRemoteListener()
getRemoteListener
in interface SearchInfoListener
public void releaseRemoteListener()
releaseRemoteListener
in interface SearchInfoListener
public void progress(SearchEvent evt)
progress
in interface SearchInfoListener
evt
- contains information about the progress of the search.public void searchStarted(SearchEvent evt)
SearchInfoListener
searchStarted
in interface SearchInfoListener
evt
- contains useful information about the searchprotected void showDialog(int type)
protected void loadBrowserDisplay(DataTemplate dt, String title, boolean recurse)
Copyright © 2003, 2023, Oracle and/or its affiliates.