|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bluej.extensions.event.PackageEvent
public class PackageEvent
This class encapsulates events on BlueJ packages.
Field Summary | |
---|---|
static int |
PACKAGE_CLOSING
This event occurs when a package is just about to be closed. |
static int |
PACKAGE_OPENED
This event occurs when a package has just been opened. |
Constructor Summary | |
---|---|
PackageEvent(int eventId,
bluej.pkgmgr.Package pkg)
Constructor for the PackageEvent. |
Method Summary | |
---|---|
int |
getEvent()
Returns the eventId of this event. |
BPackage |
getPackage()
Returns the package associated with this event. |
java.lang.String |
toString()
Returns a meaningful description of this event. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int PACKAGE_OPENED
public static final int PACKAGE_CLOSING
Constructor Detail |
---|
public PackageEvent(int eventId, bluej.pkgmgr.Package pkg)
Method Detail |
---|
public int getEvent()
public BPackage getPackage()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |