Class SARSegmentPlane.SARLabelAttributes
- java.lang.Object
-
- gov.nasa.worldwindx.applications.sar.segmentplane.SegmentPlaneAttributes.LabelAttributes
-
- gov.nasa.worldwindx.applications.sar.SARSegmentPlane.SARLabelAttributes
-
- Direct Known Subclasses:
SARSegmentPlane.AltitudeLabelAttributes
,SARSegmentPlane.AxisLabelAttributes
,SARSegmentPlane.ControlPointLabelAttributes
- Enclosing class:
- SARSegmentPlane
public static class SARSegmentPlane.SARLabelAttributes extends SegmentPlaneAttributes.LabelAttributes
-
-
Constructor Summary
Constructors Constructor Description SARLabelAttributes()
SARLabelAttributes(java.awt.Color color, java.awt.Font font, java.lang.String horizontalAlignment, java.lang.String verticalAlignment, SARSegmentPlane context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SegmentPlaneAttributes.LabelAttributes
copy()
protected SegmentPlaneAttributes.LabelAttributes
copyTo(SegmentPlaneAttributes.LabelAttributes copy)
protected java.lang.String
formatAngle(Angle angle)
protected java.lang.String
formatElevation(double value)
SARSegmentPlane
getContext()
void
setContext(SARSegmentPlane context)
-
Methods inherited from class gov.nasa.worldwindx.applications.sar.segmentplane.SegmentPlaneAttributes.LabelAttributes
getColor, getFont, getHorizontalAlignment, getMaxActiveDistance, getMinActiveDistance, getOffset, getText, getVerticalAlignment, isVisible, setColor, setFont, setHorizontalAlignment, setMaxActiveDistance, setMinActiveDistance, setOffset, setVerticalAlignment, setVisible
-
-
-
-
Constructor Detail
-
SARLabelAttributes
public SARLabelAttributes(java.awt.Color color, java.awt.Font font, java.lang.String horizontalAlignment, java.lang.String verticalAlignment, SARSegmentPlane context)
-
SARLabelAttributes
public SARLabelAttributes()
-
-
Method Detail
-
getContext
public SARSegmentPlane getContext()
-
setContext
public void setContext(SARSegmentPlane context)
-
copy
public SegmentPlaneAttributes.LabelAttributes copy()
- Overrides:
copy
in classSegmentPlaneAttributes.LabelAttributes
-
copyTo
protected SegmentPlaneAttributes.LabelAttributes copyTo(SegmentPlaneAttributes.LabelAttributes copy)
- Overrides:
copyTo
in classSegmentPlaneAttributes.LabelAttributes
-
formatAngle
protected java.lang.String formatAngle(Angle angle)
-
formatElevation
protected java.lang.String formatElevation(double value)
-
-