BSCol

A column within a row which, depending on its #getSpan() , could be as narrow as 1/12th of the page’s width, all the way up to spanning the entire page.

Pretty much other content can be contained within a column, though most commonly it will be FieldSet s (a group of properties) or CollectionLayoutData s. However, columns can also be used to contain further BSRow s (creating a nested grid of rows/cols/rows/cols) and BSTabGroup s.

It is rendered as a (eg) <div class="col-md-4 …​">

API

BSCol.java
class BSCol {
  String getId()     (1)
  void setId(String id)
  int getSpan()
  void setSpan(int span)
  Boolean isUnreferencedActions()     (2)
  void setUnreferencedActions(Boolean unreferencedActions)
  Boolean isUnreferencedCollections()     (3)
  void setUnreferencedCollections(Boolean unreferencedCollections)
  DomainObjectLayoutData getDomainObject()     (4)
  void setDomainObject(DomainObjectLayoutData domainObjectLayoutData)
  List<SizeSpan> getSizeSpans()
  void setSizeSpans(List<SizeSpan> sizeSpans)
  List<ActionLayoutData> getActions()
  void setActions(List<ActionLayoutData> actions)
  List<BSRow> getRows()
  void setRows(List<BSRow> rows)
  List<BSTabGroup> getTabGroups()
  void setTabGroups(List<BSTabGroup> tabGroups)
  List<FieldSet> getFieldSets()
  void setFieldSets(List<FieldSet> fieldSets)
  List<CollectionLayoutData> getCollections()
  void setCollections(List<CollectionLayoutData> collections)
  String getMetadataError()     (5)
  void setMetadataError(String metadataError)
  String toCssClass()
  String toString()
}
1 getId()

As per <div id="…​">…​</div> : must be unique across entire page.

2 isUnreferencedActions()

Whether this column should be used to hold any unreferenced actions (contributed or "native").

3 isUnreferencedCollections()

Whether this column should be used to hold any unreferenced collections (contributed or "native").

4 getDomainObject()

Whether to show the object’s icon and title.

5 getMetadataError()

For diagnostics; populated by the framework if and only if a metadata error.

Members

getId()

As per <div id="…​">…​</div> : must be unique across entire page.

isUnreferencedActions()

Whether this column should be used to hold any unreferenced actions (contributed or "native").

Any layout must have precisely one column or FieldSet that has this attribute set.

isUnreferencedCollections()

Whether this column should be used to hold any unreferenced collections (contributed or "native").

Any layout must have precisely one column or BSTabGroup that has this attribute set.

getDomainObject()

Whether to show the object’s icon and title.

getMetadataError()

For diagnostics; populated by the framework if and only if a metadata error.