public class HBackgroundImageEvent extends EventObject
HBackgroundImage has
finished.
| Parameter | Description | Default value | Set method | Get method |
|---|---|---|---|---|
| None. | ||||
| Description | Default value | Set method | Get method |
|---|---|---|---|
| None. | |||
| Modifier and Type | Field and Description |
|---|---|
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
|
source| Constructor and Description |
|---|
HBackgroundImageEvent(Object source,
int id)
Constructs a new
HBackgroundImageEvent. |
| Modifier and Type | Method and Description |
|---|---|
int |
getID()
Returns the type for this event.
|
Object |
getSource()
Returns the
HBackgroundImage for which the data has been loaded. |
toStringpublic 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
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).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).Copyright © 2012 code4tv.com. All Rights Reserved.