public enum Square extends Enum<Square>
Enum Constant and Description |
---|
ACRE
an acre
|
HECTARE
a hectare (10,000 square meters)
|
SQUARE_FOOT
a square foot
|
SQUARE_KILOMETER
a square kilometer
|
SQUARE_METER
a square meter
|
SQUARE_MILE
a square mile
|
Modifier and Type | Method and Description |
---|---|
PdfName |
getPdfName()
Gets the PdfName.
|
static Square |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Square[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final Square SQUARE_METER
public static final Square HECTARE
public static final Square SQUARE_KILOMETER
public static final Square SQUARE_FOOT
public static final Square ACRE
public static final Square SQUARE_MILE
public static Square[] values()
for (Square c : Square.values()) System.out.println(c);
public static Square valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant with the specified name
NullPointerException
- if the argument is null
public PdfName getPdfName()
Copyright © 2016. All rights reserved.