Packagecom.mapquest.tilemap
Classpublic class DefaultRolloverWindow
InheritanceDefaultRolloverWindow Inheritance RolloverWindow Inheritance flash.display.Sprite



Protected Properties
 PropertyDefined by
  dirtyPlacement : Boolean = true
DefaultRolloverWindow
 InheritedflipIfNeeded : Boolean = false
RolloverWindow
 Inheritedflipped : Boolean = false
RolloverWindow
 Inheritedmap : TileMap
RolloverWindow
 Inheritedopener : Poi
RolloverWindow
Public Methods
 MethodDefined by
  
DefaultRolloverWindow
  
DefaultRolloverWindow
  
Gets height of the ellipse used to draw a rounded border.
DefaultRolloverWindow
  
Gets width of the ellipse used to draw a rounded border.
DefaultRolloverWindow
  
getBorderAlpha():Number
DefaultRolloverWindow
  
DefaultRolloverWindow
  
getBorderSize():Number
DefaultRolloverWindow
  
getContenField():TextField
DefaultRolloverWindow
 Inherited
getContent():String
RolloverWindow
 Inherited
RolloverWindow
  
DefaultRolloverWindow
 Inherited
getInfoWindow():Boolean
RolloverWindow
  
getMaxWidth():Number
DefaultRolloverWindow
 Inherited
RolloverWindow
 Inherited
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.
RolloverWindow
 Inherited
Returns the geographical point at which the info window is anchored.
RolloverWindow
 Inherited
Returns the screen coordinates at which the info window is anchored.
RolloverWindow
  
getTextFormat(begin:int = -1, end:int = -1):TextFormat
DefaultRolloverWindow
  
Gets height of the triangle extending from this info window to point to a poi.
DefaultRolloverWindow
  
Gets width of the triangle extending from this rollover window to point to a poi.
DefaultRolloverWindow
  
Gets x coordinate offest of the triangle extending from this info window to point to a poi.
DefaultRolloverWindow
  
DefaultRolloverWindow
 Inherited
hide():void
Hides the info window if it is currently visible .
RolloverWindow
  
Returns true if a rounded background is shown, false if background is rectangle
DefaultRolloverWindow
 Inherited
isHidden():Boolean
Returns true if the rollover window is hidden.
RolloverWindow
 Inherited
modify(point:IPointXY, content:String, offset:IPointXY, infoWinExists:Boolean = false):void
Modifies the state of the info window.
RolloverWindow
  
redraw():void
Redraws background area.
DefaultRolloverWindow
  
setBackgroundAlpha(alpha:Number):void
Sets Alpha value for background, 0 to 1.0, of background
DefaultRolloverWindow
  
setBackgroundColor(color:uint):void
Sets Background color info window
DefaultRolloverWindow
  
setBackgroundEllipseHeight(ellipseHeight:Number):void
Sets height of the ellipse used to draw a rounded border.
DefaultRolloverWindow
  
setBackgroundEllipseWidth(ellipseWidth:Number):void
Sets width of the ellipse used to draw a rounded border.
DefaultRolloverWindow
  
setBorderAlpha(alpha:Number):void
Sets Alpha value for border, 0 to 1.0
DefaultRolloverWindow
  
setBorderColor(color:uint):void
Sets border color of info window
DefaultRolloverWindow
  
setBorderSize(size:Number):void
Sets border size in pixels of info window
DefaultRolloverWindow
  
setContent(content:String):void
DefaultRolloverWindow
 Inherited
setFlipStateEnabled(flippedIfNeeded:Boolean):void
Sets whether rollover window should be flipped if right side of window exceeds the width of the Tilemap when shown
RolloverWindow
  
setHorizontalMargin(marg:Number):void
Sets horizontal, left and right, margin space between border and content
DefaultRolloverWindow
 Inherited
setInfoWindow(infoWinExists:Boolean):void
RolloverWindow
 Inherited
setMap(map:TileMap):void
RolloverWindow
  
setMaxWidth(width:Number):void
Sets max width in pixels of info window
DefaultRolloverWindow
 Inherited
setOpenerAndShow(opener:Poi):void
RolloverWindow
  
setRoundedBackground(isRounded:Boolean):void
Sets true if a rounded background is shown, false if background is rectangle
DefaultRolloverWindow
  
setTextFormat(format:TextFormat, beginIdx:int = -1, endIndex:int = -1):void
DefaultRolloverWindow
  
setTriangleHeight(triangleHeight:Number):void
Sets height of the triangle extending from this info window to point to a poi.
DefaultRolloverWindow
  
setTriangleWidth(triangleWidth:Number):void
Sets width of the triangle extending from this rollover window to point to a poi.
DefaultRolloverWindow
  
setTriangleXOffset(triangleXOffset:Number):void
Sets x coordinate offest of the triangle extending from this info window to point to a poi.
DefaultRolloverWindow
  
setUseShadow(shadowOn:Boolean):void
Sets on or off the shadow for the background
DefaultRolloverWindow
  
setVerticalMargin(marg:Number):void
Sets vertical, top and bottom, margin space between border and content
DefaultRolloverWindow
 Inherited
show():void
Makes the rollover window visible if it is currently hidden.
RolloverWindow
Protected Methods
 MethodDefined by
  
draw():void
DefaultRolloverWindow
  
DefaultRolloverWindow
  
placeItems():void
DefaultRolloverWindow
Property detail
dirtyPlacementproperty
protected var dirtyPlacement:Boolean = true
Method detail
draw()method
protected function draw():void
getBackgroundAlpha()method 
public function getBackgroundAlpha():Number

Returns
Number
getBackgroundColor()method 
public function getBackgroundColor():uint

Returns
uint
getBackgroundEllipseHeight()method 
public function getBackgroundEllipseHeight():Number

Gets height of the ellipse used to draw a rounded border.

Returns
Number
getBackgroundEllipseWidth()method 
public function getBackgroundEllipseWidth():Number

Gets width of the ellipse used to draw a rounded border.

Returns
Number
getBorderAlpha()method 
public function getBorderAlpha():Number

Returns
Number
getBorderColor()method 
public function getBorderColor():uint

Returns
uint
getBorderSize()method 
public function getBorderSize():Number

Returns
Number
getContenField()method 
public function getContenField():TextField

Returns
TextField
getHorizontalMargin()method 
public function getHorizontalMargin():Number

Returns
Number
getMaxWidth()method 
public override function getMaxWidth():Number

Returns
Number
getPosition()method 
protected override function getPosition():IPointXY

Returns
IPointXY
getTextFormat()method 
public function getTextFormat(begin:int = -1, end:int = -1):TextFormat

Parameters
begin:int (default = -1) — begin idx
 
end:int (default = -1) — end idx

Returns
TextFormat
getTriangleHeight()method 
public function getTriangleHeight():Number

Gets height of the triangle extending from this info window to point to a poi.

Returns
Number
getTriangleWidth()method 
public function getTriangleWidth():Number

Gets width of the triangle extending from this rollover window to point to a poi.

Returns
Number
getTriangleXOffset()method 
public function getTriangleXOffset():Number

Gets x coordinate offest of the triangle extending from this info window to point to a poi.

Returns
Number
getVerticalMargin()method 
public function getVerticalMargin():Number

Returns
Number
isBackgroundRounded()method 
public function isBackgroundRounded():Boolean

Returns true if a rounded background is shown, false if background is rectangle

Returns
Boolean
placeItems()method 
protected function placeItems():void
redraw()method 
public function redraw():void

Redraws background area. Function needs to be called if window is already opened and drawing settings are changed

setBackgroundAlpha()method 
public function setBackgroundAlpha(alpha:Number):void

Sets Alpha value for background, 0 to 1.0, of background

Parameters
alpha:Number — Alpha value for background, 0 to 1.0, of background
setBackgroundColor()method 
public function setBackgroundColor(color:uint):void

Sets Background color info window

Parameters
color:uint — Background color info window
setBackgroundEllipseHeight()method 
public function setBackgroundEllipseHeight(ellipseHeight:Number):void

Sets height of the ellipse used to draw a rounded border.

Parameters
ellipseHeight:Number — height of the ellipse used to draw a rounded border.
setBackgroundEllipseWidth()method 
public function setBackgroundEllipseWidth(ellipseWidth:Number):void

Sets width of the ellipse used to draw a rounded border.

Parameters
ellipseWidth:Number — width of the ellipse used to draw a rounded border.
setBorderAlpha()method 
public function setBorderAlpha(alpha:Number):void

Sets Alpha value for border, 0 to 1.0

Parameters
alpha:Number — Alpha value for border, 0 to 1.0
setBorderColor()method 
public function setBorderColor(color:uint):void

Sets border color of info window

Parameters
color:uint — border color of info window
setBorderSize()method 
public function setBorderSize(size:Number):void

Sets border size in pixels of info window

Parameters
size:Number — border size in pixels of info window
setContent()method 
public override function setContent(content:String):voidParameters
content:String
setHorizontalMargin()method 
public function setHorizontalMargin(marg:Number):void

Sets horizontal, left and right, margin space between border and content

Parameters
marg:Number — horizontal, left and right, margin space between border and content
setMaxWidth()method 
public override function setMaxWidth(width:Number):void

Sets max width in pixels of info window

Parameters
width:Number — max width in pixels of info window
setRoundedBackground()method 
public function setRoundedBackground(isRounded:Boolean):void

Sets true if a rounded background is shown, false if background is rectangle

Parameters
isRounded:Boolean — true to turn on rounded background, false for rectangle
setTextFormat()method 
public function setTextFormat(format:TextFormat, beginIdx:int = -1, endIndex:int = -1):void

Parameters
format:TextFormat — of text field
 
beginIdx:int (default = -1) — begin idx
 
endIndex:int (default = -1) — end idx
setTriangleHeight()method 
public function setTriangleHeight(triangleHeight:Number):void

Sets height of the triangle extending from this info window to point to a poi.

Parameters
triangleHeight:Number — height of the triangle extending from this info window to point to a poi.
setTriangleWidth()method 
public function setTriangleWidth(triangleWidth:Number):void

Sets width of the triangle extending from this rollover window to point to a poi.

Parameters
triangleWidth:Number — width of the triangle extending from this rollover window to point to a poi.
setTriangleXOffset()method 
public function setTriangleXOffset(triangleXOffset:Number):void

Sets x coordinate offest of the triangle extending from this info window to point to a poi.

Parameters
triangleXOffset:Number — x coordinate offest of the triangle extending from this info window to point to a poi.
setUseShadow()method 
public function setUseShadow(shadowOn:Boolean):void

Sets on or off the shadow for the background

Parameters
shadowOn:Boolean — true to turn on shadow, false to turn off
setVerticalMargin()method 
public function setVerticalMargin(marg:Number):void

Sets vertical, top and bottom, margin space between border and content

Parameters
marg:Number — vertical, top and bottom, margin space between border and content