oracle.jbo.uicli.jui
Class JUSVFocusAdapter
java.lang.Object
|
+--java.awt.event.FocusAdapter
|
+--oracle.jbo.uicli.jui.JUSVFocusAdapter
- All Implemented Interfaces:
- java.util.EventListener, java.awt.event.FocusListener
- Direct Known Subclasses:
- JUSVUpdateableFocusAdapter
- public class JUSVFocusAdapter
- extends java.awt.event.FocusAdapter
All JClient bindings create an instance of this adapter to notify the panel of which
control and hence which binding is currently in focus.
JUSVFocusAdapter(JUControlBinding controlBinding)
Creates a focus adapter for the control associated with the given control binding. |
JUSVFocusAdapter(JUControlBinding controlBinding,
int attrIndex)
Creates a focus adapter for the control associated with the given control binding and
registers interest in the attribute at the given index in the control binding. |
Type | Method |
void |
focusGained(java.awt.event.FocusEvent e)
Notifies the continaing panelBinding of the gain in focus by this adapter's control binding |
void |
focusLost(java.awt.event.FocusEvent e)
A no-op |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MULTI_ATTRIBUTE
public static final int MULTI_ATTRIBUTE
mControlBinding
protected JUControlBinding mControlBinding
mIterBinding
protected JUIteratorBinding mIterBinding
mAttrIndex
protected int mAttrIndex
panelBinding
protected JUPanelBinding panelBinding
JUSVFocusAdapter
public JUSVFocusAdapter(JUControlBinding controlBinding)
- Creates a focus adapter for the control associated with the given control binding.
JUSVFocusAdapter
public JUSVFocusAdapter(JUControlBinding controlBinding,
int attrIndex)
- Creates a focus adapter for the control associated with the given control binding and
registers interest in the attribute at the given index in the control binding.
focusGained
public void focusGained(java.awt.event.FocusEvent e)
- Notifies the continaing panelBinding of the gain in focus by this adapter's control binding
- Overrides:
focusGained
in class java.awt.event.FocusAdapter
focusLost
public void focusLost(java.awt.event.FocusEvent e)
- A no-op
- Overrides:
focusLost
in class java.awt.event.FocusAdapter