Container Class
Represents a location and style in which to display more than one custom console component in the sidebars of the console.
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.
-
The height of the component’s container. The
unitproperty determines the unit of measurement, in pixels or percent. -
If set to true, stacked console components in the sidebars autosize vertically.
-
The location of the component’s container (right, left, bottom, top).
-
Represents a specific custom console component to display in the components’ container.
-
The style of the container in which to display multiple components (stack, tab, accordion).
-
The unit of measurement, in pixels or percent, for the height or width of the components’ container.
-
The width of the component’s container. The
unitproperty 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.
-
Makes a duplicate copy of the
Metadata.Container.
Makes a duplicate copy of the Metadata.Container.
public Object clone()
Type: Object