Package com.ptc.jca.mvc.components
Class JcaTableConfig
java.lang.Object
com.ptc.jca.mvc.components.AbstractJcaComponentConfig
com.ptc.jca.mvc.components.AbstractJcaTableConfig
com.ptc.jca.mvc.components.JcaTableConfig
- All Implemented Interfaces:
JcaComponentConfig,BasicTableConfig,ComponentConfig,CustomizableViewConfig,com.ptc.mvc.components.ds.DataSourceComponentConfig,TableConfig,Serializable,Cloneable
- Direct Known Subclasses:
com.ptc.jca.mvc.components.JcaPropertyPanelConfig,JcaTreeConfig
public class JcaTableConfig
extends AbstractJcaTableConfig
implements TableConfig, com.ptc.mvc.components.ds.DataSourceComponentConfig
Describes a JCA table.
Instances of this class should typically be created by a ComponentConfigFactory
Supported API: true
Extendable: false
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionThis will return the column Id which is deciding the row would be selectable or not.
Supported API: trueThe name of the Class that will get an ArrayList of nonSelectable NmOid's.
Supported API: trueThe name of the static method that will return an ArrayList of nonSelectable NmOid's.
Supported API: trueThis will return column whose values can be considered to decide whether row is pre selected or not.
Supported API: trueGet the comma separated column ids which are party in creating a unique row id in trail replay.
Supported API: truebooleanReturns true if table is supposed to get the row ids generated by Ext at client side
Supported API: truevoidsetAutoGenerateRowId(boolean autoGenerateRowId) If set to true, the row id which uniquely identifies a row will be auto generated at client side during rendering Default value is false.
Supported API: truefinal voidsetDataSourceMode(DataSourceMode dataSourceMode) For detailed description check:DataSourceComponentConfig.setDataSourceMode(DataSourceMode)
Supported API: truefinal voidsetInitialRows(boolean initialRows) If set true, initial rows are generated for table.voidsetNonSelectableColumn(ColumnConfig nonSelectableColumn) This will set column whose values can be considered to decide wheather row is selectable or not.
Supported API: truevoidsetNonSelectables(String className, String methodName) The static method in the class should return an array of NmOids.voidsetPreSelectableColumn(ColumnConfig preSelectableColumn) This will set column whose values can be considered to decide whether row is pre selected or not.
Supported API: truefinal voidsetSingleSelect(boolean singleSelect) voidsetTrailIdColumns(String trailIdColumns) Set the comma separated column ids which are party in creating a unique row id in trail replay.
Supported API: trueMethods inherited from class com.ptc.jca.mvc.components.AbstractJcaTableConfig
setPtypes, setXtypeMethods inherited from class com.ptc.jca.mvc.components.AbstractJcaComponentConfig
getLabel, setComponentMode, setDescriptorProperty, setLabelMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.ptc.mvc.components.ComponentConfig
addComponent, addComponents, getActionModel, getComponentMode, getComponents, getComponentType, getHelpContext, getId, getLabel, getTargetObject, getType, getTypes, removeComponent, setActionModel, setComponentMode, setComponentType, setHelpContext, setId, setLabel, setTargetObject, setType, setTypes
-
Method Details
-
setDataSourceMode
For detailed description check:DataSourceComponentConfig.setDataSourceMode(DataSourceMode)
Supported API: true- Specified by:
setDataSourceModein interfacecom.ptc.mvc.components.ds.DataSourceComponentConfig
-
setInitialRows
public final void setInitialRows(boolean initialRows) If set true, initial rows are generated for table. By default, it is set to false.
Supported API: true- Parameters:
initialRows-
-
setSingleSelect
public final void setSingleSelect(boolean singleSelect) - Specified by:
setSingleSelectin interfaceTableConfig
-
setNonSelectables
The static method in the class should return an array of NmOids. The rows that contain these NmOids will be made non-selectable
Supported API: true- Parameters:
className- The name of the Class that will get an ArrayList of nonSelectable NmOid's.methodName- The name of the static method that will return an ArrayList of nonSelectable NmOid's.
-
getNonSelectablesClassName
The name of the Class that will get an ArrayList of nonSelectable NmOid's.
Supported API: true- Returns:
- String
-
getNonSelectablesMethodName
The name of the static method that will return an ArrayList of nonSelectable NmOid's.
Supported API: true- Returns:
- String
-
setNonSelectableColumn
This will set column whose values can be considered to decide wheather row is selectable or not.
Supported API: true- Specified by:
setNonSelectableColumnin interfaceTableConfig- Parameters:
nonSelectableColumn-
-
getNonSelectableColumn
This will return the column Id which is deciding the row would be selectable or not.
Supported API: true- Specified by:
getNonSelectableColumnin interfaceTableConfig- Returns:
-
isAutoGenerateRowId
public boolean isAutoGenerateRowId()Returns true if table is supposed to get the row ids generated by Ext at client side
Supported API: true- Returns:
-
setAutoGenerateRowId
public void setAutoGenerateRowId(boolean autoGenerateRowId) If set to true, the row id which uniquely identifies a row will be auto generated at client side during rendering Default value is false.
Supported API: true- Parameters:
autoGenerateRowId-
-
getTrailIdColumns
Get the comma separated column ids which are party in creating a unique row id in trail replay.
Supported API: true- Returns:
- the trailIdColumns
-
setTrailIdColumns
Set the comma separated column ids which are party in creating a unique row id in trail replay.
Supported API: true- Parameters:
trailIdColumns- the trailIdColumns to set
-
getPreSelectableColumn
This will return column whose values can be considered to decide whether row is pre selected or not.
Supported API: true- Specified by:
getPreSelectableColumnin interfaceTableConfig- Returns:
-
setPreSelectableColumn
This will set column whose values can be considered to decide whether row is pre selected or not.
Supported API: true- Specified by:
setPreSelectableColumnin interfaceTableConfig- Parameters:
nonSelectableColumn-
-