Container Class

Represents a location and style in which to display more than one custom console component in the sidebars of the console.

Metadata

Use this class when accessing Metadata.Layout metadata components. For more information, see “Container” in the Metadata API Developer Guide.

The following are properties for Container.

  • height

    The height of the component’s container. The unit property determines the unit of measurement, in pixels or percent.

  • isContainerAutoSizeEnabled

    If set to true, stacked console components in the sidebars autosize vertically.

  • region

    The location of the component’s container (right, left, bottom, top).

  • sidebarComponents

    Represents a specific custom console component to display in the components’ container.

  • style

    The style of the container in which to display multiple components (stack, tab, accordion).

  • unit

    The unit of measurement, in pixels or percent, for the height or width of the components’ container.

  • width

    The width of the component’s container. The unit property determines the unit of measurement, in pixels or percent.

The height of the component’s container. The unit property determines the unit of measurement, in pixels or percent.

public Integer height {get; set;}

Type: Integer

If set to true, stacked console components in the sidebars autosize vertically.

public Boolean isContainerAutoSizeEnabled {get; set;}

Type: Boolean

The location of the component’s container (right, left, bottom, top).

public String region {get; set;}

Type: String

Represents a specific custom console component to display in the components’ container.

public List<Metadata.SidebarComponent> sidebarComponents {get; set;}

Type: List<Metadata.SidebarComponent>

The style of the container in which to display multiple components (stack, tab, accordion).

public String style {get; set;}

Type: String

The unit of measurement, in pixels or percent, for the height or width of the components’ container.

public String unit {get; set;}

Type: String

The width of the component’s container. The unit property determines the unit of measurement, in pixels or percent.

public Integer width {get; set;}

Type: Integer

The following are methods for Container.

  • clone()

    Makes a duplicate copy of the Metadata.Container.

Makes a duplicate copy of the Metadata.Container.

public Object clone()

Type: Object