public class CacheEvent
extends java.lang.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 java.lang.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(java.lang.Object source,
int type)
Constructs a cache event.
|
CacheEvent(java.lang.Object source,
int type,
int index)
Constructs a cache event.
|
Modifier and Type | Method and Description |
---|---|
int |
getIndex()
Gets the index relevant to the cache update, if any.
|
java.lang.Object |
getSource()
Gets the source of the cache update.
|
int |
getType()
Gets the type of cache update.
|
java.lang.String |
toString() |
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 java.lang.Object source
protected int type
protected int index
public CacheEvent(java.lang.Object source, int type)
public CacheEvent(java.lang.Object source, int type, int index)
public java.lang.Object getSource()
public int getType()
public int getIndex()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2022 Open Microscopy Environment