public class DeferralChangeEvent extends EventObject
Modifier and Type | Field and Description |
---|---|
static int |
CREATED |
static int |
DELETED |
static int |
EXECUTED |
static int |
MODIFIED |
source
Constructor and Description |
---|
DeferralChangeEvent(Object source)
Constructs a DeferralChangeEvent object with a default value
|
DeferralChangeEvent(Object source,
int type)
Constructs a DeferralChangeEvent object.
|
DeferralChangeEvent(Object source,
int type,
PModelHandle[] hSchedules)
Constructs a DeferralChangeEvent object.
|
Modifier and Type | Method and Description |
---|---|
PModelHandle[] |
getScheduleObjects() |
int |
getType()
Retrieves the type of the deferral that changed
|
getSource, toString
public static final int CREATED
public static final int MODIFIED
public static final int DELETED
public static final int EXECUTED
public DeferralChangeEvent(Object source)
source
- the Object that is the source of the event
(typically this
)public DeferralChangeEvent(Object source, int type)
source
- the Object that is the source of the event
(typically this
)type
- the item been CREATED, MODIFIED, DELETED, or EXECUTEDpublic DeferralChangeEvent(Object source, int type, PModelHandle[] hSchedules)
source
- the Object that is the source of the event
(typically this
)type
- the item been CREATED, MODIFIED, DELETED, or EXECUTEDhSchedules[]
- the pModelHandle array of the scheduled items.public int getType()
public PModelHandle[] getScheduleObjects()
Copyright © 2003, 2023, Oracle and/or its affiliates.