public final class DefaultRow extends AbstractRow implements Row
Constructor and Description |
---|
DefaultRow(DataSetHeader header,
Object[] values)
Constructs a row.
|
DefaultRow(DataSetHeader header,
Object[] values,
Style[] styles)
Constructs a row.
|
Modifier and Type | Method and Description |
---|---|
protected DataSetHeader |
getHeader() |
Style |
getStyle(int index) |
Style[] |
getStyles() |
Object |
getValue(int index)
Gets the value of the row at a given index
|
Object[] |
getValues()
Gets the values of the row, represented as an object array
|
clone, equals, getSelectItems, getStyle, getStyle, getSubSelection, getValue, getValue, hashCode, indexOf, indexOf, size, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
getSelectItems, getStyle, getStyle, getSubSelection, getValue, getValue, indexOf, indexOf, size
public DefaultRow(DataSetHeader header, Object[] values, Style[] styles)
header
- values
- styles
- public DefaultRow(DataSetHeader header, Object[] values)
header
- values
- public Object getValue(int index) throws ArrayIndexOutOfBoundsException
Row
getValue
in interface Row
ArrayIndexOutOfBoundsException
public Object[] getValues()
Row
getValues
in interface Row
getValues
in class AbstractRow
public Style getStyle(int index) throws IndexOutOfBoundsException
getStyle
in interface Row
IndexOutOfBoundsException
public Style[] getStyles()
getStyles
in interface Row
getStyles
in class AbstractRow
protected DataSetHeader getHeader()
getHeader
in class AbstractRow
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.