|Enum Constant and Description|
Embeds the window as normal component.
Makes the window as highlighted.
Makes the window as a modal dialog. once
Makes the window as overlapped other components.
Makes the window as popup.
|Modifier and Type||Method and Description|
Returns the enum constant of this type with the specified name.
Returns an array containing the constants of this enum type, in the order they are declared.
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
public static final Window.Mode EMBEDDED
public static final Window.Mode MODAL
Window.doModal()is called, the execution of the event processing thread is suspended until one of the following occurs.
Window.setMode(Mode)is called with a mode other than MODAL.
Window.setVisible(boolean)is called with false.
Note: In the last two cases, the mode becomes
In other words, one might say a modal window is a special overlapped window.
public static final Window.Mode OVERLAPPED
public static final Window.Mode POPUP
OVERLAPPED, except it is auto hidden when user clicks outside of the window.
public static Window.Mode values()
for (Window.Mode c : Window.Mode.values()) System.out.println(c);
public static Window.Mode valueOf(java.lang.String name)
name- the name of the enum constant to be returned.
java.lang.IllegalArgumentException- if this enum type has no constant with the specified name
java.lang.NullPointerException- if the argument is null
Copyright © 2005-2011 Potix Corporation. All Rights Reserved.