Package org.adempiere.webui.component
Class WTableColumn
java.lang.Object
org.adempiere.webui.component.WTableColumn
Model for
WListbox column- Author:
- Andrew Kimball
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classParameters for editor provider -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Class<?>protected ObjectThe header value of the column.protected booleanDeprecated, for removal: This API element is subject to removal in a future version.protected intDeprecated, for removal: This API element is subject to removal in a future version.protected intDeprecated, for removal: This API element is subject to removal in a future version.protected Stringprotected intDeprecated, for removal: This API element is subject to removal in a future version. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorWTableColumn(int width) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionintClass<?>Get theObjectused as the value for the header renderer.intDeprecated, for removal: This API element is subject to removal in a future version.intDeprecated, for removal: This API element is subject to removal in a future version.intDeprecated, for removal: This API element is subject to removal in a future version.booleanDeprecated, for removal: This API element is subject to removal in a future version.intgetWidth()Deprecated, for removal: This API element is subject to removal in a future version.voidsetAD_Reference_ID(int AD_Reference_ID) voidsetColumnClass(Class<?> columnClass) Set column typevoidSet optional editor provider for columnvoidsetHeaderValue(Object headerValue) Sets theObjectwhose string representation will be used as the value for theheaderRenderer.voidsetMaxWidth(int maxWidth) Deprecated, for removal: This API element is subject to removal in a future version.voidsetMinWidth(int minWidth) Deprecated, for removal: This API element is subject to removal in a future version.voidsetPreferredWidth(int preferredWidth) Deprecated, for removal: This API element is subject to removal in a future version.voidsetResizable(boolean isResizable) Deprecated, for removal: This API element is subject to removal in a future version.voidsetTooltipText(String tooltipText) voidsetWidth(int width) Deprecated, for removal: This API element is subject to removal in a future version.
-
Field Details
-
width
Deprecated, for removal: This API element is subject to removal in a future version. -
minWidth
Deprecated, for removal: This API element is subject to removal in a future version. -
maxWidth
Deprecated, for removal: This API element is subject to removal in a future version. -
isResizable
Deprecated, for removal: This API element is subject to removal in a future version. -
headerValue
The header value of the column. -
columnClass
-
tooltipText
-
-
Constructor Details
-
WTableColumn
public WTableColumn()Default constructor -
WTableColumn
Deprecated, for removal: This API element is subject to removal in a future version.- Parameters:
width-
-
-
Method Details
-
setHeaderValue
Sets theObjectwhose string representation will be used as the value for theheaderRenderer. When theWTableColumnis created, the defaultheaderValueisnull.- Parameters:
headerValue- the new headerValue- See Also:
-
getHeaderValue
Get theObjectused as the value for the header renderer.- Returns:
- the
headerValueproperty - See Also:
-
setWidth
Deprecated, for removal: This API element is subject to removal in a future version. -
getWidth
Deprecated, for removal: This API element is subject to removal in a future version. -
setPreferredWidth
Deprecated, for removal: This API element is subject to removal in a future version. -
getPreferredWidth
Deprecated, for removal: This API element is subject to removal in a future version. -
setMinWidth
Deprecated, for removal: This API element is subject to removal in a future version. -
getMinWidth
Deprecated, for removal: This API element is subject to removal in a future version. -
setMaxWidth
Deprecated, for removal: This API element is subject to removal in a future version. -
getMaxWidth
Deprecated, for removal: This API element is subject to removal in a future version. -
setResizable
Deprecated, for removal: This API element is subject to removal in a future version. -
getResizable
Deprecated, for removal: This API element is subject to removal in a future version. -
getColumnClass
- Returns:
- Class
-
setColumnClass
Set column type- Parameters:
columnClass-
-
getTooltipText
- Returns:
- tooltip text
-
setTooltipText
- Parameters:
tooltipText-
-
getAD_Reference_ID
public int getAD_Reference_ID()- Returns:
- AD_Reference_ID
-
setAD_Reference_ID
public void setAD_Reference_ID(int AD_Reference_ID) - Parameters:
AD_Reference_ID-
-
setEditorProvider
Set optional editor provider for column- Parameters:
provider- Function<EditorProviderParameters, WEditor>
-
getEditorProvider
- Returns:
- Function<EditorProviderParameters, WEditor> instance of null
-