| Package | com.esri.bacore.thematicmapping |
| Class | public class TMRendererEvent |
| Inheritance | TMRendererEvent flash.events.Event |
| Property | Defined By | ||
|---|---|---|---|
| graphic : Graphic [read-only]
Graphic to be rendered. | TMRendererEvent | ||
| priority : int [read-only]
Current priority of update. | TMRendererEvent | ||
| symbol : Symbol [read-only]
Current rendering symbol. | TMRendererEvent | ||
| Method | Defined By | ||
|---|---|---|---|
TMRendererEvent(graphic:Graphic, symbol:Symbol)
Creates a new instance of the TMRendererEvent class. | TMRendererEvent | ||
clone():Event [override]
Creates a clone of the event. | TMRendererEvent | ||
toString():String [override]
Gets the description of the event. | TMRendererEvent | ||
updateSymbol(newSymbol:Symbol, newPriority:int):Boolean
Updates rendering symbol. | TMRendererEvent | ||
| Constant | Defined By | ||
|---|---|---|---|
| RENDER : String = tmRenderer [static]
The TMRendererEvent.RENDER constant defines the value of the
type property of the event object for a tmRenderer event. | TMRendererEvent | ||
| graphic | property |
graphic:Graphic [read-only] Graphic to be rendered.
public function get graphic():Graphic| priority | property |
priority:int [read-only] Current priority of update.
public function get priority():int| symbol | property |
symbol:Symbol [read-only] Current rendering symbol.
public function get symbol():Symbol| TMRendererEvent | () | Constructor |
public function TMRendererEvent(graphic:Graphic, symbol:Symbol)Creates a new instance of the TMRendererEvent class.
Parametersgraphic:Graphic — Graphic to be rendered.
| |
symbol:Symbol — Current rendering symbol.
|
| clone | () | method |
override public function clone():EventCreates a clone of the event.
ReturnsEvent — Shallow copy of the event.
|
| toString | () | method |
override public function toString():StringGets the description of the event.
ReturnsString — String representation of the event.
|
| updateSymbol | () | method |
public function updateSymbol(newSymbol:Symbol, newPriority:int):BooleanUpdates rendering symbol.
Updates are applied if the newPriority of
this operation is greater that or equal to the priority of the last successful update of
rendering symbol.
Parameters
newSymbol:Symbol — A new rendering symbol.
| |
newPriority:int — Update operation priority.
|
Boolean — True value if the rendering symbol is updated.
|
| RENDER | Constant |
public static const RENDER:String = tmRenderer
The TMRendererEvent.RENDER constant defines the value of the
type property of the event object for a tmRenderer event.
The properties of the event object have the following values:
| Property | Value |
|---|---|
babbles | false |
cancelable | false |
currentTarget | The Object that defines the event listener that handles the event. |
graphic | Graphic to be rendered. |
priority | Current priority of update. |
symbol | Current rendering symbol. |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |