站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc (Current Development Version)

CycleFocusProvider (Visual Library API) - NetBeans API Javadoc (Current Development Version)

org.netbeans.api.visual 2.2

org.netbeans.api.visual.action
Interface CycleFocusProvider


public interface CycleFocusProvider

This interface provides an ability for switching focus.


Method Summary
 boolean switchNextFocus(Widget widget)
          Switches a focus to the next widget/object on a scene.
 boolean switchPreviousFocus(Widget widget)
          Switches a focus to the previous widget/object on a scene.
 

Method Detail

switchPreviousFocus

boolean switchPreviousFocus(Widget widget)
Switches a focus to the previous widget/object on a scene.

Parameters:
widget - the widget where the action was invoked
Returns:
true, if switching was successful

switchNextFocus

boolean switchNextFocus(Widget widget)
Switches a focus to the next widget/object on a scene.

Parameters:
widget - the widget where the action was invoked
Returns:
true, if switching was successful

org.netbeans.api.visual 2.2

Built on May 28 2007.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.