|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
org.havi.ui.event.HBackgroundImageEvent
public class HBackgroundImageEvent
This event informs an application that a loading operation for an
HBackgroundImage has
finished.
| Parameter | Description | Default value | Set method | Get method |
|---|---|---|---|---|
| None. | ||||
| Description | Default value | Set method | Get method |
|---|---|---|---|
| None. | |||
| Field Summary | |
|---|---|
static int |
BACKGROUNDIMAGE_FILE_NOT_FOUND
The loading failed before attempting to load any data from the file. |
static int |
BACKGROUNDIMAGE_FIRST
Marks the first integer for the range of background image events |
static int |
BACKGROUNDIMAGE_INVALID
The loading failed because the data loaded is not valid. |
static int |
BACKGROUNDIMAGE_IOERROR
The loading failed due to an error while loading the data. |
static int |
BACKGROUNDIMAGE_LAST
Marks the last integer for the range of background image events |
static int |
BACKGROUNDIMAGE_LOADED
The loading succeeded |
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
HBackgroundImageEvent(Object source,
int id)
Constructs a new HBackgroundImageEvent. |
|
| Method Summary | |
|---|---|
int |
getID()
Returns the type for this event. |
Object |
getSource()
Returns the HBackgroundImage for which the data has been loaded. |
| Methods inherited from class java.util.EventObject |
|---|
toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int BACKGROUNDIMAGE_FIRST
public static final int BACKGROUNDIMAGE_LOADED
public static final int BACKGROUNDIMAGE_FILE_NOT_FOUND
public static final int BACKGROUNDIMAGE_IOERROR
public static final int BACKGROUNDIMAGE_INVALID
public static final int BACKGROUNDIMAGE_LAST
| Constructor Detail |
|---|
public HBackgroundImageEvent(Object source,
int id)
HBackgroundImageEvent.
source - the HBackgroundImage which has been loaded.id - the type of event (one of BACKGROUNDIMAGE_LOADED, BACKGROUNDIMAGE_FILE_NOT_FOUND, BACKGROUNDIMAGE_IOERROR or BACKGROUNDIMAGE_INVALID).| Method Detail |
|---|
public Object getSource()
HBackgroundImage for which the data has been loaded.
getSource in class EventObjectpublic int getID()
BACKGROUNDIMAGE_LOADED, BACKGROUNDIMAGE_FILE_NOT_FOUND, BACKGROUNDIMAGE_IOERROR or BACKGROUNDIMAGE_INVALID).
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||