|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--oracle.dss.datautil.gui.accessible.AccessibleUtils
Utility class for accessibility that contains methods that relate to the data beans.
Application developers should not use this class. It is for internal use only.
AccessibleLabel, AccessiblePanel| Constructor Summary | |
AccessibleUtils() | |
| Method Summary | |
static javax.swing.JButton |
getButton(java.lang.String strText)Retrieves a JButton that is based on the specified text value that is processed for mnemonics. |
static javax.swing.JLabel |
getLabel(java.lang.String strText)Retrieves a JLabel that is based on the specified text value that is processed for mnemonics. |
static javax.swing.JLabel |
getLabel(java.lang.String strText, int horizontalAlignment)Retrieves a JLabel that is based on the specified text value that is processed for mnemonics. |
static javax.swing.JRadioButton |
getRadioButton(java.lang.String strText, float alignmentY)Retrieves a JRadioButton that is based on the specified text value that is processed for mnemonics. |
static void |
setFocusToFirstSelectedRow(javax.swing.JTree jTree, java.awt.event.FocusEvent focusEvent)Specifies to change focus to the first selected row in the JTree. |
static void |
setLabelFor(java.awt.Component componentFrom, java.awt.Component componentTo, boolean blnFirstTimeOnly)Specifies to prepend the accessibility name from the "from" component to the accessibility name from the "to" component. |
static void |
setLabelFor(javax.swing.JLabel jLabel, javax.swing.JComboBox jComboBox)Specifies to associate a label with a combo box to simplify focus control. |
static void |
setLabelText(javax.swing.JButton jButton, java.lang.String strText)Specifies the text value that associated with the specified JLabel that is processed for mnemonics. |
static void |
setLabelText(javax.swing.JLabel jLabel, java.lang.String strText)Specifies the text value that associated with the specified JLabel that is processed for mnemonics. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AccessibleUtils()
| Method Detail |
public static void setLabelFor(java.awt.Component componentFrom,
java.awt.Component componentTo,
boolean blnFirstTimeOnly)
componentFrom - The "from" Component from which to retrieve the accessibility name to prepend in front of the "to" Component.componentTo - The "to" Component to which the accessibility name from the "from" Component is prepended.blnFirstTimeOnly - true if the accessibility name of the "to" component reverts to its original text after losing focus, false otherwise.
public static void setLabelFor(javax.swing.JLabel jLabel,
javax.swing.JComboBox jComboBox)
jLabel - A JLabel value to associate with a combo box.jComboBox - A JComboBox value to associate with the label.public static javax.swing.JButton getButton(java.lang.String strText)
JButton that is based on the specified text value that is processed for mnemonics.strText - A string that represents the button's text that is processed for mnemonics.JButton that represents the newly constructed button.
public static javax.swing.JRadioButton getRadioButton(java.lang.String strText,
float alignmentY)
JRadioButton that is based on the specified text value that is processed for mnemonics.strText - A string that represents the button's text that is processed for mnemonics.alignmentY - A float that represents the button's Y alignment.JRadioButton that represents the newly constructed button.
public static javax.swing.JLabel getLabel(java.lang.String strText,
int horizontalAlignment)
JLabel that is based on the specified text value that is processed for mnemonics.strText - A string that represents the label's text that is processed for mnemonics.horizontalAlignmentY - An integer that represents the label's horizontal alignment.JLabel that represents the newly constructed label.public static javax.swing.JLabel getLabel(java.lang.String strText)
JLabel that is based on the specified text value that is processed for mnemonics. The alignment defaults to SwingConstants.LEFT.strText - A string that represents the label's text that is processed for mnemonics.JLabel that represents the newly constructed label.
public static void setLabelText(javax.swing.JLabel jLabel,
java.lang.String strText)
JLabel that is processed for mnemonics.jLabel - A JLabel that represents the label to process.strText - A string that represents the label's text that is processed for mnemonics.
public static void setLabelText(javax.swing.JButton jButton,
java.lang.String strText)
JLabel that is processed for mnemonics.jButton - A JButton that represents the button to process.strText - A string that represents the button's text that is processed for mnemonics.
public static void setFocusToFirstSelectedRow(javax.swing.JTree jTree,
java.awt.event.FocusEvent focusEvent)
JTree. If no rows are selected, then it defaults to the first available row.jTree - A JTree that represents the component whose focus you are trying to set.focusEvent - A FocusEvent that is used to determine if the focus is being set on the JTree.
|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||