public abstract class SlotTypeAttributeLine extends BaseAttributeLine
COLUMN_WIDTH_ACTION, COLUMN_WIDTH_ATTRIBUTE, COLUMN_WIDTH_VALUE, isBrowserChrome, isBrowserFire, TOTAL_WIDTH
Constructor and Description |
---|
SlotTypeAttributeLine(AttributeLineContext context) |
SlotTypeAttributeLine(AttributeLineContext context,
javax.xml.registry.infomodel.Slot slot) |
Modifier and Type | Method and Description |
---|---|
void |
buildUI(java.lang.StringBuffer layout)
Adds the corresponding layout text for this line.
|
javax.xml.registry.infomodel.Slot |
getSlot()
Retrieves the underlying slot for this attribute line.
|
java.lang.String |
getStringValue() |
java.lang.Object |
getValue()
Retrieves the slot value contained by this line.
|
boolean |
hasAction()
Indicate whether there is an Action or not.
|
void |
passivate()
Sets all slot value contained by this attribute line.
|
void |
setSlot(javax.xml.registry.infomodel.Slot slot) |
void |
setValue(java.lang.Object value) |
getActionContext, getAsset, getAttribute, getAttributeContext, getDescription, getIndex, getLineAddVisible, getLineRemoveVisible, getName, getNCName, getSelected, getShowAttributeName, getUnitLabel, getValues, isModified, isMultiValue, isPrefix, isReadOnly, isRequired, modified, onLineAdd, onLineRemove, revert, setAttributeContext, setModified, setNCName, setReadOnly, setValues
public SlotTypeAttributeLine(AttributeLineContext context)
context
- public SlotTypeAttributeLine(AttributeLineContext context, javax.xml.registry.infomodel.Slot slot)
context
- slot
- public boolean hasAction()
BaseAttributeLine
hasAction
in class BaseAttributeLine
public void buildUI(java.lang.StringBuffer layout)
DynamicLine
buildUI
in interface DynamicLine
buildUI
in class BaseAttributeLine
layout
- The layout string used for adding the contents of this line.public void passivate()
passivate
in interface DynamicLine
passivate
in class BaseAttributeLine
public java.lang.Object getValue()
public java.lang.String getStringValue()
public void setValue(java.lang.Object value)
value
- the value to setpublic javax.xml.registry.infomodel.Slot getSlot()
public void setSlot(javax.xml.registry.infomodel.Slot slot)
slot
- the slot to set