NASA World Wind

gov.nasa.worldwind.render
Class SegmentPlaneAttributes.LabelAttributes

java.lang.Object
  extended by gov.nasa.worldwind.render.SegmentPlaneAttributes.LabelAttributes
Direct Known Subclasses:
SARSegmentPlane.MessageLabelAttributes, SARSegmentPlane.SARLabelAttributes
Enclosing class:
SegmentPlaneAttributes

public static class SegmentPlaneAttributes.LabelAttributes
extends Object


Constructor Summary
SegmentPlaneAttributes.LabelAttributes()
           
SegmentPlaneAttributes.LabelAttributes(Color color, Font font, String horizontalAlignment, String verticalAlignment)
           
 
Method Summary
 SegmentPlaneAttributes.LabelAttributes copy()
           
protected  SegmentPlaneAttributes.LabelAttributes copyTo(SegmentPlaneAttributes.LabelAttributes copy)
           
 Color getColor()
           
 Font getFont()
           
 String getHorizontalAlignment()
           
 double getMaxActiveDistance()
           
 double getMinActiveDistance()
           
 Vec4 getOffset()
           
 String getText(SegmentPlane segmentPlane, Position position, AVList values)
           
 String getVerticalAlignment()
           
 boolean isVisible()
           
 void setColor(Color color)
           
 void setFont(Font font)
           
 void setHorizontalAlignment(String horizontalAlignment)
           
 void setMaxActiveDistance(double distance)
           
 void setMinActiveDistance(double distance)
           
 void setOffset(Vec4 vec4)
           
 void setVerticalAlignment(String verticalAlignment)
           
 void setVisible(boolean visible)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SegmentPlaneAttributes.LabelAttributes

public SegmentPlaneAttributes.LabelAttributes()

SegmentPlaneAttributes.LabelAttributes

public SegmentPlaneAttributes.LabelAttributes(Color color,
                                              Font font,
                                              String horizontalAlignment,
                                              String verticalAlignment)
Method Detail

copy

public SegmentPlaneAttributes.LabelAttributes copy()

copyTo

protected SegmentPlaneAttributes.LabelAttributes copyTo(SegmentPlaneAttributes.LabelAttributes copy)

getColor

public Color getColor()

getFont

public Font getFont()

getHorizontalAlignment

public String getHorizontalAlignment()

getMaxActiveDistance

public double getMaxActiveDistance()

getMinActiveDistance

public double getMinActiveDistance()

getOffset

public Vec4 getOffset()

getText

public String getText(SegmentPlane segmentPlane,
                      Position position,
                      AVList values)

getVerticalAlignment

public String getVerticalAlignment()

isVisible

public boolean isVisible()

setColor

public void setColor(Color color)

setFont

public void setFont(Font font)

setHorizontalAlignment

public void setHorizontalAlignment(String horizontalAlignment)

setMaxActiveDistance

public void setMaxActiveDistance(double distance)

setMinActiveDistance

public void setMinActiveDistance(double distance)

setOffset

public void setOffset(Vec4 vec4)

setVerticalAlignment

public void setVerticalAlignment(String verticalAlignment)

setVisible

public void setVisible(boolean visible)

NASA World Wind