public class DefaultAxisFactory1D extends Object implements AxisFactory1D
GlimpseAxisLayout1D
,
GlimpseAxisLayout2D
Constructor and Description |
---|
DefaultAxisFactory1D() |
public Axis1D newAxis(GlimpseTargetStack stack, Axis1D axis)
AxisFactory1D
Normally, this method simply calls Axis1D.clone( ) which returns a copied axis linked to the original. However, other implementations of AxisFactory may have different behavior (perhaps not linking the original and copy, or setting the copy to a fixed size).
The GlimpseTargetStack argument may be used if the axis which is created should be different depending on where the axis is being used. Most normal implementations can ignore this.
newAxis
in interface AxisFactory1D
stack
- the context in which the axis is being usedaxis
- the original/parent axisCopyright © 2013 Metron, Inc.. All rights reserved.