public class FormFocusEvent extends FormEvent
A specific event class dealing with focus events.
A focus event is fired when a component gains or loses focus.
Modifier and Type | Class and Description |
---|---|
static class |
FormFocusEvent.Type
An enumeration class defining the different types of focus events.
|
source
Constructor and Description |
---|
FormFocusEvent(Object source,
ComponentHandler<?> handler,
String name,
FormFocusEvent.Type type)
Creates a new instance of
FormFocusEvent and initializes it. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
This base implementation tests the handler and name
properties.
|
FormFocusEvent.Type |
getType()
Returns the type of this event.
|
int |
hashCode()
Returns a hash code for this object.
|
getHandler, getName
getSource, toString
public FormFocusEvent(Object source, ComponentHandler<?> handler, String name, FormFocusEvent.Type type)
FormFocusEvent
and initializes it.source
- the source eventhandler
- the component handlername
- the component's nametype
- the focus type of the event (gained or lost)public FormFocusEvent.Type getType()
public int hashCode()
public boolean equals(Object obj)
Copyright © 2016 The JGUIraffe Team. All rights reserved.