public final class ExcelFieldMetadata extends Object
Field.
This class allows getting and setting ExcelHyperlink and ExcelCellStyle
properties on a field via session properties.| Constructor and Description |
|---|
ExcelFieldMetadata()
Creates a new ExcelFieldMetadata with no associated field.
|
ExcelFieldMetadata(Field field)
Creates a new ExcelFieldMetadata for the specified field.
|
| Modifier and Type | Method and Description |
|---|---|
ExcelCellStyle |
getExcelCellStyle()
Gets the ExcelCellStyle attached to the field, if any.
|
ExcelHyperlink |
getExcelHyperlink()
Gets the ExcelHyperlink attached to the field, if any.
|
Field |
getField()
Gets the field associated with this metadata.
|
ExcelFieldMetadata |
setExcelCellStyle(ExcelCellStyle cellStyle)
Attaches an ExcelCellStyle to the field as a session property.
|
ExcelFieldMetadata |
setExcelHyperlink(ExcelHyperlink excelHyperlink)
Attaches an ExcelHyperlink to the field as a session property.
|
ExcelFieldMetadata |
setField(Field field)
Sets the field for this metadata.
|
public ExcelFieldMetadata()
public ExcelFieldMetadata(Field field)
field - the field to attach metadata topublic Field getField()
public ExcelFieldMetadata setField(Field field)
field - the field to setpublic ExcelHyperlink getExcelHyperlink()
public ExcelFieldMetadata setExcelHyperlink(ExcelHyperlink excelHyperlink)
excelHyperlink - the hyperlink to attachpublic ExcelCellStyle getExcelCellStyle()
public ExcelFieldMetadata setExcelCellStyle(ExcelCellStyle cellStyle)
cellStyle - the cell style to attachCopyright (c) 2006-2026 North Concepts Inc. All Rights Reserved.