info.joseluismartin.vaadin.ui.table
Class Column
java.lang.Object
info.joseluismartin.vaadin.ui.table.Column
- All Implemented Interfaces:
- Serializable
public class Column
- extends Object
- implements Serializable
Holder for configurable components by colum in a vaadin table.
For use friendly in Spring bean application context as inner bean.
- Author:
- Jose Luis Martin - (jlm@joseluismartin.info)
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Column
public Column()
getName
public String getName()
- Returns:
- the name
setName
public void setName(String name)
- Parameters:
name
- the name to set
getDisplayName
public String getDisplayName()
- Returns:
- the displayName
setDisplayName
public void setDisplayName(String displayName)
- Parameters:
displayName
- the displayName to set
getWidth
public int getWidth()
- Returns:
- the width
setWidth
public void setWidth(int width)
- Parameters:
width
- the width to set
getIcon
public com.vaadin.terminal.Resource getIcon()
- Returns:
- the icon
setIcon
public void setIcon(com.vaadin.terminal.Resource icon)
- Parameters:
icon
- the icon to set
getAlign
public String getAlign()
- Returns:
- the align
setAlign
public void setAlign(String align)
- Parameters:
align
- the align to set
isSortable
public boolean isSortable()
- Returns:
- true if is a sortable column
setSortable
public void setSortable(boolean sortable)
- Parameters:
sortable
- the sortable to set
getSortPropertyName
public String getSortPropertyName()
- Returns:
- the sortPropertyName
setSortPropertyName
public void setSortPropertyName(String sortPropertyName)
- Parameters:
sortPropertyName
- the sortPropertyName to set
getCellComponent
public Class<? extends com.vaadin.ui.Component> getCellComponent()
- Returns:
- the cellComponent
setCellComponent
public void setCellComponent(Class<? extends com.vaadin.ui.Component> cellComponent)
- Parameters:
cellComponent
- the cellComponent to set
getCellEditor
public Class<? extends com.vaadin.ui.Component> getCellEditor()
- Returns:
- the cellEditor
setCellEditor
public void setCellEditor(Class<? extends com.vaadin.ui.Component> cellEditor)
- Parameters:
cellEditor
- the cellEditor to set
getPropertyEditor
public PropertyEditor getPropertyEditor()
- Returns:
- the propertyEditor
setPropertyEditor
public void setPropertyEditor(PropertyEditor propertyEditor)
- Parameters:
propertyEditor
- the propertyEditor to set
Copyright © 2012 JDAL. All Rights Reserved.