| Line | |
|---|
| 1 | package charts.series {
|
|---|
| 2 |
|
|---|
| 3 | /**
|
|---|
| 4 | * anything that wants to use our tooltips
|
|---|
| 5 | * must implement this interface
|
|---|
| 6 | */
|
|---|
| 7 | public interface has_tooltip {
|
|---|
| 8 |
|
|---|
| 9 | // get the tip string
|
|---|
| 10 | function get_tooltip():String;
|
|---|
| 11 |
|
|---|
| 12 | // this should return a Point
|
|---|
| 13 | function get_tip_pos():Object;
|
|---|
| 14 |
|
|---|
| 15 | // if true, show hover state,
|
|---|
| 16 | // if false the item should go
|
|---|
| 17 | // back to the ground state. Not hovered.
|
|---|
| 18 | function set_tip( b:Boolean ):void;
|
|---|
| 19 | }
|
|---|
| 20 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.