public interface EditConstraints
| Modifier and Type | Method and Description |
|---|---|
boolean |
canAdd(int index) |
default boolean |
canChange(int index)
Determines if the specified data point can be modified.
|
boolean |
canDelete(int index) |
default boolean |
isAcceptable(int index,
double... newValue)
Determines if the specified point can be accepted by the data set.
|
boolean |
isEditable(int dimIndex) |
boolean canAdd(int index)
index - data set point indexdefault boolean canChange(int index)
index - data point indexboolean canDelete(int index)
index - data set point indexdefault boolean isAcceptable(int index,
double... newValue)
index - index of the point being modified or -1 if it is a new pointnewValue - coordinate list of the considered pointtrue if the point is acceptable by the data set, false otherwiseboolean isEditable(int dimIndex)
dimIndex - the dimension index (ie. '0' equals 'X', '1' equals 'Y')Copyright © 2020 GSI Helmholtzzentrum für Schwerionenforschung GmbH. All rights reserved.