Package org.zkoss.stateless.sul
Enum Class IWindow.Mode
- All Implemented Interfaces:
Serializable,Comparable<IWindow.Mode>,Constable
Specifies the mode to
IWindow component-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionEmbeds the window as normal component.Makes the window as highlighted.Makes the window as a modal dialog.Makes the window as overlapped other components.Makes the window as popup. -
Method Summary
Modifier and TypeMethodDescriptionstatic IWindow.ModeReturns the enum constant of this class with the specified name.static IWindow.Mode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
EMBEDDED
Embeds the window as normal component. -
HIGHLIGHTED
Makes the window as highlighted. Its visual effect is the same asMODAL. However, from the server side's viewpoint, it is similar toOVERLAPPED.- See Also:
-
OVERLAPPED
Makes the window as overlapped other components. -
POPUP
Makes the window as popup. It is similar toOVERLAPPED, except it is auto hidden when user clicks outside the window. -
MODAL
Makes the window as a modal dialog.- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-