public interface ILcdEditableMultilevelGridCoordinate extends ILcdMultilevelGridCoordinate
ILcdMultilevelGrid
with regard to which it is defined.
The change may incorporate changing the value of a coordinate at a given level or changing the number
of levels up to which a multilevel grid coordinate is defined.
Increasing the level up to which a multilevel grid coordinate is specified will make it designate an area that is part
of the area it used to designate. Decreasing the level up to which a multilevel grid coordinate is specified will
make it cover a 'parent' area of the area it used to designate. Changing the value of a coordinate at any level will
make it designate an area of the same size at a different location.Modifier and Type | Method and Description |
---|---|
void |
setCoordinate(int aLevel,
int aAxis,
int aCoordinate)
Sets the coordinate at the given level and axis to the given value.
|
void |
setCoordinateLevelCount(int aLevelCount)
Sets how many levels of this coordinate are taken into account.
|
cloneAsEditableMultilevelCoordinate, getCoordinate, getCoordinateLevelCount
void setCoordinate(int aLevel, int aAxis, int aCoordinate)
ILcdMultilevelGridCoordinate.getCoordinateLevelCount()
, the value of the coordinate will
not be taken into account until the value returned by getCoordinateLevelCount
is higher
than the level passed.aLevel
- the level at which to change the coordinate.aAxis
- the axis for which to change the coordinate, either
ILcdMultilevelGrid.X_AXIS
or ILcdMultilevelGrid.Y_AXIS
.aCoordinate
- the new value for the coordinate at the given level and axis.void setCoordinateLevelCount(int aLevelCount)
aLevelCount
- the number of levels taken into account for this multilevel grid coordinate.