|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.EventObject java.awt.AWTEvent com.ngs.image.ImageEvent
public class ImageEvent
Field Summary | |
---|---|
static int |
IMAGE_ERROR
|
static int |
IMAGE_INVALID
|
static int |
IMAGE_RESIZE
|
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
ImageEvent(Object source,
int ID)
Creates a new event with the specified source and type This constructor is for events which do NOT have associated pages such as IMAGE_INVALID or IMAGE_ERROR. |
|
ImageEvent(Object source,
int ID,
int page)
Creates a new event with the specified source, type, and page number. |
|
ImageEvent(Object source,
int ID,
int page,
String message)
Creates a new event with the specified source, type, page number, and message. |
|
ImageEvent(Object source,
int ID,
String message)
Creates a new event with the specified source, ID, and Message. |
Method Summary | |
---|---|
String |
getMessage()
Gets the message for this event |
int |
getPage()
Gets the page this Event is describing. |
int |
getType()
Gets the type of event. |
String |
toString()
|
Methods inherited from class java.awt.AWTEvent |
---|
consume, getID, isConsumed, paramString, setSource |
Methods inherited from class java.util.EventObject |
---|
getSource |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int IMAGE_INVALID
public static final int IMAGE_ERROR
public static final int IMAGE_RESIZE
Constructor Detail |
---|
public ImageEvent(Object source, int ID, int page, String message)
source
- The object originating the eventID
- The IMAGE_xxxx type of the eventpage
- The page which the event type referrs tomessage
- The Message to go along with the event.public ImageEvent(Object source, int ID, int page)
source
- The object originating the eventID
- The IMAGE_xxxx type of the eventpage
- The page which the event type referrs topublic ImageEvent(Object source, int ID, String message)
source
- The object originating the event.ID
- the IMAGE_xxxx type of the event.message
- The message to go along with the event.public ImageEvent(Object source, int ID)
source
- The object originating the eventID
- The IMAGE_xxxx type of the eventMethod Detail |
---|
public int getPage()
public String getMessage()
public int getType()
public String toString()
toString
in class AWTEvent
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |