DhUnitEnum Class

DhUnitEnum Class

This Package | All Packages

Enum
  |
  +--DhUnitEnum
public class DhUnitEnum
extends cor.Enum
implements DhStringIDs

Provides constants for various unit types in DHTML.

Fields
Name Description
UNIT_AUTO Represents the auto type.
UNIT_CM Represents the centimeter (cm) type.
UNIT_COLOR Represents the color type.
UNIT_EM Represents the relative height of the element's font (em).
UNIT_EX Represents an x height (ex).
UNIT_INCH Represents an inches (in) type.
UNIT_MM Represents a millimeter (mm) type.
UNIT_NULL Represents an unspecified or absent type.
UNIT_PC Represents a pica (pc) type.
UNIT_PERCENT Represents the percentage (%) type.
UNIT_PIXEL Represents a pixel (px) type.
UNIT_POINT Represents a point (pt) type.

Fields

DhUnitEnum.UNIT_AUTO

Syntax
public static final int UNIT_AUTO;
Description
Represents the auto type.

DhUnitEnum.UNIT_CM

Syntax
public static final int UNIT_CM;
Description
Represents the centimeter (cm) type.

DhUnitEnum.UNIT_COLOR

Syntax
public static final int UNIT_COLOR;
Description
Represents the color type.

DhUnitEnum.UNIT_EM

Syntax
public static final int UNIT_EM;
Description
Represents the relative height of the element's font (em).

DhUnitEnum.UNIT_EX

Syntax
public static final int UNIT_EX;
Description
Represents an x height (ex). This is approximately the height of the letter 'x' in the current element font.

DhUnitEnum.UNIT_INCH

Syntax
public static final int UNIT_INCH;
Description
Represents an inches (in) type.

DhUnitEnum.UNIT_MM

Syntax
public static final int UNIT_MM;
Description
Represents a millimeter (mm) type.

DhUnitEnum.UNIT_NULL

Syntax
public static final int UNIT_NULL;
Description
Represents an unspecified or absent type.

DhUnitEnum.UNIT_PC

Syntax
public static final int UNIT_PC;
Description
Represents a pica (pc) type.

DhUnitEnum.UNIT_PERCENT

Syntax
public static final int UNIT_PERCENT;
Description
Represents the percentage (%) type.

DhUnitEnum.UNIT_PIXEL

Syntax
public static final int UNIT_PIXEL;
Description
Represents a pixel (px) type.

DhUnitEnum.UNIT_POINT

Syntax
public static final int UNIT_POINT;
Description
Represents a point (pt) type.