|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface VariantAccessor
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.simantics.databoard.accessor.Accessor |
---|
Accessor.Listener |
Method Summary | ||
---|---|---|
|
getContentAccessor()
Get an accessor to the variant's content. |
|
DataType |
getContentType()
Get the type of the content |
|
java.lang.Object |
getContentValue(Binding contentBinding)
Get the content of this variant |
|
void |
setContentValue(Binding valueBinding,
java.lang.Object value)
Set the content of this variant. |
|
VariantType |
type()
Get the type of this variant. |
Methods inherited from interface org.simantics.databoard.accessor.Accessor |
---|
addListener, apply, getAccessor, getValue, removeListener, setValue |
Method Detail |
---|
<T extends Accessor> T getContentAccessor() throws AccessorConstructionException
AccessorException
AccessorConstructionException
void setContentValue(Binding valueBinding, java.lang.Object value) throws AccessorException
Accessor.setValue(org.simantics.databoard.binding.Binding, Object)
which sets the _variant_ value.
valueBinding
- value
-
AccessorException
java.lang.Object getContentValue(Binding contentBinding) throws AccessorException
contentBinding
-
AccessorException
DataType getContentType() throws AccessorException
AccessorException
VariantType type()
type
in interface Accessor
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |