com.equitysoft.components
Class EnterExitEvent
java.lang.Object
|
+--java.util.EventObject
|
+--com.equitysoft.components.EnterExitEvent
- public class EnterExitEvent
- extends java.util.EventObject
This event is used to indicate to a EnterExitListener
if the cursor has entered
or exited an IEButton instance.
- See Also:
- Serialized Form
Constructor Summary |
EnterExitEvent(java.lang.Object source,
boolean entered)
Creates an instance of EnterExitEvent with the boolean value that indicates the condition that
caused the event. |
Methods inherited from class java.util.EventObject |
getSource,
toString |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
EnterExitEvent
public EnterExitEvent(java.lang.Object source,
boolean entered)
- Creates an instance of EnterExitEvent with the boolean value that indicates the condition that
caused the event.
getState
public boolean getState()
- Returns:
- A boolean value that indicates if the event was enter or exit.
A value of
true
indicates the cursor entered the button. A value
of false
indicates that the cursor exited the button.