public interface ElemFeature extends SelectionEntity
| Modifier and Type | Method and Description |
|---|---|
ElemFeatureList |
field()
Returns all element features from
field. |
ElemFeature |
field(java.lang.String name)
Returns an element feature from
field. |
boolean |
getModifier(int bit)
Returns the value of the modifier flag.
|
boolean |
isExpression()
Returns true if a string value represents an expression.
|
ElemFeature |
isExpression(boolean isExpr)
Sets the expression flag for a string value.
|
ElemFeatureList |
pos()
Returns all element features from
pos. |
ElemFeature |
pos(int index)
Returns an element feature from
pos. |
XDLocalSelection |
selection()
Returns the selection.
|
ElemFeature |
set(java.lang.String name,
java.lang.String value)
Sets a property to a string value in an element feature.
|
ElemFeature |
set(java.lang.String name,
java.lang.String[] value)
Sets a property to a string vector value in an element feature.
|
ElemFeature |
set(java.lang.String name,
java.lang.String[][] value)
Sets a property to a string vector value in an element feature.
|
ElemFeature |
setModifier(boolean flag,
int bit)
Sets the modifier flags for this element.
|
java.lang.String |
value()
Returns a value from an element feature.
|
ElemFeature |
value(java.lang.String value)
Sets the value for an element feature.
|
active, author, author, comments, comments, dateCreated, dateModified, docMarker, docMarker, help, help, icon, isactive, isActive, label, label, lastModifiedBy, model, model, name, name, resetAuthor, scope, tag, tag, timeCreated, timeModified, version, versiongetContainer, getDisplayStringElemFeatureList field()
field.ElemFeature field(java.lang.String name)
field.name - field tag.boolean getModifier(int bit)
bit - Flag's bit position.boolean isExpression()
ElemFeature isExpression(boolean isExpr)
isExpr - Expression flag.ElemFeatureList pos()
pos.ElemFeature pos(int index)
pos.index - Position index.XDLocalSelection selection()
selection in interface SelectionEntityElemFeature set(java.lang.String name, java.lang.String value)
name - Property name.value - Property value.ElemFeature set(java.lang.String name, java.lang.String[] value)
name - Property name.value - Property value.ElemFeature set(java.lang.String name, java.lang.String[][] value)
name - Property name.value - Property value.ElemFeature setModifier(boolean flag, int bit)
flag - Flag's value.bit - Flag's bit position.java.lang.String value()
ElemFeature value(java.lang.String value)
value - Value to set.