public interface TableFormatTemplate extends IDProvider, PackagePoolItem, TemplateStoreElement, PreviewImageProvider, GomSourceProvider
IDProvider.DependentReleaseType, IDProvider.RevertType, IDProvider.UidType
HistoryProvider.RevisionProvider
Modifier and Type | Field and Description |
---|---|
static IDProvider.UidType |
UID_TYPE |
BLOCKED, MODIFIED, UNMODIFIED
CHANGED, NEVER_RELEASED, RELEASED
ALL_REVISIONS, EVER_SINCE, UNTIL_NOW
Modifier and Type | Method and Description |
---|---|
StyleTemplateLink |
addLink(StyleTemplate template)
Provide a
StyleTemplate which should be used for table cells
defined in the returned StyleTemplateLink |
StyleTemplate |
getDefaultStyleTemplate()
Returns the
StyleTemplate used for any table cell if not explicitly overridden
using a StyleTemplateLink . |
int |
getMaximumColumnCount()
Returns the maximum column count.
|
int |
getMaximumRowCount()
Returns the maximum row count.
|
int |
getMinimumColumnCount()
Returns the minimum column count.
|
int |
getMinimumRowCount()
Returns the minimum row count.
|
StyleTemplateLink |
getStyleTemplate(int row,
boolean lastRow,
int column,
boolean lastColumn)
Get the first matching style template link for a specific row and column.
|
void |
setDefaultStyleTemplate(StyleTemplate template)
Provide the
StyleTemplate that should be used for any table cell which style isn't explicitly overriden
using a StyleTemplateLink definition |
void |
setMaximumColumnCount(int value)
Set the maximum column count.
|
void |
setMaximumRowCount(int value)
Set the maximum row count.
|
void |
setMinimumColumnCount(int value)
Set the minimum column count.
|
void |
setMinimumRowCount(int value)
Set the minimum row count.
|
addToPackage, getChangeState, getPackage, getPackageName, isAddable, isChangeable, isPackageItem, isSubscribedItem, removeFromPackage, setChangeState
getSubRootInStore
getPreviewImage, setPreviewImage
getDefaults, getFormDefaults, getGomProvider, getGomSource, setDefaults, setFormDefaults, setGomProvider, setGomSource
contrastWith, getDisplayName, getId, getInRevision, getLanguageInfo, getLongID, getMeta, getMetaFormData, getParent, getReleasedBy, getReleaseRevision, getReleaseStatus, getRevision, getUid, getUidType, hasMeta, hasUid, isInReleaseStore, isReleased, isReleaseSupported, moveChild, moveChild, release, release, revert, setMeta, setMetaFormData, setUid
appendChild, appendChildBefore, delete, exportStoreElement, getChildCount, getChildIndex, getChildren, getChildren, getChildren, getChildren, getCreateWorkflowPermission, getDefinedPrincipalPermissions, getEditor, getElementType, getFirstChild, getIncomingReferences, getInheritedPrincipalPermissions, getLastChanged, getName, getNextSibling, getOutgoingReferences, getPermission, getPermission, getPermission, getProject, getReferenceName, getReferences, getStore, getTreePermission, getWorkflowPermission, getWorkflowPermissions, getWriteLock, hasIncomingReferences, hasPermissions, importStoreElement, importStoreElements, inheritWorkflowPermission, isDeleted, isExportSupported, isFolder, isImportSupported, isLocked, isLockedOnServer, isLockSupported, isPermissionSupported, isWorkflowAllowed, isWorkflowSupported, refresh, removeAllWorkflowPermissions, removeChild, removePermission, removePermission, removePermission, removeWorkflowPermission, replaceChild, save, save, save, setInheritWorkflowPermission, setLock, setLock, setPermission, setPermission, setPermission, setWorkflowPermission, setWorkflowPermissions, setWriteLock, toXml, toXml, toXml, update
getColor, getTask, hasTask, removeTask, setColor, setTask
compareTo
asRevisionProvider, getHistory, getHistory
static final IDProvider.UidType UID_TYPE
@Nullable StyleTemplate getDefaultStyleTemplate()
StyleTemplate
used for any table cell if not explicitly overridden
using a StyleTemplateLink
.void setDefaultStyleTemplate(@Nullable StyleTemplate template)
StyleTemplate
that should be used for any table cell which style isn't explicitly overriden
using a StyleTemplateLink
definitionStyleTemplateLink addLink(@NotNull StyleTemplate template)
StyleTemplate
which should be used for table cells
defined in the returned StyleTemplateLink
int getMinimumRowCount()
void setMinimumRowCount(int value)
int getMinimumColumnCount()
void setMinimumColumnCount(int value)
int getMaximumRowCount()
minimum row count
Integer.MAX_VALUE
is returned.void setMaximumRowCount(int value)
int getMaximumColumnCount()
minimum column count
Integer.MAX_VALUE
is returned.void setMaximumColumnCount(int value)
@Nullable StyleTemplateLink getStyleTemplate(int row, boolean lastRow, int column, boolean lastColumn)
default template link
is returned.row
- a row number, starting with 0lastRow
- provide true
if the row is the last rowcolumn
- a column number, starting with 0, or -1 to get the row templatelastColumn
- provide true
if the column is the last columndefault template link
Copyright © 2014 e-Spirit AG. All Rights Reserved. Build 5.0_BETA.500