public static enum ClassicModuleGui.DesktopType extends Enum<ClassicModuleGui.DesktopType>
Enum Constant and Description |
---|
MULTIPLE_PANELS |
SINGLE_PANEL |
SINGLE_PANEL_WITH_SCROLL |
Modifier and Type | Method and Description |
---|---|
boolean |
isSinglePanel() |
boolean |
needsScrollPane() |
static ClassicModuleGui.DesktopType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClassicModuleGui.DesktopType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClassicModuleGui.DesktopType MULTIPLE_PANELS
public static final ClassicModuleGui.DesktopType SINGLE_PANEL
public static final ClassicModuleGui.DesktopType SINGLE_PANEL_WITH_SCROLL
public static ClassicModuleGui.DesktopType[] values()
for (ClassicModuleGui.DesktopType c : ClassicModuleGui.DesktopType.values()) System.out.println(c);
public static ClassicModuleGui.DesktopType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic boolean isSinglePanel()
public boolean needsScrollPane()
Copyright © 2019. All rights reserved.