Chinaunix首页 | 论坛 | 博客
  • 博客访问: 45179
  • 博文数量: 4
  • 博客积分: 1410
  • 博客等级: 上尉
  • 技术积分: 190
  • 用 户 组: 普通用户
  • 注册时间: 2006-06-25 16:56
文章分类

全部博文(4)

文章存档

2008年(4)

我的朋友

分类:

2008-08-05 16:57:48

1./**
 *  Dispatched by the component when it is time to create a ToolTip.
 *
 * 

If you create your own IToolTip object and place a reference
 *  to it in the toolTip property of the event object
 *  that is passed to your toolTipCreate handler,
 *  the ToolTipManager displays your custom ToolTip.
 *  Otherwise, the ToolTipManager creates an instance of
 *  ToolTipManager.toolTipClass to display.


 *
 * 

The sequence of ToolTip events is toolTipStart,
 *  toolTipCreate, toolTipShow,
 *  toolTipShown, toolTipHide,
 *  and toolTipEnd.


 *
 *  @eventType mx.events.ToolTipEvent.TOOL_TIP_CREATE
 */
[Event(name="toolTipCreate", type="mx.events.ToolTipEvent")]
当要创建一个工具提示时,组件会发送一个名为toolTipCreate的事件
如果你创建了你自己的工具提示对象,放一个引用到经过toolTipCreate传来的事件的属性toolTip里去处理,
ToolTipManager显示你的自定义工具提示.否则的话,ToolTipManager创建一个ToolTipManager.toolTipClass的实例来显示.
ToolTip事件的顺序是toolTipStart,toolTipCreate,toolTipShow,toolTipShown,toolTipHide,
和toolTipEnd
2./**
 *  Dispatched by the component when its ToolTip has been hidden
 *  and will be discarded soon.
 *
 * 

If you specify an effect using the
 *  ToolTipManager.hideEffect property,
 *  this event is dispatched after the effect stops playing.


 *
 * 

The sequence of ToolTip events is toolTipStart,
 *  toolTipCreate, toolTipShow,
 *  toolTipShown, toolTipHide,
 *  and toolTipEnd.


 *
 *  @eventType mx.events.ToolTipEvent.TOOL_TIP_END
 */
[Event(name="toolTipEnd", type="mx.events.ToolTipEvent")]
当组件的ToolTip已经隐藏并且不久将被丢弃时,组件将发送一个名为toolTipEnd的事件.
如果你指定了一个使用ToolTipManager.hideEffect的效果,当这个效果停止播放后,这个事件就会被发送
ToolTip事件的顺序是toolTipStart,toolTipCreate,toolTipShow,toolTipShown,toolTipHide,
和toolTipEnd
3.**
 *  Dispatched by the component when its ToolTip is about to be hidden.
 *
 * 

If you specify an effect using the
 *  ToolTipManager.hideEffect property,
 *  this event is dispatched before the effect starts playing.


 *
 * 

The sequence of ToolTip events is toolTipStart,
 *  toolTipCreate, toolTipShow,
 *  toolTipShown, toolTipHide,
 *  and toolTipEnd.


 *
 *  @eventType mx.events.ToolTipEvent.TOOL_TIP_HIDE
 */
[Event(name="toolTipHide", type="mx.events.ToolTipEvent")]
当一个工具提示快要隐藏时,由组件发送一个名为toolTipHide的事件
如果你指定了一个使用ToolTipManager.hideEffect的效果,这个事件会被发送在效果开始播放前
ToolTip事件的顺序是toolTipStart,toolTipCreate,toolTipShow,toolTipShown,toolTipHide,
和toolTipEnd
4./**
 *  Dispatched by the component when its ToolTip is about to be shown.
 *
 * 

If you specify an effect using the
 *  ToolTipManager.showEffect property,
 *  this event is dispatched before the effect starts playing.
 *  You can use this event to modify the ToolTip before it appears.


 *
 * 

The sequence of ToolTip events is toolTipStart,
 *  toolTipCreate, toolTipShow,
 *  toolTipShown, toolTipHide,
 *  and toolTipEnd.


 *
 *  @eventType mx.events.ToolTipEvent.TOOL_TIP_SHOW
 */
[Event(name="toolTipShow", type="mx.events.ToolTipEvent")]
当一个组件的工具提示将要显示时,组件会发送一个名为toolTipShow的事件
如果你指定了一个使用ToolTipManager.showEffect的效果,这个事件会在效果开始播放前发送
你可以使用这个事件来修改ToolTip在它出现前
ToolTip事件的顺序是toolTipStart,toolTipCreate,toolTipShow,toolTipShown,toolTipHide,
和toolTipEnd
5./**
 *  Dispatched by the component when its ToolTip has been shown.
 *
 * 

If you specify an effect using the
 *  ToolTipManager.showEffect property,
 *  this event is dispatched after the effect stops playing.


 *
 * 

The sequence of ToolTip events is toolTipStart,
 *  toolTipCreate, toolTipShow,
 *  toolTipShown, toolTipHide,
 *  and toolTipEnd.


 *
 *  @eventType mx.events.ToolTipEvent.TOOL_TIP_SHOWN
 */
[Event(name="toolTipShown", type="mx.events.ToolTipEvent")]
当组件的工具提示已经显示时,组件将发送一个名为toolTipShown的事件
如果你指定了一个使用ToolTipManager.showEffect的效果,这个事件会在效果停止播放后发送.
ToolTip事件的顺序是toolTipStart,toolTipCreate,toolTipShow,toolTipShown,toolTipHide,
和toolTipEnd
6./**
 *  Dispatched by a component whose toolTip property is set,
 *  as soon as the user moves the mouse over it.
 *
 * 

The sequence of ToolTip events is toolTipStart,
 *  toolTipCreate, toolTipShow,
 *  toolTipShown, toolTipHide,
 *  and toolTipEnd.


 *
 *  @eventType mx.events.ToolTipEvent.TOOL_TIP_START
 */
[Event(name="toolTipStart", type="mx.events.ToolTipEvent")]
当组件的toolTip属性已经被设置,一旦用户移动鼠标到组件上时,组件发送一个名为toolTipStart的事件
ToolTip事件的顺序是toolTipStart,toolTipCreate,toolTipShow,toolTipShown,toolTipHide,
和toolTipEnd
阅读(742) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~