|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FileArrayAccessor
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.simantics.databoard.accessor.Accessor |
---|
Accessor.Listener |
Method Summary | |
---|---|
void |
addAllNoflush(Binding binding,
java.lang.Object[] values)
Add an array of elements. |
void |
addAllNoflush(int index,
Binding binding,
java.lang.Object[] values)
Add an array of elements. |
void |
addNoflush(Binding binding,
java.lang.Object value)
Add a new value. |
void |
addNoflush(int index,
Binding binding,
java.lang.Object value)
Insert a new value. |
void |
removeNoflush(int index,
int count)
Remove an element at an index. |
void |
setNoflush(int index,
Binding binding,
java.lang.Object value)
Replace a value container with a new value. |
void |
setSizeNoFlush(int newSize)
Set new array size |
void |
setValueNoflush(Binding binding,
java.lang.Object newValue)
Set all elements from an Array Value. |
Methods inherited from interface org.simantics.databoard.accessor.ArrayAccessor |
---|
add, add, addAll, addAll, get, getAccessor, getAll, getAll, remove, set, setSize, setValue, size, type |
Methods inherited from interface org.simantics.databoard.accessor.file.FileAccessor |
---|
close, file, flush |
Methods inherited from interface org.simantics.databoard.accessor.Accessor |
---|
addListener, apply, getComponent, getValue, getValue, removeListener |
Method Detail |
---|
void addNoflush(Binding binding, java.lang.Object value) throws AccessorException
binding
- value
- value
AccessorException
void addAllNoflush(Binding binding, java.lang.Object[] values) throws AccessorException
binding
- values
- value
AccessorException
void addAllNoflush(int index, Binding binding, java.lang.Object[] values) throws AccessorException
index
- position to insert new value tobinding
- values
-
AccessorException
void addNoflush(int index, Binding binding, java.lang.Object value) throws AccessorException
index
- position to insert new value tobinding
- value
- value
AccessorException
void setValueNoflush(Binding binding, java.lang.Object newValue) throws AccessorException
setValueNoflush
in interface FileAccessor
binding
- newValue
-
BindingException
- binding error
java.lang.UnsupportedOperationException
- cannot set a new value
AccessorException
void setNoflush(int index, Binding binding, java.lang.Object value) throws AccessorException
index
- binding
- value
-
AccessorException
void removeNoflush(int index, int count) throws AccessorException
null
, the
interest sets and accessor paths are updated and decreased.
If there was an accessor, it becomes invalid.
index
- count
-
AccessorException
void setSizeNoFlush(int newSize) throws AccessorException
newSize
-
AccessorException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |