Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 2 (11.1.2.3.0)

E17492-04


oracle.dss.util
Class FocusUtility

java.lang.Object
  extended by oracle.dss.util.FocusUtility


public class FocusUtility
extends java.lang.Object
For internal use only. Application developers should not use this
Generic utility class (used by 2.7 classes)

Constructor Summary
FocusUtility()
           

 

Method Summary
static void setFocusToFirstSelectedRow(javax.swing.JList list, java.awt.event.FocusEvent focusEvent)
          Changes focus to first selected row in JList.
static void setFocusToFirstSelectedRow(javax.swing.JTree jTree, java.awt.event.FocusEvent focusEvent)
          Changes focus to first selected row in JTree.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

FocusUtility

public FocusUtility()

Method Detail

setFocusToFirstSelectedRow

public static void setFocusToFirstSelectedRow(javax.swing.JTree jTree,
                                              java.awt.event.FocusEvent focusEvent)
Changes focus to first selected row in JTree. If there are no rows selected, it defaults to the first available.
Parameters:
jTree - a JTree value that represents the component whose focus we are trying to set.
focusEvent - a FocusEvent value that will be used to determine if the focus is being set on the JTree.

setFocusToFirstSelectedRow

public static void setFocusToFirstSelectedRow(javax.swing.JList list,
                                              java.awt.event.FocusEvent focusEvent)
Changes focus to first selected row in JList. If there are no rows selected, it defaults to the first available.
Parameters:
list - a JList value that represents the component whose focus we are trying to set.
focusEvent - a FocusEvent value that will be used to determine if the focus is being set on the JList.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 2 (11.1.2.3.0)

E17492-04


Copyright © 1997, 2012, Oracle. All rights reserved.