@LcdService(service=ILcdGXYLayerFactory.class, priority=20000) public class TLcdMagneticNorthGXYLayerFactory extends Object implements ILcdGXYLayerFactory
ILcdGXYLayerFactory
to create a
layer for the models created during magnetic north calculations.ILcdGXYLayerFactory
Constructor and Description |
---|
TLcdMagneticNorthGXYLayerFactory() |
Modifier and Type | Method and Description |
---|---|
protected ILcdGXYLabelPainterProvider |
createGXYLabelPainterProvider(ILcdModel aModel)
Creates a label painter for the given magnetic north model.
|
ILcdGXYLayer |
createGXYLayer(ILcdModel aModel)
Creates a new
ILcdGXYLayer for aModel. |
protected ILcdGXYPainterProvider |
createGXYPainterProvider(ILcdModel aModel)
Creates a painter for the given magnetic north model.
|
public ILcdGXYLayer createGXYLayer(ILcdModel aModel)
ILcdGXYLayer
for aModel.
Adds a specific painter, TLcdMagneticNorthGXYPainter
, and a specific
label painter, TLcdMagneticNorthGXYLabelPainter
for magnetic north chart.createGXYLayer
in interface ILcdGXYLayerFactory
aModel
- Must be a TLcdMagneticNorthModel
ILcdGXYLayer
for the given model.TLcdGXYViewJPanel.setGXYLayerFactory(com.luciad.view.gxy.ILcdGXYLayerFactory)
protected ILcdGXYPainterProvider createGXYPainterProvider(ILcdModel aModel)
TLcdMagneticNorthGXYPainter
.aModel
- the magnetic north model to create a painter forprotected ILcdGXYLabelPainterProvider createGXYLabelPainterProvider(ILcdModel aModel)
TLcdMagneticNorthGXYLabelPainter
.aModel
- the magnetic north model to create a label painter for