ModePlotter.Form
, ShapeForm
public class SkyMultiPointForm extends MultiPointForm
Modifier and Type | Field | Description |
---|---|---|
static ConfigKey<java.lang.Double> |
SCALE_KEY |
Config key for angular extent scaling.
|
static ConfigKey<AngleUnit> |
UNIT_KEY |
Config key for selecting angular extent units.
|
Constructor | Description |
---|---|
SkyMultiPointForm(java.lang.String name,
javax.swing.Icon icon,
java.lang.String description,
MultiPointCoordSet extraCoordSet,
MultiPointConfigKey rendererKey) |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
static java.lang.String |
getCoordUnitText() |
Returns a sentence of XML text describing the units of a scaled
coordinate are specified.
|
protected double |
getScaleFactor(ConfigMap config) |
Returns a fixed constant by which to scale all (autoscaled or not
autoscaled) offset values before plotting.
|
static java.lang.String |
getScalingDescription(FloatingCoord[] scaledCoords,
java.lang.String shapename) |
Returns XML text suitable for inclusion in a MultiPointForm description
explaining how the scaling of marker sizes is controlled.
|
protected boolean |
isAutoscale(ConfigMap config) |
Indicates whether autoscaling should be applied.
|
createDefaultForm, createErrorForm, createOutliner, createVectorForm, getConfigKeys, getDefaultScalingDescription, getExtraCoords, getFormDescription, getFormIcon, getFormName, getPositionCount
public static final ConfigKey<java.lang.Double> SCALE_KEY
public SkyMultiPointForm(java.lang.String name, javax.swing.Icon icon, java.lang.String description, MultiPointCoordSet extraCoordSet, MultiPointConfigKey rendererKey)
name
- shapeform nameicon
- shapeform icondescription
- XML descriptionextraCoordSet
- defines the extra positional coordinates
used to plot multipoint shapesrendererKey
- config key for the renderer, defining the
plotted shape;
any renderer specified must be
expecting data corresponding
to the extraCoordSet parameterprotected double getScaleFactor(ConfigMap config)
MultiPointForm
getScaleFactor
in class MultiPointForm
config
- config mapprotected boolean isAutoscale(ConfigMap config)
MultiPointForm
isAutoscale
in class MultiPointForm
config
- config mappublic static java.lang.String getCoordUnitText()
public static java.lang.String getScalingDescription(FloatingCoord[] scaledCoords, java.lang.String shapename)
scaledCoords
- coordinates that will be scaled by the
scale and unit config optionsshapename
- human-readable name of the shape being plotted
by this formCopyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.