Packagecom.esri.ags.components.supportClasses
Classpublic class InfoSymbolWindow
InheritanceInfoSymbolWindow Inheritance InfoComponent Inheritance spark.components.supportClasses.SkinnableComponent

The InfoSymbolWindow class defines the symbol used in the InfoSymbol.

See also

com.esri.ags.symbols.InfoSymbol


Public Properties
 PropertyDefined By
 InheritedanchorX : Number
The anchor X location in pixels.
InfoComponent
 InheritedanchorY : Number
The anchor Y location in pixels.
InfoComponent
  content : IVisualElement
Content of info symbol.
InfoSymbolWindow
 Inheriteddata : Object
The associated data.
InfoComponent
 Inheritedmap : Map
[read-only] Gets a reference to the Map instance.
InfoComponent
  positionX : Number
[read-only] Horizontal pixel position of the info symbol anchor relative to the map.
InfoSymbolWindow
  positionY : Number
[read-only] Veritcal pixel position of the info symbol anchor relative to the map.
InfoSymbolWindow
Public Methods
 MethodDefined By
  
InfoSymbolWindow(map:Map, styleName:String)
Creates a new InfoSymbolWindow instance.
InfoSymbolWindow
Styles
 Style Description Defined By
  
backgroundAlpha
Type: Number CSS Inheritance: no
Alpha of the background. The default value is 1.0.
InfoSymbolWindow
  
backgroundColor
Type: uint Format: Color CSS Inheritance: no
Color of the background. The default value is 0x999999.
InfoSymbolWindow
  
borderAlpha
Type: Number CSS Inheritance: no
The alpha transparency of the border [added in version 1.3]. Possible values range from 0.0 (invisible, fully transparent) to 1.0 (opaque, fully visible). The default value is 1.0 (opaque, fully visible).
InfoSymbolWindow
  
borderColor
Type: uint Format: Color CSS Inheritance: no
The color of the border [added in version 1.3]. The default value is 0x000000 (black).
InfoSymbolWindow
  
borderThickness
Type: Number Format: Length CSS Inheritance: no
Thickness of the border [added in version 1.3], in pixels. The default value is 0 pixels.
InfoSymbolWindow
  
infoOffsetW
Type: Number Format: Length CSS Inheritance: no
Number of pixels of the tail base. The default value is 10 pixels.
InfoSymbolWindow
  
infoOffsetX
Type: Number Format: Length CSS Inheritance: no
Number of pixels in the horizontal direction to offset the info tail. The default value is 12 pixels.
InfoSymbolWindow
  
infoOffsetY
Type: Number Format: Length CSS Inheritance: no
Number of pixels in the vertical direction to offset the info tail. The default value is 12 pixels.
InfoSymbolWindow
  
infoPlacement
Type: String CSS Inheritance: no
The placement of the info container relative to its anchor point. Possible values are "upperRight", "lowerRight", "upperLeft", "lowerLeft", "left", "right", "top", "bottom", and "center". The default value is upperRight.
InfoSymbolWindow
  
infoPlacementMode
Type: String CSS Inheritance: no
The placement mode of the info container relative to its anchor point. Possible values are "auto", "none". Use auto to reposition the info container so its content will be visible when partially off the map. Use none to not reposition the info container when partially off the map. The default value is auto.
InfoSymbolWindow
  
lowerLeftRadius
Type: Number Format: Length CSS Inheritance: no
Radius of the lower left corner. The default value is 5 pixels.
InfoSymbolWindow
  
lowerRightRadius
Type: Number Format: Length CSS Inheritance: no
Radius of the lower right corner. The default value is 5 pixels.
InfoSymbolWindow
  
paddingBottom
Type: Number Format: Length CSS Inheritance: no
Number of pixels between the bottom border and the bottom of the content area. The default value is 3 pixels.
InfoSymbolWindow
  
paddingLeft
Type: Number Format: Length CSS Inheritance: no
Number of pixels between the left border and the left of the content area. The default value is 3 pixels.
InfoSymbolWindow
  
paddingRight
Type: Number Format: Length CSS Inheritance: no
Number of pixels between the right border and the right of the content area. The default value is 3 pixels.
InfoSymbolWindow
  
paddingTop
Type: Number Format: Length CSS Inheritance: no
Number of pixels between the top border and the top of the content area. The default value is 3 pixels.
InfoSymbolWindow
  
shadowAlpha
Type: Number CSS Inheritance: no
The alpha transparency value for the shadow color. Possible values range from 0.0 (invisible, fully transparent) to 1.0 (opaque, fully visible). The default value is 0.0 (invisible, fully transparent).
InfoSymbolWindow
  
shadowAngle
Type: Number CSS Inheritance: no
The angle of the shadow. The default value is 45.0.
InfoSymbolWindow
  
shadowColor
Type: uint Format: Color CSS Inheritance: yes
The color of the shadow. The default value is 0x000000 (black).
InfoSymbolWindow
  
shadowDistance
Type: Number CSS Inheritance: no
The offset distance for the shadow, in pixels. The default value is 0.0 (no shadow).
InfoSymbolWindow
  
upperLeftRadius
Type: Number Format: Length CSS Inheritance: no
Radius of the upper left corner. The default value is 5 pixels.
InfoSymbolWindow
  
upperRightRadius
Type: Number Format: Length CSS Inheritance: no
Radius of the upper right corner. The default value is 5 pixels.
InfoSymbolWindow
Skin Parts

This component uses skins made up of skin parts. Do not set the skin parts directly. The component's skin sets the skin parts.


 Skin Part Description Defined By
 Inherited
contentGroup:spark.components.Group
Required: false Part Type: Static
Optional skin part to hold the info window content.
InfoComponent
Property Detail
contentproperty
public var content:IVisualElement

Content of info symbol. Instance of InfoSymbol.renderer.

positionXproperty 
positionX:Number  [read-only]

Horizontal pixel position of the info symbol anchor relative to the map.


Implementation
    public function get positionX():Number
positionYproperty 
positionY:Number  [read-only]

Veritcal pixel position of the info symbol anchor relative to the map.


Implementation
    public function get positionY():Number
Constructor Detail
InfoSymbolWindow()Constructor
public function InfoSymbolWindow(map:Map, styleName:String)

Creates a new InfoSymbolWindow instance.

Parameters
map:Map — A reference to a Map instance.
 
styleName:String — The style to use when symbolizing a graphic.