Class Row
- java.lang.Object
-
- com.identityworksllc.iiq.common.table.Element
-
- com.identityworksllc.iiq.common.table.Row
-
- All Implemented Interfaces:
StyleTarget
public class Row extends Element implements StyleTarget
A class representing a row in an HTML table.Rows can be header rows or not, can have specific classes or styles applied, and contain Cells.
-
-
Field Summary
-
Fields inherited from class com.identityworksllc.iiq.common.table.Element
cssClasses, style
-
-
Constructor Summary
Constructors Constructor Description Row()Constructs a new row with all empty data
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(Cell c)Adds a new cell to the end of this row.List<Cell>getCells()booleanisHeader()voidrender(StringBuilder builder)Renders this row (and all of its Cells) to HTML, writing to the provided StringBuildervoidsetCells(List<Cell> cells)voidsetHeader(boolean header)voidsetOptions(List<CellOption> options)-
Methods inherited from class com.identityworksllc.iiq.common.table.Element
getCssClasses, getEscapedCssClassAttr, getEscapedStyle, getStyle, setCssClasses, setStyle
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.identityworksllc.iiq.common.table.StyleTarget
getCssClasses, getStyle, setCssClasses, setStyle
-
-
-
-
Constructor Detail
-
Row
public Row()
Constructs a new row with all empty data
-
-
Method Detail
-
add
public void add(Cell c) throws sailpoint.tools.GeneralException
Adds a new cell to the end of this row.THe cell will be modified according to the cell options set via setOptions if any are set.
- Parameters:
c- The cell- Throws:
sailpoint.tools.GeneralException- if any of the CellOptions specified throw an error
-
isHeader
public boolean isHeader()
-
render
public void render(StringBuilder builder)
Renders this row (and all of its Cells) to HTML, writing to the provided StringBuilder- Parameters:
builder- The StringBuilder to write to
-
setHeader
public void setHeader(boolean header)
-
setOptions
public void setOptions(List<CellOption> options)
-
-