info.joseluismartin.model
Class TableState

java.lang.Object
  extended by info.joseluismartin.model.Entity
      extended by info.joseluismartin.model.TableState
All Implemented Interfaces:
Serializable

public class TableState
extends Entity

Hold State info for UI Tables

Since:
1.1
Author:
Jose Luis Martin - (jlm@joseluismartin.info)
See Also:
Serialized Form

Field Summary
 
Fields inherited from class info.joseluismartin.model.Entity
id, name
 
Constructor Summary
TableState()
           
 
Method Summary
 int getPageSize()
           
 List<String> getVisibleColumns()
          Gets visible columns property names
 void setPageSize(int pageSize)
           
 void setVisibleColumns(List<String> visibleColumns)
          Set the visible columns property names
 void setVisibleColumns(String value)
          Set visible columns as CSV String
 
Methods inherited from class info.joseluismartin.model.Entity
equals, getId, getName, hashCode, setId, setName
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableState

public TableState()
Method Detail

getVisibleColumns

public List<String> getVisibleColumns()
Gets visible columns property names

Returns:
the visible Columns

setVisibleColumns

public void setVisibleColumns(List<String> visibleColumns)
Set the visible columns property names

Parameters:
visibleColumns - the visibleColumns to set

setVisibleColumns

public void setVisibleColumns(String value)
Set visible columns as CSV String

Parameters:
value - the CSV String

setPageSize

public void setPageSize(int pageSize)
Parameters:
pageSize -

getPageSize

public int getPageSize()
Returns:
the pageSize


Copyright © 2012 JDAL. All Rights Reserved.