Oculus Layout System API Documentation
November 25, 2002

com.oculustech.layout
Interface OculusLayoutConstants

All Known Implementing Classes:
OculusGrid, OculusLayout

public interface OculusLayoutConstants

Interface that defines all the constants used throughout the OculusLayout package.


Field Summary
static int BOTTOM_JUSTIFY
          In a grid, indication that contents should be aligned to the bottom border of cell.
static int CENTER
          In a grid, indication that contents should be centered within the cell.
static int HORIZONTAL
          Specifies that components should be laid out left to right in an OculusBox.
static int INFINITY
          OculusLayout, OculusGrid, and OculusBox use the below constant to indicate infinity rather than using Integer.MAX_VALUE, in order to prevent accidental overflows.
static int JUSTIFY_BOTTOM
          Synonomous with BOTTOM_JUSTIFY.
static int JUSTIFY_CENTER
          Synonomous with CENTER.
static int JUSTIFY_LEFT
          Synonomous with LEFT_JUSTIFY.
static int JUSTIFY_RIGHT
          Synonomous with RIGHT_JUSTIFY.
static int JUSTIFY_TOP
          Synonomous with TOP_JUSTIFY.
static int LEFT_JUSTIFY
          In a grid, indication that contents should be aligned to left border of cell.
static int RIGHT_JUSTIFY
          In a grid, indication that contents should be aligned to the right border of cell.
static int TOP_JUSTIFY
          In a grid, indication that contents should be aligned to the top border of cell.
static int VERTICAL
          Specifies that components should be laid out top to bottom in an OculusBox.
 

Field Detail

HORIZONTAL

public static final int HORIZONTAL
Specifies that components should be laid out left to right in an OculusBox.

VERTICAL

public static final int VERTICAL
Specifies that components should be laid out top to bottom in an OculusBox.

LEFT_JUSTIFY

public static final int LEFT_JUSTIFY
In a grid, indication that contents should be aligned to left border of cell. Specifies left justification in vertical box.

RIGHT_JUSTIFY

public static final int RIGHT_JUSTIFY
In a grid, indication that contents should be aligned to the right border of cell. Specifies right justification in vertical box

CENTER

public static final int CENTER
In a grid, indication that contents should be centered within the cell. Specifies center justification in any box.

TOP_JUSTIFY

public static final int TOP_JUSTIFY
In a grid, indication that contents should be aligned to the top border of cell. Specifies top justification in horizontal box.

BOTTOM_JUSTIFY

public static final int BOTTOM_JUSTIFY
In a grid, indication that contents should be aligned to the bottom border of cell. Specifies bottom justification in horizontal box.

JUSTIFY_LEFT

public static final int JUSTIFY_LEFT
Synonomous with LEFT_JUSTIFY.

JUSTIFY_TOP

public static final int JUSTIFY_TOP
Synonomous with TOP_JUSTIFY.

JUSTIFY_RIGHT

public static final int JUSTIFY_RIGHT
Synonomous with RIGHT_JUSTIFY.

JUSTIFY_BOTTOM

public static final int JUSTIFY_BOTTOM
Synonomous with BOTTOM_JUSTIFY.

JUSTIFY_CENTER

public static final int JUSTIFY_CENTER
Synonomous with CENTER.

INFINITY

public static final int INFINITY
OculusLayout, OculusGrid, and OculusBox use the below constant to indicate infinity rather than using Integer.MAX_VALUE, in order to prevent accidental overflows. Components that report Integer.MAX_VALUE as a maximum width or height will be treated equivalently as if they had reported this (smaller, but still quite large) number instead.

Oculus Layout System API Documentation
November 25, 2002

Copyright 2001-2002 Oculus Technologies Corporation. 103 Broad Street, 5th Floor,
Boston, Massachusetts, 02110, U.S.A. All Rights Reserved.