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.LabelAttributescopy()protected SegmentPlaneAttributes.LabelAttributescopyTo(SegmentPlaneAttributes.LabelAttributes copy)protected java.lang.StringformatAngle(Angle angle)protected java.lang.StringformatElevation(double value)SARSegmentPlanegetContext()voidsetContext(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:
copyin classSegmentPlaneAttributes.LabelAttributes
-
copyTo
protected SegmentPlaneAttributes.LabelAttributes copyTo(SegmentPlaneAttributes.LabelAttributes copy)
- Overrides:
copyToin classSegmentPlaneAttributes.LabelAttributes
-
formatAngle
protected java.lang.String formatAngle(Angle angle)
-
formatElevation
protected java.lang.String formatElevation(double value)
-
-