|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
ca.sqlpower.architect.profile.event.ProfileChangeEvent
public class ProfileChangeEvent
The ProfileChangeEvent represents a change in the contents of a particular ProfileManager. The profile manager that underwent the change is the source of this event.
| Field Summary |
|---|
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
ProfileChangeEvent(ProfileManager source,
java.util.List<? extends ProfileResult> prList)
Creates a profile change event for the given list of profile objects. |
|
ProfileChangeEvent(ProfileManager source,
ProfileResult pr)
Creates a profile change event for the given single profile object. |
|
| Method Summary | |
|---|---|
java.util.List<ProfileResult> |
getProfileResults()
Returns the list of profile results that were either added or removed. |
ProfileManager |
getSource()
Returns the ProfileManager that this event was generated by. |
java.lang.String |
toString()
Returns a string representation of each profile result in this event. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ProfileChangeEvent(ProfileManager source,
ProfileResult pr)
source - The profile manager that gained or lost a profile.pr - The profile gained or lost.
public ProfileChangeEvent(ProfileManager source,
java.util.List<? extends ProfileResult> prList)
source - The profile manager that gained or lost a profile.prList - The list of profiles gained or lost. This list will be
copied, not referenced directly.| Method Detail |
|---|
public java.util.List<ProfileResult> getProfileResults()
public ProfileManager getSource()
getSource in class java.util.EventObjectpublic java.lang.String toString()
toString in class java.util.EventObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||