org.netbeans.api.visual 2.10

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.10

Built on August 13 2008.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.