Class CellValue

java.lang.Object
com.groiss.gui.table.CellValue
All Implemented Interfaces:
Cloneable, Comparable<CellValue>

public class CellValue extends Object implements Comparable<CellValue>, Cloneable
Use this object for writing a cell value into a table model if you need cell attributes.
  • Constructor Details

    • CellValue

      public CellValue(Object value, List<Pair<String,String>> attributes)
      Construct a new cell value.
      Parameters:
      value - the cell content
      attributes - a lists of cell properties, pairs of name and value, for example: new Pair("style","color:red")
    • CellValue

      public CellValue(Object value, Comparable<?> sort, Object filter)
  • Method Details