Uses of Class
java.awt.event.FocusEvent.Cause
-
Packages that use FocusEvent.Cause Package Description java.awt Contains all of the classes for creating user interfaces and for painting graphics and images.java.awt.event Provides interfaces and classes for dealing with different types of events fired by AWT components.javax.swing Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms. -
-
Uses of FocusEvent.Cause in java.awt
Methods in java.awt with parameters of type FocusEvent.Cause Modifier and Type Method Description protected booleanComponent. requestFocus(boolean temporary, FocusEvent.Cause cause)Requests by the reason ofcausethat thisComponentget the input focus, and that thisComponent's top-level ancestor become the focusedWindow.voidComponent. requestFocus(FocusEvent.Cause cause)Requests by the reason ofcausethat this Component get the input focus, and that this Component's top-level ancestor become the focused Window.booleanComponent. requestFocusInWindow(FocusEvent.Cause cause)Requests by the reason ofcausethat this Component get the input focus, if this Component's top-level ancestor is already the focused Window. -
Uses of FocusEvent.Cause in java.awt.event
Methods in java.awt.event that return FocusEvent.Cause Modifier and Type Method Description FocusEvent.CauseFocusEvent. getCause()Returns the event cause.static FocusEvent.CauseFocusEvent.Cause. valueOf(String name)Returns the enum constant of this type with the specified name.static FocusEvent.Cause[]FocusEvent.Cause. values()Returns an array containing the constants of this enum type, in the order they are declared.Constructors in java.awt.event with parameters of type FocusEvent.Cause Constructor Description FocusEvent(Component source, int id, boolean temporary, Component opposite, FocusEvent.Cause cause)Constructs aFocusEventobject with the specified temporary state, oppositeComponentand the cause. -
Uses of FocusEvent.Cause in javax.swing
Methods in javax.swing with parameters of type FocusEvent.Cause Modifier and Type Method Description voidJToggleButton. requestFocus(FocusEvent.Cause cause)If this toggle button is a member of theButtonGroupwhich has another toggle button which is selected and can be the focus owner, and the focus cause argument denotes window activation or focus traversal action of any direction the result of the method execution is the same as callingComponent.requestFocus(FocusEvent.Cause)on the toggle button selected in the group.booleanJToggleButton. requestFocusInWindow(FocusEvent.Cause cause)If this toggle button is a member of theButtonGroupwhich has another toggle button which is selected and can be the focus owner, and the focus cause argument denotes window activation or focus traversal action of any direction the result of the method execution is the same as callingComponent.requestFocusInWindow(FocusEvent.Cause)on the toggle button selected in the group.
-