info.joseluismartin.vaadin.ui.table
Class Column

java.lang.Object
  extended by 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

Constructor Summary
Column()
           
 
Method Summary
 String getAlign()
           
 Class<? extends com.vaadin.ui.Component> getCellComponent()
           
 Class<? extends com.vaadin.ui.Component> getCellEditor()
           
 String getDisplayName()
           
 com.vaadin.terminal.Resource getIcon()
           
 String getName()
           
 PropertyEditor getPropertyEditor()
           
 String getSortPropertyName()
           
 int getWidth()
           
 boolean isSortable()
           
 void setAlign(String align)
           
 void setCellComponent(Class<? extends com.vaadin.ui.Component> cellComponent)
           
 void setCellEditor(Class<? extends com.vaadin.ui.Component> cellEditor)
           
 void setDisplayName(String displayName)
           
 void setIcon(com.vaadin.terminal.Resource icon)
           
 void setName(String name)
           
 void setPropertyEditor(PropertyEditor propertyEditor)
           
 void setSortable(boolean sortable)
           
 void setSortPropertyName(String sortPropertyName)
           
 void setWidth(int width)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Column

public Column()
Method Detail

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.