public interface DomTableEditorValue extends EditorValue<Table>
DomTableEditorValue
interface represents the FirstSpirit input component CMS_INPUT_DOMTABLE
How to get and store value |
Modifier and Type | Field and Description |
---|---|
static String |
TABLE_KEY |
COPY_PRESET, DEFAULT, DELETE, FALLBACK_LANGUAGE, LANG_KEY, SOLE_LANGUAGE, UNSUPPORTED
Modifier and Type | Method and Description |
---|---|
void |
addColumn(Language language,
int afterColumn) |
void |
addRow(Language language,
int afterRow) |
void |
deleteColumn(Language language,
int column) |
void |
deleteRow(Language language,
int row) |
List<LinkTemplate> |
getAllowedLinkTemplates()
Get a list of allowed link types.
|
TableCell |
getCell(Language language,
int row,
int column)
Gets the
cell of this dom table with the given row & col index
or null if no cell exists with these indices. |
int |
getColumns(Language language) |
GomDomTable |
getForm()
Get the form definition.
|
int |
getRows(Language language) |
Section |
getSection(Language language,
int row,
int column)
Get a cell defined by language, row, and column as Section object.
|
addEditorValueListener, assimilate, beSet, clear, clear, findReferences, get, getContentType, getDataValue, getEditorLanguages, getGuiClassName, getGuiXml, getMatches, getSearchableString, getTagName, getValue, getValue, getValueType, initialize, isDefault, isEmpty, isLanguageDependent, isSet, isSet, isValid, removeEditorValueListener, set, setTagName, setValue, setValue, setValueNode, toXml, toXml, validate
static final String TABLE_KEY
int getRows(Language language)
int getColumns(Language language)
void addRow(Language language, int afterRow)
void deleteRow(Language language, int row)
void addColumn(Language language, int afterColumn)
void deleteColumn(Language language, int column)
@Nullable TableCell getCell(Language language, int row, int column)
cell
of this dom table with the given row
& col
index
or null
if no cell exists with these indices.language
- the language to get the cell value forrow
- the row indexcolumn
- the col indexnull
if no cell exists for given indicesGomDomTable getForm()
EditorValue
getForm
in interface EditorValue<Table>
Section getSection(Language language, int row, int column)
language
- The language to look up.row
- The row of the cell.column
- The column of the cell.@NotNull List<LinkTemplate> getAllowedLinkTemplates()
Copyright © 2014 e-Spirit AG. All Rights Reserved. Build 5.0_BETA.500