|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
com.pepper.platform.program.ProgramChangeEvent
public class ProgramChangeEvent
Represents a program change.
Field Summary | |
---|---|
static int |
CREATED
Indicates that the program was created. |
static int |
HIDDEN
Indicates that the program was hidden. |
static int |
REMOVED
Indicates that the program was removed. |
static int |
SHOWN
Indicates that the program was made visibile. |
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
ProgramChangeEvent(Object source,
AbstractPepperProgram program)
Constructs the event on behalf of the source and sets the type to CREATED. |
|
ProgramChangeEvent(Object source,
AbstractPepperProgram program,
int type)
Constructs the event on behalf of the source and sets the type to CREATED. |
Method Summary | |
---|---|
AbstractPepperProgram |
getProgram()
Returns the program. |
int |
getType()
Returns the type of the event. |
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 |
Field Detail |
---|
public static final int CREATED
public static final int REMOVED
public static final int HIDDEN
public static final int SHOWN
Constructor Detail |
---|
public ProgramChangeEvent(Object source, AbstractPepperProgram program)
source
- the source of the event.program
- the program that changed.public ProgramChangeEvent(Object source, AbstractPepperProgram program, int type)
source
- the source of the event.program
- the program that changed.type
- the type of the event.Method Detail |
---|
public int getType()
public AbstractPepperProgram getProgram()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |