public enum VinduStorrelse extends java.lang.Enum<VinduStorrelse>
Enum Constant and Description |
---|
BUNNPANEL |
LITEN |
MIDDEL |
SENTERPANEL |
STOR |
TOPPANEL |
VENSTREPANEL |
Modifier and Type | Method and Description |
---|---|
int |
getHEIGHT()
Returnerer høyden på gitt vindutype.
|
int |
getWIDTH()
Returnerer bredden på gitt vindutype.
|
static VinduStorrelse |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static VinduStorrelse[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VinduStorrelse STOR
public static final VinduStorrelse MIDDEL
public static final VinduStorrelse LITEN
public static final VinduStorrelse TOPPANEL
public static final VinduStorrelse BUNNPANEL
public static final VinduStorrelse VENSTREPANEL
public static final VinduStorrelse SENTERPANEL
public static VinduStorrelse[] values()
for (VinduStorrelse c : VinduStorrelse.values()) System.out.println(c);
public static VinduStorrelse 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 namejava.lang.NullPointerException
- if the argument is nullpublic int getWIDTH()
public int getHEIGHT()