public interface StyleTemplateLink extends StoreElement
Modifier and Type | Interface and Description |
---|---|
static class |
StyleTemplateLink.Region
Region
|
Modifier and Type | Method and Description |
---|---|
int |
getColumn()
Returns the number of the column this rule should be used for.
|
StyleTemplateLink.Region |
getColumnRegion()
Returns the column
region set for this rule. |
int |
getRow()
Returns the number of the row this rule should be used for.
|
StyleTemplateLink.Region |
getRowRegion()
Returns the row
region set for this rule. |
StyleTemplate |
getTargetTemplate()
Returns the target
template |
boolean |
isDeletable()
Returns
true if the region defined in this link is deletable, false otherwise. |
boolean |
isEditable()
Returns
true if the region defined in this link is editable, false otherwise. |
boolean |
matches(int rowNumber,
boolean lastRow,
int columnNumber,
boolean lastColumn) |
void |
setColumn(int columnNumber)
Provide the number of the column this rule should be used for.
|
void |
setColumnRegion(StyleTemplateLink.Region region)
Provide the column
region to be used for this rule. |
void |
setDeletable(boolean value)
Provide
true if the region defined in this link should be deletable, false otherwise. |
void |
setEditable(boolean value)
Provide
true if the region defined in this link should be editable, false otherwise. |
void |
setRow(int rowNumber)
Provide the number of the row this rule should be used for.
|
void |
setRowRegion(StyleTemplateLink.Region region)
Provide the row
region to be used for this rule. |
void |
setTargetTemplate(StyleTemplate styleTemplate)
Provide the
StyleTemplate to be linked to. |
appendChild, appendChildBefore, delete, exportStoreElement, getChildCount, getChildIndex, getChildren, getChildren, getChildren, getChildren, getCreateWorkflowPermission, getDefinedPrincipalPermissions, getEditor, getElementType, getFirstChild, getIncomingReferences, getInheritedPrincipalPermissions, getLastChanged, getName, getNextSibling, getOutgoingReferences, getParent, 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
@Nullable StyleTemplate getTargetTemplate()
template
void setTargetTemplate(@NotNull StyleTemplate styleTemplate)
StyleTemplate
to be linked to.@NotNull StyleTemplateLink.Region getRowRegion()
region
set for this rule.void setRowRegion(@NotNull StyleTemplateLink.Region region)
region
to be used for this rule.int getRow()
regions
different to Region.CUSTOM
-1
will be returned.void setRow(int rowNumber)
Region.NUMBER
automatically.@NotNull StyleTemplateLink.Region getColumnRegion()
region
set for this rule.void setColumnRegion(@NotNull StyleTemplateLink.Region region)
region
to be used for this rule.int getColumn()
regions
different to Region.CUSTOM
-1
will be returned.void setColumn(int columnNumber)
Region.NUMBER
automatically.boolean isEditable()
true
if the region defined in this link is editable, false
otherwise.void setEditable(boolean value)
true
if the region defined in this link should be editable, false
otherwise.boolean isDeletable()
true
if the region defined in this link is deletable, false
otherwise.true
for row and column rules.void setDeletable(boolean value)
true
if the region defined in this link should be deletable, false
otherwise.boolean matches(int rowNumber, boolean lastRow, int columnNumber, boolean lastColumn)
Copyright © 2014 e-Spirit AG. All Rights Reserved. Build 5.0_BETA.500