|
Oracle Fusion Middleware Java API Reference for Oracle ADF Data Visualization Components 11g Release 1 (11.1.1.1.0) E12063-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.dss.util.FocusUtility
public class FocusUtility
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 |
---|
public FocusUtility()
Method Detail |
---|
public static void setFocusToFirstSelectedRow(javax.swing.JTree jTree, java.awt.event.FocusEvent focusEvent)
JTree
.
If there are no rows selected, it defaults to the first available.
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
.public static void setFocusToFirstSelectedRow(javax.swing.JList list, java.awt.event.FocusEvent focusEvent)
JList
.
If there are no rows selected, it defaults to the first available.
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
.
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Data Visualization Components 11g Release 1 (11.1.1.1.0) E12063-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |