com.esri.arcgisws
Class SimpleTextSymbol

java.lang.Object
  extended by com.esri.arcgisws.Symbol
      extended by com.esri.arcgisws.SimpleTextSymbol
All Implemented Interfaces:
Serializable

public class SimpleTextSymbol
extends Symbol
implements Serializable

Java class for SimpleTextSymbol complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="SimpleTextSymbol">
   <complexContent>
     <extension base="{http://www.esri.com/schemas/ArcGIS/10.0}Symbol">
       <sequence>
         <element name="Color" type="{http://www.esri.com/schemas/ArcGIS/10.0}Color" minOccurs="0"/>
         <element name="BackgroundColor" type="{http://www.esri.com/schemas/ArcGIS/10.0}Color" minOccurs="0"/>
         <element name="OutlineColor" type="{http://www.esri.com/schemas/ArcGIS/10.0}Color" minOccurs="0"/>
         <element name="VerticalAlignment" type="{http://www.esri.com/schemas/ArcGIS/10.0}esriSimpleTextVerticalAlignment" minOccurs="0"/>
         <element name="HorizontalAlignment" type="{http://www.esri.com/schemas/ArcGIS/10.0}esriSimpleTextHorizontalAlignment" minOccurs="0"/>
         <element name="RightToLeft" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
         <element name="Angle" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
         <element name="XOffset" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
         <element name="YOffset" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
         <element name="Size" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
         <element name="FontFamilyName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="FontStyle" type="{http://www.esri.com/schemas/ArcGIS/10.0}esriFontStyle" minOccurs="0"/>
         <element name="FontWeight" type="{http://www.esri.com/schemas/ArcGIS/10.0}esriFontWeight" minOccurs="0"/>
         <element name="FontDecoration" type="{http://www.esri.com/schemas/ArcGIS/10.0}esriFontDecoration" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Constructor Summary
SimpleTextSymbol()
          SimpleTextSymbol default constructor.
SimpleTextSymbol(Color color, Color backgroundColor, Color outlineColor, EsriSimpleTextVerticalAlignment verticalAlignment, EsriSimpleTextHorizontalAlignment horizontalAlignment, Boolean rightToLeft, Double angle, Double xOffset, Double yOffset, Double size, String fontFamilyName, EsriFontStyle fontStyle, EsriFontWeight fontWeight, EsriFontDecoration fontDecoration)
          Deprecated. 
 
Method Summary
 Double getAngle()
          Text baseline angle.
 Color getBackgroundColor()
          Gets the value of the backgroundColor property.
 Color getColor()
          Text color." Gets the value of the color property.
 EsriFontDecoration getFontDecoration()
          Gets the value of the fontDecoration property.
 String getFontFamilyName()
          The name of the font family.
 EsriFontStyle getFontStyle()
          The font style.
 EsriFontWeight getFontWeight()
          The boldness or weight of the font.
 EsriSimpleTextHorizontalAlignment getHorizontalAlignment()
          Horizontal alignment style.
 Color getOutlineColor()
          Gets the value of the outlineColor property.
 Boolean getRightToLeft()
          Indicates if the text is drawn from right to left.
 Double getSize()
          Text size.
 EsriSimpleTextVerticalAlignment getVerticalAlignment()
          Vertical alignment style.
 Double getXOffset()
          Gets the value of the xOffset property.
 Double getYOffset()
          Gets the value of the yOffset property.
 Boolean isRightToLeft()
          Indicates if the text is drawn from right to left.
 void setAngle(Double value)
          Text baseline angle.
 void setBackgroundColor(Color value)
          Sets the value of the backgroundColor property.
 void setColor(Color value)
          Text color." Sets the value of the color property.
 void setFontDecoration(EsriFontDecoration value)
          Sets the value of the fontDecoration property.
 void setFontFamilyName(String value)
          The name of the font family.
 void setFontStyle(EsriFontStyle value)
          The font style.
 void setFontWeight(EsriFontWeight value)
          The boldness or weight of the font.
 void setHorizontalAlignment(EsriSimpleTextHorizontalAlignment value)
          Horizontal alignment style.
 void setOutlineColor(Color value)
          Sets the value of the outlineColor property.
 void setRightToLeft(Boolean value)
          Indicates if the text is drawn from right to left.
 void setSize(Double value)
          Text size.
 void setVerticalAlignment(EsriSimpleTextVerticalAlignment value)
          Vertical alignment style.
 void setXOffset(Double value)
          Sets the value of the xOffset property.
 void setYOffset(Double value)
          Sets the value of the yOffset property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleTextSymbol

@Deprecated
public SimpleTextSymbol(Color color,
                                   Color backgroundColor,
                                   Color outlineColor,
                                   EsriSimpleTextVerticalAlignment verticalAlignment,
                                   EsriSimpleTextHorizontalAlignment horizontalAlignment,
                                   Boolean rightToLeft,
                                   Double angle,
                                   Double xOffset,
                                   Double yOffset,
                                   Double size,
                                   String fontFamilyName,
                                   EsriFontStyle fontStyle,
                                   EsriFontWeight fontWeight,
                                   EsriFontDecoration fontDecoration)
Deprecated. 

SimpleTextSymbol constructor.


SimpleTextSymbol

public SimpleTextSymbol()
SimpleTextSymbol default constructor.

Method Detail

getColor

public Color getColor()
Text color." Gets the value of the color property.

Returns:
possible object is Color

setColor

public void setColor(Color value)
Text color." Sets the value of the color property.

Parameters:
value - allowed object is Color

getBackgroundColor

public Color getBackgroundColor()
Gets the value of the backgroundColor property.

Returns:
possible object is Color

setBackgroundColor

public void setBackgroundColor(Color value)
Sets the value of the backgroundColor property.

Parameters:
value - allowed object is Color

getOutlineColor

public Color getOutlineColor()
Gets the value of the outlineColor property.

Returns:
possible object is Color

setOutlineColor

public void setOutlineColor(Color value)
Sets the value of the outlineColor property.

Parameters:
value - allowed object is Color

getVerticalAlignment

public EsriSimpleTextVerticalAlignment getVerticalAlignment()
Vertical alignment style. Gets the value of the verticalAlignment property.

Returns:
possible object is EsriSimpleTextVerticalAlignment

setVerticalAlignment

public void setVerticalAlignment(EsriSimpleTextVerticalAlignment value)
Vertical alignment style. Sets the value of the verticalAlignment property.

Parameters:
value - allowed object is EsriSimpleTextVerticalAlignment

getHorizontalAlignment

public EsriSimpleTextHorizontalAlignment getHorizontalAlignment()
Horizontal alignment style. Gets the value of the horizontalAlignment property.

Returns:
possible object is EsriSimpleTextHorizontalAlignment

setHorizontalAlignment

public void setHorizontalAlignment(EsriSimpleTextHorizontalAlignment value)
Horizontal alignment style. Sets the value of the horizontalAlignment property.

Parameters:
value - allowed object is EsriSimpleTextHorizontalAlignment

getRightToLeft

public Boolean getRightToLeft()
Indicates if the text is drawn from right to left. Gets the value of the rightToLeft property.

Returns:
possible object is Boolean

isRightToLeft

public Boolean isRightToLeft()
Indicates if the text is drawn from right to left.


setRightToLeft

public void setRightToLeft(Boolean value)
Indicates if the text is drawn from right to left. Sets the value of the rightToLeft property.

Parameters:
value - allowed object is Boolean

getAngle

public Double getAngle()
Text baseline angle. Gets the value of the angle property.

Returns:
possible object is Double

setAngle

public void setAngle(Double value)
Text baseline angle. Sets the value of the angle property.

Parameters:
value - allowed object is Double

getXOffset

public Double getXOffset()
Gets the value of the xOffset property.

Returns:
possible object is Double

setXOffset

public void setXOffset(Double value)
Sets the value of the xOffset property.

Parameters:
value - allowed object is Double

getYOffset

public Double getYOffset()
Gets the value of the yOffset property.

Returns:
possible object is Double

setYOffset

public void setYOffset(Double value)
Sets the value of the yOffset property.

Parameters:
value - allowed object is Double

getSize

public Double getSize()
Text size. Gets the value of the size property.

Returns:
possible object is Double

setSize

public void setSize(Double value)
Text size. Sets the value of the size property.

Parameters:
value - allowed object is Double

getFontFamilyName

public String getFontFamilyName()
The name of the font family. Gets the value of the fontFamilyName property.

Returns:
possible object is String

setFontFamilyName

public void setFontFamilyName(String value)
The name of the font family. Sets the value of the fontFamilyName property.

Parameters:
value - allowed object is String

getFontStyle

public EsriFontStyle getFontStyle()
The font style. Gets the value of the fontStyle property.

Returns:
possible object is EsriFontStyle

setFontStyle

public void setFontStyle(EsriFontStyle value)
The font style. Sets the value of the fontStyle property.

Parameters:
value - allowed object is EsriFontStyle

getFontWeight

public EsriFontWeight getFontWeight()
The boldness or weight of the font. Gets the value of the fontWeight property.

Returns:
possible object is EsriFontWeight

setFontWeight

public void setFontWeight(EsriFontWeight value)
The boldness or weight of the font. Sets the value of the fontWeight property.

Parameters:
value - allowed object is EsriFontWeight

getFontDecoration

public EsriFontDecoration getFontDecoration()
Gets the value of the fontDecoration property.

Returns:
possible object is EsriFontDecoration

setFontDecoration

public void setFontDecoration(EsriFontDecoration value)
Sets the value of the fontDecoration property.

Parameters:
value - allowed object is EsriFontDecoration