| Package | com.mapquest.tilemap |
| Class | public class DefaultInfoWindow |
| Inheritance | DefaultInfoWindow InfoWindow flash.display.Sprite |
| Property | Defined by | ||
|---|---|---|---|
| backgroundAlpha : Number = 1.0 | DefaultInfoWindow | ||
| backgroundColor : uint = 0xffffff | DefaultInfoWindow | ||
| backgroundEllipseHeight : Number = 14 | DefaultInfoWindow | ||
| backgroundEllipseWidth : Number = 14 | DefaultInfoWindow | ||
| backgroundHeight : Number | DefaultInfoWindow | ||
| backgroundWidth : Number | DefaultInfoWindow | ||
| bkg : Shape | DefaultInfoWindow | ||
| borderAlpha : Number = 1.0 | DefaultInfoWindow | ||
| borderColor : uint = 0x000000 | DefaultInfoWindow | ||
| borderSize : Number = 1.0 | DefaultInfoWindow | ||
| closeButton : Sprite | DefaultInfoWindow | ||
| content : DisplayObject | DefaultInfoWindow | ||
| contentField : TextField | DefaultInfoWindow | ||
| contentFieldWidth : Number = 235 | DefaultInfoWindow | ||
| contentTitleBuffer : Number = 5 | DefaultInfoWindow | ||
| dirtyPlacement : Boolean = true | DefaultInfoWindow | ||
![]() | enabled : Boolean = true | InfoWindow | |
| horizontalMargin : Number = 5 | DefaultInfoWindow | ||
![]() | map : TileMap | InfoWindow | |
![]() | maxWidth : Number | InfoWindow | |
![]() | offset : IPointXY | InfoWindow | |
![]() | opener : Poi | InfoWindow | |
![]() | point : IPointXY | InfoWindow | |
| roundedBackground : Boolean = true | DefaultInfoWindow | ||
| shadow : Shape | DefaultInfoWindow | ||
| shadowAlpha : Number = 0.5 | DefaultInfoWindow | ||
| shadowOffsetX : int = 4 | DefaultInfoWindow | ||
| shadowOffsetY : int = 3 | DefaultInfoWindow | ||
| titleField : TextField | DefaultInfoWindow | ||
| titleFieldOrigText : String = "" | DefaultInfoWindow | ||
| triangleHeight : Number = 10 | DefaultInfoWindow | ||
| triangleWidth : Number = 10 | DefaultInfoWindow | ||
| triangleXOffset : Number = 16 | DefaultInfoWindow | ||
| useShadow : Boolean = true | DefaultInfoWindow | ||
| verticalMargin : Number = 3 | DefaultInfoWindow | ||
| Method | Defined by | ||
|---|---|---|---|
|
DefaultInfoWindow(map:TileMap)
| DefaultInfoWindow | ||
![]() |
avoidPopupCollisions():void
| InfoWindow | |
|
getBackgroundAlpha():Number
| DefaultInfoWindow | ||
|
getBackgroundColor():uint
| DefaultInfoWindow | ||
|
getBackgroundEllipseHeight():Number
Gets height of the ellipse used to draw a rounded border around DefaultInfoWindow.
| DefaultInfoWindow | ||
|
getBackgroundEllipseWidth():Number
Gets width of the ellipse used to draw a rounded border around DefaultInfoWindow.
| DefaultInfoWindow | ||
|
getBorderAlpha():Number
| DefaultInfoWindow | ||
|
getBorderColor():uint
| DefaultInfoWindow | ||
|
getBorderSize():Number
| DefaultInfoWindow | ||
|
getContentFieldWidth():Number
Gets the width of the text content field.
| DefaultInfoWindow | ||
|
getContentTextFormat(begin:int = -1, end:int = -1):TextFormat
| DefaultInfoWindow | ||
|
getContentTitleBuffer():Number
Gets the height of the buffer space between the title and content of this info window.
| DefaultInfoWindow | ||
|
getHorizontalMargin():Number
| DefaultInfoWindow | ||
![]() | InfoWindow | ||
![]() |
Returns the offset, in pixels, of the tip of the info window from the point on the map
at whose geographical coordinates the info window is anchored.
| InfoWindow | |
![]() |
Returns the geographical point at which the info window is anchored.
| InfoWindow | |
![]() |
Returns the screen coordinates at which the info window is anchored.
| InfoWindow | |
| DefaultInfoWindow | |||
|
getTitleTextFormat(begin:int = -1, end:int = -1):TextFormat
| DefaultInfoWindow | ||
|
getTriangleHeight():Number
Gets height of the triangle extending from this info window to point to a poi.
| DefaultInfoWindow | ||
|
getTriangleWidth():Number
Gets width of the triangle extending from this info window to point to a poi.
| DefaultInfoWindow | ||
|
getTriangleXOffset():Number
Gets x coordinate offest of the triangle extending from this info window to point to a poi.
| DefaultInfoWindow | ||
|
getVerticalMargin():Number
| DefaultInfoWindow | ||
![]() |
hide():void
Hides the info window if it is currently visible .
| InfoWindow | |
|
isBackgroundRounded():Boolean
Returns true if a rounded background is shown, false if background is rectangle
| DefaultInfoWindow | ||
![]() |
isHidden():Boolean
Returns true if the info window is hidden.
| InfoWindow | |
![]() |
Modifies the state of the info window.
| InfoWindow | |
|
redraw():void
Redraws background area.
| DefaultInfoWindow | ||
|
setBackgroundAlpha(alpha:Number):void
Sets Alpha value for background, 0 to 1.0, of background
| DefaultInfoWindow | ||
|
setBackgroundColor(color:uint):void
Sets Background color info window
| DefaultInfoWindow | ||
|
setBackgroundEllipseHeight(ellipseHeight:Number):void
Sets height of the ellipse used to draw a rounded border around DefaultInfoWindow.
| DefaultInfoWindow | ||
|
setBackgroundEllipseWidth(ellipseWidth:Number):void
Sets width of the ellipse used to draw a rounded border around DefaultInfoWindow.
| DefaultInfoWindow | ||
|
setBorderAlpha(alpha:Number):void
Sets Alpha value for border, 0 to 1.0
| DefaultInfoWindow | ||
|
setBorderColor(color:uint):void
Sets border color of info window
| DefaultInfoWindow | ||
|
setBorderSize(size:Number):void
Sets border size in pixels of info window
| DefaultInfoWindow | ||
|
setContentFieldWidth(width:Number):void
Sets the width of the text content field.
| DefaultInfoWindow | ||
|
setContentTextFormat(format:TextFormat, beginIdx:int = -1, endIndex:int = -1):void
| DefaultInfoWindow | ||
|
setContentTitleBuffer(spacing:Number):void
Sets the height of the buffer space between the title and content of this info window.
| DefaultInfoWindow | ||
|
setHorizontalMargin(marg:Number):void
Sets horizontal, left and right, margin space between border and content
| DefaultInfoWindow | ||
![]() | InfoWindow | ||
![]() |
setOpenerAndShow(opener:Poi):void
| InfoWindow | |
|
setRoundedBackground(isRounded:Boolean):void
Sets true if a rounded background is shown, false if background is rectangle
| DefaultInfoWindow | ||
|
setTitleTextFormat(format:TextFormat, beginIdx:int = -1, endIndex:int = -1):void
| DefaultInfoWindow | ||
|
setTriangleHeight(triangleHeight:Number):void
Sets height of the triangle extending from this info window to point to a poi.
| DefaultInfoWindow | ||
|
setTriangleWidth(triangleWidth:Number):void
Sets width of the triangle extending from this info window to point to a poi.
| DefaultInfoWindow | ||
|
setTriangleXOffset(triangleXOffset:Number):void
Sets x coordinate offest of the triangle extending from this info window to point to a poi.
| DefaultInfoWindow | ||
|
setUseShadow(shadowOn:Boolean):void
Sets on or off the shadow for the background
| DefaultInfoWindow | ||
|
setVerticalMargin(marg:Number):void
Sets vertical, top and bottom, margin space between border and content
| DefaultInfoWindow | ||
![]() |
show():void
Makes the info window visible if it is currently hidden.
| InfoWindow | |
| Method | Defined by | ||
|---|---|---|---|
|
draw():void
| DefaultInfoWindow | ||
|
placeItems():void
| DefaultInfoWindow | ||
|
setContent(content:Object):void
| DefaultInfoWindow | ||
|
setTitle(title:String):void
| DefaultInfoWindow | ||
| backgroundAlpha | property |
protected var backgroundAlpha:Number = 1.0
| backgroundColor | property |
protected var backgroundColor:uint = 0xffffff
| backgroundEllipseHeight | property |
protected var backgroundEllipseHeight:Number = 14
| backgroundEllipseWidth | property |
protected var backgroundEllipseWidth:Number = 14
| backgroundHeight | property |
protected var backgroundHeight:Number
| backgroundWidth | property |
protected var backgroundWidth:Number
| bkg | property |
protected var bkg:Shape
| borderAlpha | property |
protected var borderAlpha:Number = 1.0
| borderColor | property |
protected var borderColor:uint = 0x000000
| borderSize | property |
protected var borderSize:Number = 1.0
| closeButton | property |
protected var closeButton:Sprite
| content | property |
protected var content:DisplayObject
| contentField | property |
protected var contentField:TextField
| contentFieldWidth | property |
protected var contentFieldWidth:Number = 235
| contentTitleBuffer | property |
protected var contentTitleBuffer:Number = 5
| dirtyPlacement | property |
protected var dirtyPlacement:Boolean = true
| horizontalMargin | property |
protected var horizontalMargin:Number = 5
| roundedBackground | property |
protected var roundedBackground:Boolean = true
| shadow | property |
protected var shadow:Shape
| shadowAlpha | property |
protected var shadowAlpha:Number = 0.5
| shadowOffsetX | property |
protected var shadowOffsetX:int = 4
| shadowOffsetY | property |
protected var shadowOffsetY:int = 3
| titleField | property |
protected var titleField:TextField
| titleFieldOrigText | property |
protected var titleFieldOrigText:String = ""
| triangleHeight | property |
protected var triangleHeight:Number = 10
| triangleWidth | property |
protected var triangleWidth:Number = 10
| triangleXOffset | property |
protected var triangleXOffset:Number = 16
| useShadow | property |
protected var useShadow:Boolean = true
| verticalMargin | property |
protected var verticalMargin:Number = 3
| DefaultInfoWindow | () | constructor |
| draw | () | method |
protected function draw():void
| getBackgroundAlpha | () | method |
public function getBackgroundAlpha():NumberReturns
Number |
| getBackgroundColor | () | method |
public function getBackgroundColor():uintReturns
uint |
| getBackgroundEllipseHeight | () | method |
public function getBackgroundEllipseHeight():NumberGets height of the ellipse used to draw a rounded border around DefaultInfoWindow.
ReturnsNumber |
| getBackgroundEllipseWidth | () | method |
public function getBackgroundEllipseWidth():NumberGets width of the ellipse used to draw a rounded border around DefaultInfoWindow.
ReturnsNumber |
| getBorderAlpha | () | method |
public function getBorderAlpha():NumberReturns
Number |
| getBorderColor | () | method |
public function getBorderColor():uintReturns
uint |
| getBorderSize | () | method |
public function getBorderSize():NumberReturns
Number |
| getContentFieldWidth | () | method |
public function getContentFieldWidth():NumberGets the width of the text content field.
ReturnsNumber |
| getContentTextFormat | () | method |
public function getContentTextFormat(begin:int = -1, end:int = -1):TextFormatParameters
begin:int (default = -1) — begin idx
|
|
end:int (default = -1) — end idx
|
TextFormat |
| getContentTitleBuffer | () | method |
public function getContentTitleBuffer():NumberGets the height of the buffer space between the title and content of this info window.
ReturnsNumber |
| getHorizontalMargin | () | method |
public function getHorizontalMargin():NumberReturns
Number |
| getPosition | () | method |
| getTitleTextFormat | () | method |
public function getTitleTextFormat(begin:int = -1, end:int = -1):TextFormatParameters
begin:int (default = -1) — begin idx
|
|
end:int (default = -1) — end idx
|
TextFormat |
| getTriangleHeight | () | method |
public function getTriangleHeight():NumberGets height of the triangle extending from this info window to point to a poi.
ReturnsNumber |
| getTriangleWidth | () | method |
public function getTriangleWidth():NumberGets width of the triangle extending from this info window to point to a poi.
ReturnsNumber |
| getTriangleXOffset | () | method |
public function getTriangleXOffset():NumberGets x coordinate offest of the triangle extending from this info window to point to a poi.
ReturnsNumber |
| getVerticalMargin | () | method |
public function getVerticalMargin():NumberReturns
Number |
| isBackgroundRounded | () | method |
public function isBackgroundRounded():BooleanReturns true if a rounded background is shown, false if background is rectangle
ReturnsBoolean |
| placeItems | () | method |
protected function placeItems():void
| redraw | () | method |
public function redraw():voidRedraws background area. Function needs to be called if window is already opened and drawing settings are changed
| setBackgroundAlpha | () | method |
public function setBackgroundAlpha(alpha:Number):voidSets Alpha value for background, 0 to 1.0, of background
Parametersalpha:Number — Alpha value for background, 0 to 1.0, of background
|
| setBackgroundColor | () | method |
public function setBackgroundColor(color:uint):voidSets Background color info window
Parameterscolor:uint — Background color info window
|
| setBackgroundEllipseHeight | () | method |
public function setBackgroundEllipseHeight(ellipseHeight:Number):voidSets height of the ellipse used to draw a rounded border around DefaultInfoWindow.
ParametersellipseHeight:Number — height of the ellipse used to draw a rounded border around DefaultInfoWindow.
|
| setBackgroundEllipseWidth | () | method |
public function setBackgroundEllipseWidth(ellipseWidth:Number):voidSets width of the ellipse used to draw a rounded border around DefaultInfoWindow.
ParametersellipseWidth:Number — width of the ellipse used to draw a rounded border around DefaultInfoWindow.
|
| setBorderAlpha | () | method |
public function setBorderAlpha(alpha:Number):voidSets Alpha value for border, 0 to 1.0
Parametersalpha:Number — Alpha value for border, 0 to 1.0
|
| setBorderColor | () | method |
public function setBorderColor(color:uint):voidSets border color of info window
Parameterscolor:uint — border color of info window
|
| setBorderSize | () | method |
public function setBorderSize(size:Number):voidSets border size in pixels of info window
Parameterssize:Number — border size in pixels of info window
|
| setContent | () | method |
protected override function setContent(content:Object):voidParameters
content:Object |
| setContentFieldWidth | () | method |
public function setContentFieldWidth(width:Number):voidSets the width of the text content field.
Parameterswidth:Number — Sets the width of the text content, which can be multilined.
|
| setContentTextFormat | () | method |
public function setContentTextFormat(format:TextFormat, beginIdx:int = -1, endIndex:int = -1):voidParameters
format:TextFormat — of content text field
|
|
beginIdx:int (default = -1) — begin idx
|
|
endIndex:int (default = -1) — end idx
|
| setContentTitleBuffer | () | method |
public function setContentTitleBuffer(spacing:Number):voidSets the height of the buffer space between the title and content of this info window.
Parametersspacing:Number — height of the buffer space between the title and content of this info window.
|
| setHorizontalMargin | () | method |
public function setHorizontalMargin(marg:Number):voidSets horizontal, left and right, margin space between border and content
Parametersmarg:Number — horizontal, left and right, margin space between border and content
|
| setRoundedBackground | () | method |
public function setRoundedBackground(isRounded:Boolean):voidSets true if a rounded background is shown, false if background is rectangle
ParametersisRounded:Boolean — true to turn on rounded background, false for rectangle
|
| setTitle | () | method |
protected override function setTitle(title:String):voidParameters
title:String |
| setTitleTextFormat | () | method |
public function setTitleTextFormat(format:TextFormat, beginIdx:int = -1, endIndex:int = -1):voidParameters
format:TextFormat — of title text field
|
|
beginIdx:int (default = -1) — begin idx
|
|
endIndex:int (default = -1) — end idx
|
| setTriangleHeight | () | method |
public function setTriangleHeight(triangleHeight:Number):voidSets height of the triangle extending from this info window to point to a poi.
ParameterstriangleHeight:Number — height of the triangle extending from this info window to point to a poi.
|
| setTriangleWidth | () | method |
public function setTriangleWidth(triangleWidth:Number):voidSets width of the triangle extending from this info window to point to a poi.
ParameterstriangleWidth:Number — width of the triangle extending from this info window to point to a poi.
|
| setTriangleXOffset | () | method |
public function setTriangleXOffset(triangleXOffset:Number):voidSets x coordinate offest of the triangle extending from this info window to point to a poi.
ParameterstriangleXOffset:Number — x coordinate offest of the triangle extending from this info window to point to a poi.
|
| setUseShadow | () | method |
public function setUseShadow(shadowOn:Boolean):voidSets on or off the shadow for the background
ParametersshadowOn:Boolean — true to true on shadow, false to turn off
|
| setVerticalMargin | () | method |
public function setVerticalMargin(marg:Number):voidSets vertical, top and bottom, margin space between border and content
Parametersmarg:Number — vertical, top and bottom, margin space between border and content
|