public class CacheEvent extends Object
| Modifier and Type | Field and Description | 
|---|---|
| protected int | indexRelevant index to the event, if any. | 
| static int | OBJECT_DROPPEDEvent type indicating an object has been removed from the cache. | 
| static int | OBJECT_LOADEDEvent type indicating an object has been added to the cache. | 
| static int | ORDER_CHANGEDEvent type indicating new planar ordering. | 
| static int | POSITION_CHANGEDEvent type indicating an updated current dimensional position. | 
| static int | PRIORITIES_CHANGEDEvent type indicating new axis priorities. | 
| static int | RANGE_CHANGEDEvent type indicating new planar ordering. | 
| protected Object | sourceSource of the cache update. | 
| static int | SOURCE_CHANGEDEvent type indicating a new cache source. | 
| static int | STRATEGY_CHANGEDEvent type indicating a new cache strategy. | 
| protected int | typeType 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. | 
| Modifier and Type | Method and Description | 
|---|---|
| int | getIndex()Gets the index relevant to the cache update, if any. | 
| Object | getSource()Gets the source of the cache update. | 
| int | getType()Gets the type of cache update. | 
| 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 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 © 2017 Open Microscopy Environment