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, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitgetSelectItems, getStyle, getStyle, getSubSelection, getValue, getValue, indexOf, indexOf, sizepublic 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
RowgetValue in interface RowArrayIndexOutOfBoundsExceptionpublic Object[] getValues()
RowgetValues in interface RowgetValues in class AbstractRowpublic Style getStyle(int index) throws IndexOutOfBoundsException
getStyle in interface RowIndexOutOfBoundsExceptionpublic Style[] getStyles()
getStyles in interface RowgetStyles in class AbstractRowprotected DataSetHeader getHeader()
getHeader in class AbstractRowCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.