public class FormEvent extends EventObject
Form to
notify listeners when a bean has been added or removed.| Modifier and Type | Field and Description |
|---|---|
static int |
ADDED
Value for
id_ indicating whether this event shows that a bean
was added. |
protected Object |
bean_
The bean that was added/removed.
|
protected int |
id_
Member indicating what type of FormEvent this is.
|
static int |
REMOVED
Value for
id_ indicating whether this event shows that a bean
was removed. |
source| Constructor and Description |
|---|
FormEvent(Object source,
Object bean,
int id)
Create a
FormEvent notifying that bean has been
added/removed to/from source. |
| Modifier and Type | Method and Description |
|---|---|
Object |
getBean()
Returns the bean.
|
int |
getId()
Returns id_.
|
getSource, toStringpublic static final int ADDED
id_ indicating whether this event shows that a bean
was added.public static final int REMOVED
id_ indicating whether this event shows that a bean
was removed.protected final int id_
ADDED or REMOVED.protected final Object bean_
public Object getBean()
public int getId()
Copyright © 2003–2016 Community Z Tools Project. All rights reserved.