| Package | xp.charting |
| Class | public class TrendLineTool |
| Inheritance | TrendLineTool ChartStyleClient ChartDisplayElement ProgrammaticSkin mx.core.FlexSprite |
| Implements | IChartingTool |
See also
| Property | Defined by | ||
|---|---|---|---|
| autoStart : Boolean = true | TrendLineTool | ||
![]() | chart : IChartArea | ChartDisplayElement | |
![]() | chartDesc : ChartDesc | ChartDisplayElement | |
![]() | chartParent : IChart | ChartDisplayElement | |
![]() | className : String | ChartStyleClient | |
![]() | height : Number | ProgrammaticSkin | |
![]() | inheritingStyles : Object | ChartStyleClient | |
![]() | initialized : Boolean | ProgrammaticSkin | |
![]() | isSubChart : Boolean | ChartDisplayElement | |
![]() | measuredHeight : Number
The measured height of this object.
| ChartDisplayElement | |
![]() | measuredWidth : Number
The measured width of this object.
| ChartDisplayElement | |
![]() | nestLevel : int | ProgrammaticSkin | |
![]() | nonInheritingStyles : Object | ChartStyleClient | |
![]() | parent : DisplayObjectContainer | ChartDisplayElement | |
![]() | processedDescriptors : Boolean | ProgrammaticSkin | |
![]() | styleDeclaration : CSSStyleDeclaration | ChartStyleClient | |
![]() | styleName : Object | ChartStyleClient | |
![]() | updateCompletePendingFlag : Boolean | ProgrammaticSkin | |
![]() | width : Number | ProgrammaticSkin | |
| Method | Defined by | ||
|---|---|---|---|
|
Create a new instance
| TrendLineTool | ||
|
clearAllLines():void
removes all layers from the workspace
| TrendLineTool | ||
![]() |
clearStyle(styleProp:String):void
| ChartStyleClient | |
![]() |
determineTextFormatFromStyles():UITextFormat
| ChartStyleClient | |
![]() |
getClassStyleDeclarations():Array
| ChartStyleClient | |
![]() |
getStyle(styleProp:String):*
| ChartStyleClient | |
|
hide():void
hides the workspace interface
| TrendLineTool | ||
![]() |
initElement(chart:IChartArea):void
| ChartDisplayElement | |
![]() |
invalidateDisplayList():void
| ProgrammaticSkin | |
![]() |
invalidateProperties():void
| ProgrammaticSkin | |
![]() |
invalidateSize():void
| ProgrammaticSkin | |
![]() |
move(x:Number, y:Number):void
Moves this object to the specified x and y coordinates.
| ProgrammaticSkin | |
![]() |
notifyStyleChangeInChildren(styleProp:String, recursive:Boolean):void
| ChartStyleClient | |
![]() |
parentChanged(p:DisplayObjectContainer):void
| ChartStyleClient | |
![]() |
regenerateStyleCache(recursive:Boolean):void
| ChartStyleClient | |
![]() |
registerEffects(effects:Array):void
| ChartStyleClient | |
|
reset():void
reset tool back to its original state
| TrendLineTool | ||
![]() |
setActualSize(newWidth:Number, newHeight:Number):void
Sets the height and width of this object.
| ProgrammaticSkin | |
![]() |
setStyle(styleProp:String, newValue:*):void
| ChartStyleClient | |
|
show():void
shows the tools worksapce interface
| TrendLineTool | ||
|
start():void
makes the tool activated
| TrendLineTool | ||
|
stop():void
makes the tool inactivated
| TrendLineTool | ||
|
styleChanged(styleProp:String):void
Whenever any style changes, redraw this skin.
| TrendLineTool | ||
![]() |
validateDisplayList():void
| ChartDisplayElement | |
![]() |
validateNow():void
Validate and update the properties and layout of this object
and redraw it, if necessary.
| ProgrammaticSkin | |
![]() |
validateProperties():void
| ProgrammaticSkin | |
![]() |
validateSize(recursive:Boolean = false):void
| ChartDisplayElement | |
| Method | Defined by | ||
|---|---|---|---|
![]() |
activate():void
| ChartDisplayElement | |
![]() |
addedHandler(e:Event):void
| ChartDisplayElement | |
![]() |
commitProperties():void
| ProgrammaticSkin | |
|
createChildren():void
initializes the tool
| TrendLineTool | ||
![]() |
deactivate():void
| ChartDisplayElement | |
![]() |
deferLayout(state:Boolean):void
| ProgrammaticSkin | |
![]() |
getParent():DisplayObjectContainer
| ChartDisplayElement | |
![]() |
initHierarchy():void
| ChartDisplayElement | |
![]() |
initialize():void
| ChartDisplayElement | |
![]() |
initializeStyles():void
| ChartStyleClient | |
![]() |
initTextFields():void
| ChartStyleClient | |
![]() |
measure():void
| ProgrammaticSkin | |
![]() |
nestLevelChanged():void
| ProgrammaticSkin | |
![]() |
notifyTextFieldStyleChange(styleProp:String):void
| ChartStyleClient | |
![]() |
plotSizeChangedHandler(e:Event):void
| ChartDisplayElement | |
![]() |
removedHandler(e:Event):void
| ChartDisplayElement | |
![]() |
updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
| ProgrammaticSkin | |
| autoStart | property |
public var autoStart:Boolean = true
| TrendLineTool | () | constructor |
public function TrendLineTool()Create a new instance
| clearAllLines | () | method |
public function clearAllLines():voidremoves all layers from the workspace
| createChildren | () | method |
protected override function createChildren():voidinitializes the tool
| hide | () | method |
public function hide():voidhides the workspace interface
| reset | () | method |
public function reset():voidreset tool back to its original state
| show | () | method |
public function show():voidshows the tools worksapce interface
| start | () | method |
public function start():voidmakes the tool activated
| stop | () | method |
public function stop():voidmakes the tool inactivated
| styleChanged | () | method |
public override function styleChanged(styleProp:String):voidWhenever any style changes, redraw this skin. Subclasses can override this method and perform a more specific test before calling invalidateDisplayList().
ParametersstyleProp:String — The name of the style property that changed, or null
if all styles have changed.
|