ColumnGrouping¶
Definition¶
Extends¶
Extended By¶
Description¶
A TablePanel or TreePanel column grouping, as ColumnGroupingManager.getGroup() returns it.
Method Summary¶
| Owner | Name | Return Type | Description |
|---|---|---|---|
| ColumnGrouping | collapse() | ColumnGrouping | Collapses this column grouping. No-op if the grouping is not collapsible. Returns this grouping. |
| DashboardResource | commit() | Object | Commits transient changes, promoting overrides to persisted values. If transient, makes permanent. |
| ColumnGrouping | expand() | ColumnGrouping | Expands this column grouping. No-op if the grouping is not collapsible. Returns this grouping. |
| DashboardResource | getCallback(callbackName) | Callback | Returns a callback by name |
| DashboardResource | getCallbackNames() | List | Returns the callback names defined for this dashboard resource. Use session.getDevTools().getCallbackEditor(resource, callbackName) to edit one, and call editor.open() when you want to show the UI. |
| DashboardResource | getCallbacks() | Map | Returns a map of all callback definitions. |
| ColumnGrouping | getChildGroupings() | List | Returns the groupings nested directly inside this one, in display order. |
| DashboardResource | getChildren() | List | Returns a list of the child dashboard resources. |
| Object | getClassName() | String | Returns the string name of this object's class type. |
| DashboardResource | getDRI() | String | Returns the Dashboard Resource Indicator (DRI) as a string. DRI is the unique identifier of an object within the entire dashboard. |
| DashboardResource | getDashboardResourceType() | String | Returns the Dashboard Resource Type as a string |
| DashboardResource | getFormula(formulaName) | Formula | Returns a Formula given the formula name. |
| DashboardResource | getFormulaNames() | Set | Returns a set of the names of all formulas for this object. |
| DashboardResource | getFormulas() | Map | Returns a map of all available formulas for this object. The key is the formula name. |
| ColumnGrouping | getId() | String | Returns the column grouping id. |
| DashboardResource | getLRI() | String | Returns the Localized Resource Indicator (LRI) as a string. LRI is the unique identifier of this resource with the parent element. |
| ColumnGrouping | getOwner() | Panel | Returns the TablePanel or TreePanel that owns this grouping. |
| ColumnGrouping | getParent() | ColumnGrouping | Returns the grouping this one is nested in, or null for a top-level grouping. |
| ColumnGrouping | getTitle() | String | Returns the column grouping title. |
| DashboardResource | invokeCallback(callbackName, args) | Object | Executes the specified callback definition and returns the result from the callback. |
| ColumnGrouping | isCollapsed() | Boolean | Returns true if this grouping is collapsed. |
| DashboardResource | isTransient() | Boolean | Returns true if this is transient, false otherwise. Transient objects are not saved to the layout. |
| Object | toJson() | String | Returns a string of a json representation of this object. |
Method Definitions¶
collapse()¶
ColumnGrouping ColumnGrouping::collapse()
Description¶
Collapses this column grouping. No-op if the grouping is not collapsible. Returns this grouping.
commit()¶
Object DashboardResource::commit()
Description¶
Commits transient changes, promoting overrides to persisted values. If transient, makes permanent.
expand()¶
ColumnGrouping ColumnGrouping::expand()
Description¶
Expands this column grouping. No-op if the grouping is not collapsible. Returns this grouping.
getCallback(callbackName)¶
Callback DashboardResource::getCallback(String callbackName)
Description¶
Returns a callback by name
Parameter Definition¶
| Name | Type | Description |
|---|---|---|
| callbackName | String | method name of callback |
getCallbackNames()¶
List DashboardResource::getCallbackNames()
Description¶
Returns the callback names defined for this dashboard resource. Use session.getDevTools().getCallbackEditor(resource, callbackName) to edit one, and call editor.open() when you want to show the UI.
getCallbacks()¶
Map DashboardResource::getCallbacks()
Description¶
Returns a map of all callback definitions.
getChildGroupings()¶
List ColumnGrouping::getChildGroupings()
Description¶
Returns the groupings nested directly inside this one, in display order.
getChildren()¶
List DashboardResource::getChildren()
Description¶
Returns a list of the child dashboard resources.
getClassName()¶
Description¶
Returns the string name of this object's class type.
getDRI()¶
String DashboardResource::getDRI()
Description¶
Returns the Dashboard Resource Indicator (DRI) as a string. DRI is the unique identifier of an object within the entire dashboard.
getDashboardResourceType()¶
String DashboardResource::getDashboardResourceType()
Description¶
Returns the Dashboard Resource Type as a string
getFormula(formulaName)¶
Formula DashboardResource::getFormula(String formulaName)
Description¶
Returns a Formula given the formula name.
Parameter Definition¶
| Name | Type | Description |
|---|---|---|
| formulaName | String | name of the formula to return |
getFormulaNames()¶
Set DashboardResource::getFormulaNames()
Description¶
Returns a set of the names of all formulas for this object.
getFormulas()¶
Map DashboardResource::getFormulas()
Description¶
Returns a map of all available formulas for this object. The key is the formula name.
getId()¶
String ColumnGrouping::getId()
Description¶
Returns the column grouping id.
getLRI()¶
String DashboardResource::getLRI()
Description¶
Returns the Localized Resource Indicator (LRI) as a string. LRI is the unique identifier of this resource with the parent element.
getOwner()¶
Panel ColumnGrouping::getOwner()
Description¶
Returns the TablePanel or TreePanel that owns this grouping.
getParent()¶
ColumnGrouping ColumnGrouping::getParent()
Description¶
Returns the grouping this one is nested in, or null for a top-level grouping.
getTitle()¶
String ColumnGrouping::getTitle()
Description¶
Returns the column grouping title.
invokeCallback(callbackName,args)¶
Object DashboardResource::invokeCallback(String callbackName, Object ... args)
Description¶
Executes the specified callback definition and returns the result from the callback.
Parameter Definition¶
| Name | Type | Description |
|---|---|---|
| callbackName | String | method name of callback |
| args | Object ... | arguments |
isCollapsed()¶
Boolean ColumnGrouping::isCollapsed()
Description¶
Returns true if this grouping is collapsed.
isTransient()¶
Boolean DashboardResource::isTransient()
Description¶
Returns true if this is transient, false otherwise. Transient objects are not saved to the layout.
toJson()¶
Description¶
Returns a string of a json representation of this object.