Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.1.6)

E22562-03

oracle.apps.fnd.applcore.dt.patterns.piLayout.gui
Class TabbedTableGuiContainerSearch

java.lang.Object
  extended by oracle.ide.inspector.find.ContainerSearch
      extended by oracle.apps.fnd.applcore.dt.patterns.piLayout.gui.TabbedTableGuiContainerSearch

public class TabbedTableGuiContainerSearch
extends ContainerSearch

Class that acts allows search in custom gui components containing tables in tabs.

Author:
David Groves <david.groves@oracle.com>

Constructor Summary
TabbedTableGuiContainerSearch(javax.swing.JTabbedPane tPane, TabTableSearchableLabels searchableLabels)
          Construct the Search.
 
Method Summary
 java.util.Iterator<java.awt.Component> createSearchIterator(java.awt.Container root, boolean forward)
          Create an iterator for traversing the component containment hierarchy.
 void makeFoundComponentVisible(java.awt.Component c)
          Override if necessary to provide custom logic to make the found component visible.
 
Methods inherited from class oracle.ide.inspector.find.ContainerSearch
attachTo, findText, fromContainer, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TabbedTableGuiContainerSearch

public TabbedTableGuiContainerSearch(javax.swing.JTabbedPane tPane,
                                     TabTableSearchableLabels searchableLabels)
Construct the Search.

Parameters:
tPane - tabbed pane we are in. Will be used to set the correct tab for the found component.
searchableLabels - Searchable components, these are not directly under tPane (well probably they are), but the default algorithms do not search inside a TableModel. This will contain all searchable fields.
Method Detail

createSearchIterator

public java.util.Iterator<java.awt.Component> createSearchIterator(java.awt.Container root,
                                                                   boolean forward)
Create an iterator for traversing the component containment hierarchy.

Overrides:
createSearchIterator in class ContainerSearch
Parameters:
root - the starting point of the iteration.
forward - whether to iterate first-to-last.
Returns:
the Component Iterator for traversing the component containment hierarchy.

makeFoundComponentVisible

public void makeFoundComponentVisible(java.awt.Component c)
Override if necessary to provide custom logic to make the found component visible. This implementation will make visible the tab that the found component is in and repaint the table.

Overrides:
makeFoundComponentVisible in class ContainerSearch
Parameters:
c - the component to make visible.

Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.1.6)

E22562-03

Copyright © 2012 Oracle. All Rights Reserved.