|
LEONARDI Application Composer - 8.9.0.40 by W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectleon.app.LyGlobalEvent
public class LyGlobalEvent
This class implements an event of creation/modification/deletion for an object within a data
source. The event is sent to 'registered listeners': classes which implements the LyDataSourceListener
interface and which were added as listener of the dataSource.
LyDataSource
,
LyDataSourceListener
Field Summary | |
---|---|
static java.lang.String |
__VERSION
File version |
static short |
LAST_TYPE
Constant : LAST_TYPE, the last number type used by Leonardi. |
static short |
TYPE_ACTIVE_VIEW
Event type : ACTIVE_VIEW, active view change event. |
static short |
TYPE_ALL
Event type : ALL, all the types of events. |
static short |
TYPE_SELECTION
Event type : SELECTION, selection change event. |
Constructor Summary | |
---|---|
LyGlobalEvent(short type,
java.lang.Object data)
Constructs a data source event of the given type with the given data. |
Method Summary | |
---|---|
java.lang.Object |
getData()
Gets data associated to this event. |
short |
getType()
Gets the type of this event. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String __VERSION
public static final short TYPE_ALL
public static final short TYPE_ACTIVE_VIEW
public static final short TYPE_SELECTION
public static final short LAST_TYPE
Constructor Detail |
---|
public LyGlobalEvent(short type, java.lang.Object data)
type
- Type of event which occured. Possible values are TYPE_XXX constants:
data
- data associated to this eventMethod Detail |
---|
public short getType()
public java.lang.Object getData()
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |