oracle.dacf.control
Class NavigatedEvent
java.lang.Object
|
+--java.util.EventObject
|
+--oracle.dacf.control.NavigatedEvent
- All Implemented Interfaces:
- java.io.Serializable
- public class NavigatedEvent
- extends java.util.EventObject
NavigatedEvent is used by a Control to notify it's listener's
about the type and level of navigation change that occurs
when focus changes from control to another.
- See Also:
Control#addNavigatedListener()
,
NavigatedListener
, Serialized Form
Fields inherited from class java.util.EventObject |
source |
Constructor Summary |
NavigatedEvent(Control source,
int type,
int level)
Constructs a NavigatedEvent object of the given type
and level |
Method Summary |
int |
getLevel()
Returns the level of the event. |
int |
getType()
Returns the type of the event. |
java.lang.String |
toString()
Returns a String representaion of this object |
Methods inherited from class java.util.EventObject |
getSource |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NAVIGATE_IN
public static final int NAVIGATE_IN
NAVIGATE_OUT
public static final int NAVIGATE_OUT
NavigatedEvent
public NavigatedEvent(Control source,
int type,
int level)
- Constructs a NavigatedEvent object of the given type
and level
- Parameters:
source
- The source Control firing the event.type
- Type of the event. Either NAVIGATE_IN or NAVIGATE_OUT.level
- Level of change. Should be one of:
- InfoObject.LEVEL_COLUMN
- InfoObject.LEVEL_ROW
- InfoObject.LEVEL_ROWSET
- InfoObject.LEVEL_SESSION
getType
public final int getType()
- Returns the type of the event.
- Returns:
- Type of event
getLevel
public final int getLevel()
- Returns the level of the event.
- Returns:
- level of event
toString
public java.lang.String toString()
- Returns a String representaion of this object
- Overrides:
toString
in class java.util.EventObject
- Returns:
- The string representation