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 newX,
double newY)
Determines if the specified point can be accepted by the data set.
|
boolean |
isXEditable() |
boolean |
isYEditable() |
boolean canDelete(int index)
index - data set point indexboolean canAdd(int index)
index - data set point indexdefault boolean canChange(int index)
index - data point indexboolean isXEditable()
boolean isYEditable()
default boolean isAcceptable(int index,
double newX,
double newY)
index - index of the point being modified or -1 if it is a new pointnewX - X coordinate of the considered pointnewY - Y coordinate of the considered pointtrue if the point is acceptable by the data set,
false otherwiseCopyright © 2019 GSI Helmholtzzentrum für Schwerionenforschung GmbH. All rights reserved.