Package com.ptc.mvc.components
Interface ComponentConfigFactory
- All Known Subinterfaces:
InfoComponentConfigFactory
public interface ComponentConfigFactory
Creates implementations of ComponentConfig instances
Supported API: true
Extendable: false
Supported API: true
Extendable: false
-
Method Summary
Modifier and TypeMethodDescriptionCreates and returns a new instance of AttributeConfig with id being set.newAttributeConfig(String id, String label) Creates and returns a new instance of AttributeConfig with id and label set.newAttributeConfig(String id, String label, int row, int column) Creates and returns a new instance of AttributeConfig with id, label, row position and column position set (useful for multi-column layouts.Create and returns a new instance of AttributePanelConfig
Supported API: trueCreates and returns a new instance of AttributePanelConfig with id set on it.Creates and returns a new instance of ColumnConfig
Supported API: truenewColumnConfig(String id, boolean sortable) Create and return a new instance of ColumnConfig with the specified column id and sortable value.newColumnConfig(String id, String label, boolean sortable) Create and return a new instance of ColumnConfig with the specified column id, label, and sortable value.Creates and returns a new instance of GroupConfig
Supported API: truenewGroupConfig(String id) Creates and returns a new instance of GroupConfig with id being set.newGroupConfig(String id, String label) Creates and returns a new instance of GroupConfig with id and label set
Supported API: truenewGroupConfig(String id, String label, Integer sortOrder) Creates and returns a new instance of GroupConfig with id, label, and the sort order set
Supported API: trueCreates and returns a new instance of InfoConfig
Supported API: truecom.ptc.mvc.components.MiniInfoConfignewMiniInfoConfig(Object contextObj) Creates and returns a new instance of MiniInfoConfig
Supported API: trueCreates and returns a new instance of MiniTableConfig
Supported API: trueCreates and returns a new instance of PropertyConfig
Supported API: trueCreates and returns a new instance of PropertyConfig
Supported API: trueCreates and returns a new instance of TableConfig
Supported API: trueCreates and returns a new instance of TreeConfig
Supported API: true
-
Method Details
-
newTableConfig
TableConfig newTableConfig()Creates and returns a new instance of TableConfig
Supported API: true- Returns:
- TableConfig
-
newTreeConfig
TreeConfig newTreeConfig()Creates and returns a new instance of TreeConfig
Supported API: true- Returns:
- TreeConfig
-
newColumnConfig
ColumnConfig newColumnConfig()Creates and returns a new instance of ColumnConfig
Supported API: true- Returns:
- ColumnConfig
-
newColumnConfig
Create and return a new instance of ColumnConfig with the specified column id and sortable value. The column returned will be marked as hidden if the id matches DescriptorConstants.ColumnIdentifiers.NM_ACTIONS. If you would like a visible actions column, please call ColumnConfig.setHidden(false) manually.
Supported API: true- Parameters:
id-sortable-- Returns:
- ColumnConfig
-
newColumnConfig
Create and return a new instance of ColumnConfig with the specified column id, label, and sortable value. The column returned will be marked as hidden if the id matches DescriptorConstants.ColumnIdentifiers.NM_ACTIONS. If you would like a visible actions column, please call ColumnConfig.setHidden(false) manually.
Supported API: true- Parameters:
id-sortable-- Returns:
- ColumnConfig
-
newPropertyConfig
PropertyConfig newPropertyConfig()Creates and returns a new instance of PropertyConfig
Supported API: true- Returns:
- PropertyConfig
-
newPropertyConfig
Creates and returns a new instance of PropertyConfig
Supported API: true- Parameters:
id-- Returns:
- PropertyConfig
-
newInfoConfig
InfoConfig newInfoConfig()Creates and returns a new instance of InfoConfig
Supported API: true- Returns:
- InfoConfig
-
newMiniInfoConfig
Creates and returns a new instance of MiniInfoConfig
Supported API: true- Returns:
- MiniInfoConfig
-
newAttributeConfig
Creates and returns a new instance of AttributeConfig with id being set.
Supported API: true- Parameters:
id-- Returns:
- AttributeConfig
-
newAttributeConfig
Creates and returns a new instance of AttributeConfig with id and label set.
Supported API: true- Parameters:
id-label-- Returns:
- AttributeConfig
-
newAttributeConfig
Creates and returns a new instance of AttributeConfig with id, label, row position and column position set (useful for multi-column layouts.
Supported API: true- Parameters:
id-label-row-column-- Returns:
- AttributeConfig
-
newGroupConfig
GroupConfig newGroupConfig()Creates and returns a new instance of GroupConfig
Supported API: true- Returns:
- GroupConfig
-
newGroupConfig
Creates and returns a new instance of GroupConfig with id being set.
Supported API: true- Parameters:
id-- Returns:
- GroupConfig
-
newGroupConfig
Creates and returns a new instance of GroupConfig with id and label set
Supported API: true- Parameters:
id-label-sortOrder-- Returns:
- GroupConfig
-
newGroupConfig
Creates and returns a new instance of GroupConfig with id, label, and the sort order set
Supported API: true- Parameters:
id-label-sortOrder-- Returns:
- GroupConfig
-
newAttributePanelConfig
AttributePanelConfig newAttributePanelConfig()Create and returns a new instance of AttributePanelConfig
Supported API: true- Returns:
- AttributePanelConfig
-
newAttributePanelConfig
Creates and returns a new instance of AttributePanelConfig with id set on it.
Supported API: true- Parameters:
id-- Returns:
- AttributePanelConfig
-
newMiniTableConfig
MiniTableConfig newMiniTableConfig()Creates and returns a new instance of MiniTableConfig
Supported API: true- Returns:
- MiniTableConfig
-