first commit
This commit is contained in:
47
com/yahoo/astra/fl/charts/IDataTipRenderer.as
Executable file
47
com/yahoo/astra/fl/charts/IDataTipRenderer.as
Executable file
@ -0,0 +1,47 @@
|
||||
/*
|
||||
Copyright (c) 2009 Yahoo! Inc. All rights reserved.
|
||||
The copyrights embodied in the content of this file are licensed under the BSD (revised) open source license
|
||||
*/
|
||||
package com.yahoo.astra.fl.charts
|
||||
{
|
||||
import flash.events.IEventDispatcher;
|
||||
|
||||
/**
|
||||
* A renderer for a mouse-over datatip on a chart.
|
||||
*
|
||||
* <p>Important: Must be a subclass of <code>DisplayObject</code></p>
|
||||
*
|
||||
* @see flash.display.DisplayObject
|
||||
* @author Josh Tynjala
|
||||
*/
|
||||
public interface IDataTipRenderer extends IEventDispatcher
|
||||
{
|
||||
|
||||
//--------------------------------------
|
||||
// Properties
|
||||
//--------------------------------------
|
||||
|
||||
/**
|
||||
* The text that appears in the data tip's label.
|
||||
*/
|
||||
function get text():String;
|
||||
|
||||
/**
|
||||
* @private
|
||||
*/
|
||||
function set text(value:String):void;
|
||||
|
||||
/**
|
||||
* The data for the item that this data tip represents.
|
||||
* Custom implementations of <code>IDataTipRenderer</code>
|
||||
* may use this property to render additional information for
|
||||
* the user.
|
||||
*/
|
||||
function get data():Object;
|
||||
|
||||
/**
|
||||
* @private
|
||||
*/
|
||||
function set data(value:Object):void;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user