public interface IDynamicShape
| Modifier and Type | Field and Description |
|---|---|
static int |
UNLIMITED
Denotes an unlimited dimension in maximum shape
|
| Modifier and Type | Method and Description |
|---|---|
void |
addDataListener(IDataListener l)
Add a listener which will be fired when aspects of the data change for
instance shape or content.
|
void |
fireDataListeners()
Alert any registered listeners
|
ILazyDataset |
getDataset() |
int[] |
getMaxShape() |
boolean |
refreshShape()
Force the shape to be re-read from file, if possible
|
void |
removeDataListener(IDataListener l)
Remove a listener which will be fired when aspects of the data change for
instance shape or content.
|
boolean |
resize(int... newShape)
Change shape
|
void |
setMaxShape(int... maxShape)
Set maximum shape
|
void |
startUpdateChecker(int milliseconds,
IDatasetChangeChecker checker)
Starts a periodic checker to see if dataset has changed in some manner.
|
static final int UNLIMITED
ILazyDataset getDataset()
boolean resize(int... newShape)
newShape - IllegalArgumentException - if new shape exceeds maximum shape or is of different rankUnsupportedOperationException - if used on a viewint[] getMaxShape()
void setMaxShape(int... maxShape)
maxShape - maximum shapevoid startUpdateChecker(int milliseconds, IDatasetChangeChecker checker)
milliseconds - period between checks in millisecondschecker - can be null for default implementation of alerting listeners unconditionallyboolean refreshShape()
void addDataListener(IDataListener l)
l - void removeDataListener(IDataListener l)
l - void fireDataListeners()
Copyright © 2014–2018 Eclipse Foundation. All rights reserved.