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 TabTableSearchableLabels

java.lang.Object
  extended by oracle.apps.fnd.applcore.dt.patterns.piLayout.gui.TabTableSearchableLabels

public class TabTableSearchableLabels
extends java.lang.Object

Class that acts as a container for TabTableSearchableLabels.

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

Constructor Summary
TabTableSearchableLabels()
           
 
Method Summary
 void add(java.util.List<TabTableSearchableLabel> searchableTabTableLabels)
          Add more TabTableSearchableLabels in order to our collection.
 TabTableSearchableLabel findSearchLabel(java.awt.Component c)
          Do a reverse lookup of the TabTableSearchableLabel given the searchable component.
 int findTableRowIndex(java.awt.Component c)
          Do a reverse lookup of the TabTableSearchableLabel given the searchable component and return the search index.
 java.util.Iterator<java.awt.Component> getSearchIterator(boolean searchForward)
          Obtain a search iterator in the specified direction over the search components.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TabTableSearchableLabels

public TabTableSearchableLabels()
Method Detail

add

public void add(java.util.List<TabTableSearchableLabel> searchableTabTableLabels)
Add more TabTableSearchableLabels in order to our collection.

Parameters:
searchableTabTableLabels - labels to add.

getSearchIterator

public java.util.Iterator<java.awt.Component> getSearchIterator(boolean searchForward)
Obtain a search iterator in the specified direction over the search components.

Parameters:
searchForward - true to search in natural direction, false for reverse.
Returns:
an iterator over the searchable swing components.

findSearchLabel

public TabTableSearchableLabel findSearchLabel(java.awt.Component c)
Do a reverse lookup of the TabTableSearchableLabel given the searchable component. This may be used to set the correct tab and repaint the JTable the found component is in.

Parameters:
c - searchable component, probably found by the search algorithm.
Returns:
the relevant TabTableSearchableLabel or null.

findTableRowIndex

public int findTableRowIndex(java.awt.Component c)
Do a reverse lookup of the TabTableSearchableLabel given the searchable component and return the search index. This may be used to set the correct tab and repaint the JTable the found component is in.

Parameters:
c - searchable component, probably found by the search algorithm.
Returns:
the relevant TabTableSearchableLabel index or 0.

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

E22562-03

Copyright © 2012 Oracle. All Rights Reserved.