|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
com.dlsc.flexgantt.policy.PolicyProviderEvent
public class PolicyProviderEvent
An event object which wraps information about an event / a change that occured inside a policy provider. The event will be sent to those policy provider listeners that are attached to the provider that changed.
IPolicyProvider.addPolicyProviderListener(IPolicyProviderListener),
Serialized Form| Nested Class Summary | |
|---|---|
static class |
PolicyProviderEvent.ID
An event identifier used to distinguish between different types of events that can take place inside a policy provider. |
| Field Summary |
|---|
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
PolicyProviderEvent(IPolicyProvider pp,
PolicyProviderEvent.ID id,
java.lang.Class<? extends IPolicy> policyType,
IPolicy policyImpl)
Constructs a new policy provider event. |
|
| Method Summary | |
|---|---|
PolicyProviderEvent.ID |
getId()
Returns the event identifier that can be used to distinguish between different types of events. |
IPolicy |
getPolicyImpl()
Returns the new policy implementation. |
IPolicyProvider |
getPolicyProvider()
Returns the source of the event (the modified policy provider). |
java.lang.Class<? extends IPolicy> |
getPolicyType()
Returns the type of the changed policy. |
| Methods inherited from class java.util.EventObject |
|---|
getSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PolicyProviderEvent(IPolicyProvider pp,
PolicyProviderEvent.ID id,
java.lang.Class<? extends IPolicy> policyType,
IPolicy policyImpl)
pp - the changed policy providerid - the event identifier used to distinguish between different
types of eventspolicyType - the type of the policy that was changedpolicyImpl - the new implementation of the changed policy| Method Detail |
|---|
public IPolicyProvider getPolicyProvider()
public PolicyProviderEvent.ID getId()
public IPolicy getPolicyImpl()
public java.lang.Class<? extends IPolicy> getPolicyType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||