|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.simantics.databoard.accessor.interestset.InterestSet
org.simantics.databoard.accessor.interestset.ArrayInterestSet
public class ArrayInterestSet
Interest set of an Array Type.
ArrayType
Field Summary | |
---|---|
InterestSet |
componentInterest
Component Interest of the contents of values. |
java.util.Map<java.lang.Integer,InterestSet> |
componentInterests
Component Interests of the contents of values of specific elements (incl. interest in change and value), null if no interest. |
static ArrayInterestSet |
MONITOR_EVERYTHING
|
boolean |
notification
Interested in notification of element assignments, add and removal (excludes the value) |
int[] |
notifications
Interested in notifications to elements by index, (excludes the value). |
boolean |
value
Interested in all notification and value assignments |
int[] |
values
Interested in values by element (includes change). |
Constructor Summary | |
---|---|
ArrayInterestSet(boolean notification,
int[] specificNotifications,
boolean values,
int[] specificValues,
InterestSet componentInterest,
java.util.Map<java.lang.Integer,InterestSet> componentInterests)
Create an array interest set |
Method Summary | |
---|---|
InterestSet |
getComponentInterest()
Get the interest of the contents of every value |
InterestSet |
getComponentInterest(int index)
Get composite interest of component value of element at index |
boolean |
inNotifications()
Returns true, if interested in element assignment, add, removal. |
boolean |
inNotificationsOf(int elementIndex)
Returns true, if interested in assignment of the element at specific index |
boolean |
inValues()
Returns true, if interested in all new value assignments |
boolean |
inValuesOf(int elementIndex)
Returns true, if interested in value assignment of a element at index. |
Methods inherited from class org.simantics.databoard.accessor.interestset.InterestSet |
---|
newInterestSet |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final ArrayInterestSet MONITOR_EVERYTHING
public boolean notification
public int[] notifications
public boolean value
public int[] values
public InterestSet componentInterest
null
if no interest.
public java.util.Map<java.lang.Integer,InterestSet> componentInterests
null
if no interest.
Constructor Detail |
---|
public ArrayInterestSet(boolean notification, int[] specificNotifications, boolean values, int[] specificValues, InterestSet componentInterest, java.util.Map<java.lang.Integer,InterestSet> componentInterests)
notification
- interested in add, remove and change to assignment of all elementsspecificNotifications
- interested in add, remove and change to assignment of all specific elementsvalues
- interested in add, remove and change to assignment of all elements, incl. new valuesspecificValues
- interested in add, remove and change to assignment of all specific elements, incl. new valuescomponentInterest
- Interest of the changes of values and their sub-value changes of all elementscomponentInterests
- Interest of the changes of values and their sub-value changes of specific elementsMethod Detail |
---|
public boolean inNotifications()
inNotifications
in class InterestSet
public boolean inNotificationsOf(int elementIndex)
elementIndex
-
public boolean inValues()
inValues
in class InterestSet
public boolean inValuesOf(int elementIndex)
elementIndex
-
public InterestSet getComponentInterest()
null
public InterestSet getComponentInterest(int index)
index
index
- element index
null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |