public class DefaultAxisLocations<Row,C> extends Object implements AxisLocations
Constructor and Description |
---|
DefaultAxisLocations(<any> axisOrder,
<any> maxDimensions) |
Modifier and Type | Method and Description |
---|---|
void |
drag(Alignment alignment,
AxisModel model,
double l) |
Double |
getLocation(Alignment alignment,
AxisModel axisModel)
Gets the normalized location of an axis.
|
void |
setLocation(Alignment alignment,
AxisModel axisModel,
double l)
Sets the location of an axis within its group.
|
void |
stopDragging() |
public DefaultAxisLocations(<any> axisOrder, <any> maxDimensions)
public Double getLocation(Alignment alignment, AxisModel axisModel)
AxisLocations
getLocation
in interface AxisLocations
axisModel
- the axispublic void setLocation(Alignment alignment, AxisModel axisModel, double l)
AxisLocations
setLocation
in interface AxisLocations
axisModel
- the axisl
- its normalized locationpublic void drag(Alignment alignment, AxisModel model, double l)
drag
in interface AxisLocations
public void stopDragging()
stopDragging
in interface AxisLocations
Copyright © 2015 Macrofocus GmbH. All Rights Reserved.