public class LDMAssignment extends Object implements Serializable, Comparable<LDMAssignment>
ListDataModule has a list of LDMAssignment objects representing the modules that are part of
that List. Each assignment in the List would have its own properties determining whether the associated DataModule
is preSelected, editable or optional.| Constructor and Description |
|---|
LDMAssignment() |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(LDMAssignment ma)
Compare based on the position of the data module (to sort them)
|
String |
getID()
Get the unique identifier for this assignment.
|
Double |
getIndentationLevel()
The indentation level specified for the target module.
|
Integer |
getPosition()
Get the position of this assignment in the list of
LDMAssignments. |
DataModule |
getTarget()
Sets the target
DataModule for this assignment. |
boolean |
isCompound()
Only applicable if the 'target' is a List Module.
|
boolean |
isEditable()
Get whether the assignment is editable.
|
boolean |
isIgnoreListStyle()
Only applicable if the 'target' is a List Module.
|
boolean |
isKeepWithNext() |
boolean |
isOptional()
Get whether the assignment is optional.
|
boolean |
isPreSelected()
Get whether the assignment is pre-selected.
|
boolean |
isSkipStyle()
True if the item is to be skipped from being numbered/bulleted, false otherwise.
|
void |
setCompound(boolean compound)
Only applicable if the 'target' is a List or Condition Module.
|
void |
setEditable(boolean editable)
Sets whether the assignment is editable.
|
void |
setID(String iD)
Sets the unique identifier for this assignment.
|
void |
setIgnoreListStyle(boolean ignoreListStyle)
Only applicable if the 'target' is a List Module.
|
void |
setIndentationLevel(Double indentationLevel)
Sets the indentation level for the target module (should always be positive).
|
void |
setKeepWithNext(boolean keepWithNext) |
void |
setOptional(boolean optional)
Sets whether the assignment is optional.
|
void |
setPosition(Integer position)
Sets the position of this assignment in the list of
LDMAssignments. |
void |
setPreSelected(boolean preSelected)
Sets whether the assignment is pre-selected.
|
void |
setSkipStyle(boolean skipStyle)
If set to true, the item will be skipped from being numbered/bulleted.
|
void |
setTarget(DataModule target)
Sets the target
DataModule for this assignment. |
public Integer getPosition()
LDMAssignments.LDMAssignments.public void setPosition(Integer position)
LDMAssignments.position - The position of this assignment in the list of LDMAssignments.public DataModule getTarget()
DataModule for this assignment.DataModule for this assignment.public void setTarget(DataModule target)
DataModule for this assignment.target - The target DataModule for this assignment.public String getID()
public void setID(String iD)
iD - The unique identifier for this assignment.public boolean isEditable()
public void setEditable(boolean editable)
editable - Whether the assignment is editable.public boolean isPreSelected()
public void setPreSelected(boolean preSelected)
preSelected - Whether the assignment is pre-selected.public boolean isOptional()
public void setOptional(boolean optional)
optional - Whether the assignment is optional.public Double getIndentationLevel()
public void setIndentationLevel(Double indentationLevel)
indentationLevel - the indentation level to set for the target module.ICCException - if the given indentation level is invalid.public boolean isCompound()
public void setCompound(boolean compound)
compound - the compound to setpublic boolean isIgnoreListStyle()
public void setIgnoreListStyle(boolean ignoreListStyle)
ignoreListStyle - the ignoreListStyle to setpublic boolean isSkipStyle()
public void setSkipStyle(boolean skipStyle)
skipStyle - Whether the item is to be skipped from being numbered/bulleted.public boolean isKeepWithNext()
public void setKeepWithNext(boolean keepWithNext)
keepWithNext - the keepWithNext to setpublic int compareTo(LDMAssignment ma)
Copyright © 1982–2023 Adobe Systems Incorporated. All rights reserved.