public class BaseGridColumn<T> extends Object implements GridColumn<T>
GridColumn.ColumnWidthMode, GridColumn.HeaderMetaData| Modifier and Type | Field and Description |
|---|---|
protected String |
placeHolder |
| Constructor and Description |
|---|
BaseGridColumn(GridColumn.HeaderMetaData headerMetaData,
GridColumnRenderer<T> columnRenderer,
double width) |
BaseGridColumn(GridColumn.HeaderMetaData headerMetaData,
GridColumnRenderer<T> columnRenderer,
double width,
String placeHolder) |
BaseGridColumn(List<GridColumn.HeaderMetaData> headerMetaData,
GridColumnRenderer<T> columnRenderer,
double width) |
BaseGridColumn(List<GridColumn.HeaderMetaData> headerMetaData,
GridColumnRenderer<T> columnRenderer,
double width,
String placeHolder) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
GridColumnRenderer<T> |
getColumnRenderer()
Returns the Render for the column
|
GridColumn.ColumnWidthMode |
getColumnWidthMode()
Get column width mode
|
List<GridColumn.HeaderMetaData> |
getHeaderMetaData()
Returns the MetaData for the Header.
|
int |
getIndex()
Returns the logical index to which this column relates.
|
GridColumn<?> |
getLink()
Returns the column to which this column is linked
|
Double |
getMaximumWidth()
Returns the maximum width to which the column can be re-sized
|
Double |
getMinimumWidth()
Returns the minimum width to which the column can be re-sized
|
String |
getPlaceHolder() |
double |
getWidth()
Returns the column's width
|
int |
hashCode() |
boolean |
isFloatable()
Returns a flag indicating whether a column is capable of floating on the left-hand side of the table when clipped horizontally.
|
boolean |
isLinked()
Returns a flag indicating this column is linked to another
|
boolean |
isMovable()
Returns a flag indicating whether a column can be moved.
|
boolean |
isResizable()
Returns a flag indicating whether a column can be re-sized.
|
boolean |
isVisible()
Returns a flag indicating whether a column is visible.
|
void |
setColumnWidthMode(GridColumn.ColumnWidthMode columnWidthMode)
Set column width mode
|
void |
setFloatable(boolean isFloatable)
Sets whether the column is capable of floating on the left-hand side of the table when clipped horizontally.
|
void |
setIndex(int index)
Sets the logical index of the column, to support indirection of columns' access to row data.
|
void |
setLink(GridColumn<?> link)
Sets the column to which this column is linked
|
void |
setMaximumWidth(Double maximumWidth)
Sets the maximum width to which the column can be re-sized
|
void |
setMinimumWidth(Double minimumWidth)
Sets the minimum width to which the column can be re-sized
|
void |
setMovable(boolean isMovable)
Sets whether the column can be moved.
|
void |
setPlaceHolder(String placeHolder) |
void |
setResizable(boolean isResizable)
Sets whether the column can be re-sized.
|
void |
setVisible(boolean isVisible)
Sets whether the column is visible.
|
void |
setWidth(double width)
Sets the columns width
|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitedit, editprotected String placeHolder
public BaseGridColumn(GridColumn.HeaderMetaData headerMetaData, GridColumnRenderer<T> columnRenderer, double width)
public BaseGridColumn(List<GridColumn.HeaderMetaData> headerMetaData, GridColumnRenderer<T> columnRenderer, double width)
public BaseGridColumn(GridColumn.HeaderMetaData headerMetaData, GridColumnRenderer<T> columnRenderer, double width, String placeHolder)
public BaseGridColumn(List<GridColumn.HeaderMetaData> headerMetaData, GridColumnRenderer<T> columnRenderer, double width, String placeHolder)
public List<GridColumn.HeaderMetaData> getHeaderMetaData()
GridColumngetHeaderMetaData in interface GridColumn<T>public GridColumnRenderer<T> getColumnRenderer()
GridColumngetColumnRenderer in interface GridColumn<T>public double getWidth()
GridColumngetWidth in interface GridColumn<T>public void setWidth(double width)
GridColumnsetWidth in interface GridColumn<T>public boolean isLinked()
GridColumnisLinked in interface GridColumn<T>public GridColumn<?> getLink()
GridColumngetLink in interface GridColumn<T>public void setLink(GridColumn<?> link)
GridColumnsetLink in interface GridColumn<T>public int getIndex()
GridColumngetIndex in interface GridColumn<T>public void setIndex(int index)
GridColumnsetIndex in interface GridColumn<T>public boolean isResizable()
GridColumnisResizable in interface GridColumn<T>public void setResizable(boolean isResizable)
GridColumnsetResizable in interface GridColumn<T>isResizable - true if the column can be re-sized.public boolean isMovable()
GridColumnisMovable in interface GridColumn<T>public void setMovable(boolean isMovable)
GridColumnsetMovable in interface GridColumn<T>isMovable - true if the column can be moved.public boolean isFloatable()
GridColumnisFloatable in interface GridColumn<T>public void setFloatable(boolean isFloatable)
GridColumnsetFloatable in interface GridColumn<T>isFloatable - true if the column can be floated.public boolean isVisible()
GridColumnisVisible in interface GridColumn<T>public void setVisible(boolean isVisible)
GridColumnsetVisible in interface GridColumn<T>isVisible - true if the column is visible.public Double getMinimumWidth()
GridColumngetMinimumWidth in interface GridColumn<T>public void setMinimumWidth(Double minimumWidth)
GridColumnsetMinimumWidth in interface GridColumn<T>minimumWidth - Minimum width, or null if no minimum widthpublic Double getMaximumWidth()
GridColumngetMaximumWidth in interface GridColumn<T>public void setMaximumWidth(Double maximumWidth)
GridColumnsetMaximumWidth in interface GridColumn<T>maximumWidth - Maximum width, or null if no minimum widthpublic String getPlaceHolder()
public void setPlaceHolder(String placeHolder)
public GridColumn.ColumnWidthMode getColumnWidthMode()
GridColumngetColumnWidthMode in interface GridColumn<T>public void setColumnWidthMode(GridColumn.ColumnWidthMode columnWidthMode)
GridColumnsetColumnWidthMode in interface GridColumn<T>Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.