public class TileEvent extends EventObject
IlvManagerView
. If the method
IlvTileController.lockTile
is called, the source
is the last parameter of this method.TileListener
,
Serialized FormModifier and Type | Field and Description |
---|---|
static int |
CONTROLLER_DISPOSED
The type of event sent when a tile controller ends its activity.
|
static int |
ERROR
The type of event sent when a tile could not be fully loaded because
an error occurred.
|
static int |
NO_CHANGE
A NOP Event used to close an adjusting session.
|
static int |
TILE_ABOUT_TO_LOAD
The type of event sent when a tile is about to be loaded.
|
static int |
TILE_CACHED
The type of event sent when a tile is about to be placed in the cache.
|
static int |
TILE_LOADED
The type of event sent when a tile is fully loaded
|
static int |
TILE_RELEASED
The type of event sent when a tile is about to be deleted.
|
static int |
TILE_RETRIEVED
The type of event sent when a tile is about to be retrieved from the
cache.
|
source
Modifier and Type | Method and Description |
---|---|
Throwable |
getThrowable()
Returns the
throwable that corresponds to the error for this tile,
when the event type is ERROR. |
IlvTile |
getTile()
Returns the modified tile.
|
int |
getType()
Returns the type of the event.
|
boolean |
isAdjusting()
Returns
true if this event is part of a series of several events. |
boolean |
isAdjustmentEnd()
Returns
true if this event is the last in a series of several events. |
String |
toString()
Returns a description of the event.
|
getSource
public static final int TILE_ABOUT_TO_LOAD
public static final int TILE_RELEASED
public static final int TILE_CACHED
public static final int TILE_RETRIEVED
public static final int TILE_LOADED
public static final int CONTROLLER_DISPOSED
public static final int ERROR
public static final int NO_CHANGE
public final int getType()
public final IlvTile getTile()
null
if the event type is CONTROLLER_DISPOSED
.public Throwable getThrowable()
throwable
that corresponds to the error for this tile,
when the event type is ERROR.public boolean isAdjusting()
true
if this event is part of a series of several events.public boolean isAdjustmentEnd()
true
if this event is the last in a series of several events.public String toString()
toString
in class EventObject
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.