public class CacheEvent extends Object
Modifier and Type | Field and Description |
---|---|
protected int |
index
Relevant index to the event, if any.
|
static int |
OBJECT_DROPPED
Event type indicating an object has been removed from the cache.
|
static int |
OBJECT_LOADED
Event type indicating an object has been added to the cache.
|
static int |
ORDER_CHANGED
Event type indicating new planar ordering.
|
static int |
POSITION_CHANGED
Event type indicating an updated current dimensional position.
|
static int |
PRIORITIES_CHANGED
Event type indicating new axis priorities.
|
static int |
RANGE_CHANGED
Event type indicating new planar ordering.
|
protected Object |
source
Source of the cache update.
|
static int |
SOURCE_CHANGED
Event type indicating a new cache source.
|
static int |
STRATEGY_CHANGED
Event type indicating a new cache strategy.
|
protected int |
type
Type of cache event.
|
Constructor and Description |
---|
CacheEvent(Object source,
int type)
Constructs a cache event.
|
CacheEvent(Object source,
int type,
int index)
Constructs a cache event.
|
public static final int SOURCE_CHANGED
public static final int STRATEGY_CHANGED
public static final int POSITION_CHANGED
public static final int PRIORITIES_CHANGED
public static final int ORDER_CHANGED
public static final int RANGE_CHANGED
public static final int OBJECT_LOADED
public static final int OBJECT_DROPPED
protected Object source
protected int type
protected int index
public CacheEvent(Object source, int type)
public CacheEvent(Object source, int type, int index)
public Object getSource()
public int getType()
public int getIndex()
Copyright © 2016 Open Microscopy Environment