Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.1.0)

E17493-02

oracle.javatools.ui
Class LayoutConstants

java.lang.Object
  extended by oracle.javatools.ui.LayoutConstants

public final class LayoutConstants
extends java.lang.Object

Provides access to pixel sizing constants that can be used in user interface designs to achieve consistent spacing and layout.

Since:
11.1.1.0.0

Field Summary
static int BUTTON_HGAP
          The gap in pixels between buttons placed horizontally in a row.
static int CONTROL_HGAP
          The horizontal gap in pixels between two controls sections.
static int CONTROL_VGAP
          The vertical gap in pixels between controls positioned together in a column.
static int GROUP_BOX_MARGIN
          The top, left, bottom and right margin in pixels between group box content and its edges.
static int HEADER_CONTROL_VGAP
          The vertical gap in pixels between a header and the control below it.
static int HEADER_INSTRUCTION_VGAP
          The vertical gap in pixels between a header and instruction text associated with it.
static int HORIZONTAL_INDENT
          The horizontal indentation in pixels for detail controls in relation to a master control.
static int ICONIC_BUTTON_HGAP
          The gap in pixels between iconic buttons placed horizontally in a row.
static int INSTRUCTION_CONTROL_VGAP
          The vertical gap in pixels between instruction text and the first control beneath it.
static int LABEL_CONTROL_HGAP
          The horizontal gap in pixels between a label and the control it applies to.
static int MAJOR_SECTION_VGAP
          The vertical gap in pixels between major control sections.
static int MARGIN
          The top, left, bottom and right margin in pixels between dialog content and the edge of the dialog.
static int RADIO_OPTION_HGAP
          The horizontal gap in pixels between radio option groups.
static int TAB_MARGIN
          The left, bottom and right margin in pixels between tab content and the edge of the tab.
static int TAB_TOP_MARGIN
          The top margin in pixels between tab content and the edge of the tab.
static int TOP_MARGIN
          The top margin in pixels between dialog content and the edge of the dialog.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MARGIN

public static final int MARGIN
The top, left, bottom and right margin in pixels between dialog content and the edge of the dialog.

See Also:
Constant Field Values

LABEL_CONTROL_HGAP

public static final int LABEL_CONTROL_HGAP
The horizontal gap in pixels between a label and the control it applies to.

See Also:
Constant Field Values

HORIZONTAL_INDENT

public static final int HORIZONTAL_INDENT
The horizontal indentation in pixels for detail controls in relation to a master control.

See Also:
Constant Field Values

BUTTON_HGAP

public static final int BUTTON_HGAP
The gap in pixels between buttons placed horizontally in a row.

See Also:
Constant Field Values

RADIO_OPTION_HGAP

public static final int RADIO_OPTION_HGAP
The horizontal gap in pixels between radio option groups. This can be used for checkbox groups as well.

See Also:
Constant Field Values

MAJOR_SECTION_VGAP

public static final int MAJOR_SECTION_VGAP
The vertical gap in pixels between major control sections.

See Also:
Constant Field Values

CONTROL_VGAP

public static final int CONTROL_VGAP
The vertical gap in pixels between controls positioned together in a column. Also used for a label positioned above a control, and for a button positioned above or below a control and related directly to it.

See Also:
Constant Field Values

HEADER_INSTRUCTION_VGAP

public static final int HEADER_INSTRUCTION_VGAP
The vertical gap in pixels between a header and instruction text associated with it.

See Also:
Constant Field Values

INSTRUCTION_CONTROL_VGAP

public static final int INSTRUCTION_CONTROL_VGAP
The vertical gap in pixels between instruction text and the first control beneath it.

See Also:
Constant Field Values

TOP_MARGIN

public static final int TOP_MARGIN
The top margin in pixels between dialog content and the edge of the dialog.

See Also:
Constant Field Values

CONTROL_HGAP

public static final int CONTROL_HGAP
The horizontal gap in pixels between two controls sections. This should be used when controls are placed in more than one columns in a table like layout.

See Also:
Constant Field Values

ICONIC_BUTTON_HGAP

public static final int ICONIC_BUTTON_HGAP
The gap in pixels between iconic buttons placed horizontally in a row.

See Also:
Constant Field Values

TAB_TOP_MARGIN

public static final int TAB_TOP_MARGIN
The top margin in pixels between tab content and the edge of the tab. To be used in JTabbedPane and Overview tabs.

See Also:
Constant Field Values

TAB_MARGIN

public static final int TAB_MARGIN
The left, bottom and right margin in pixels between tab content and the edge of the tab. To be used in JTabbedPane and Overview tabs.

See Also:
Constant Field Values

HEADER_CONTROL_VGAP

public static final int HEADER_CONTROL_VGAP
The vertical gap in pixels between a header and the control below it.

See Also:
Constant Field Values

GROUP_BOX_MARGIN

public static final int GROUP_BOX_MARGIN
The top, left, bottom and right margin in pixels between group box content and its edges.

See Also:
Constant Field Values

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.1.0)

E17493-02

Copyright © 1997, 2011, Oracle. All rights reserved.