|
|||||||||
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.RecordInterestSet
public class RecordInterestSet
Interest set of a Record Type.
RecordType
Field Summary | |
---|---|
InterestSet[] |
componentInterests
Component Interests by field, null array/element if no interest. |
boolean |
notification
Interested in the _change_ to field assignments (excludes the value) |
boolean[] |
notifications
Interested in the _change_ by field, null array/element if no interest |
boolean |
value
Interested in all values |
boolean[] |
values
Interested in values by field |
Constructor Summary | |
---|---|
RecordInterestSet(boolean notification,
boolean[] specificNotifications,
boolean value,
boolean[] specificValues,
InterestSet[] componentInterests)
|
Method Summary | |
---|---|
InterestSet |
getComponentInterest(int fieldIndex)
Get composite intrest for the element at fieldIndex |
boolean |
inComponentNotifications()
Return true there is notification interest to any component |
boolean |
inNotifications()
Returns true, if interested in notifications of changes to any field assignment |
boolean |
inNotificationsOf(int fieldIndex)
Returns true, if interested in assignment of the field at fieldIndex |
boolean |
inValues()
Returns true, if interested in value of all elements |
boolean |
inValuesOf(int fieldIndex)
Returns true, if interested in the complete value of the field at fieldIndex . |
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 boolean notification
public boolean[] notifications
public boolean value
public boolean[] values
public InterestSet[] componentInterests
Constructor Detail |
---|
public RecordInterestSet(boolean notification, boolean[] specificNotifications, boolean value, boolean[] specificValues, InterestSet[] componentInterests)
Method Detail |
---|
public boolean inNotifications()
inNotifications
in class InterestSet
public boolean inNotificationsOf(int fieldIndex)
fieldIndex
fieldIndex
-
fieldIndex
public boolean inValues()
inValues
in class InterestSet
public boolean inValuesOf(int fieldIndex)
fieldIndex
.
fieldIndex
-
fieldIndex
public InterestSet getComponentInterest(int fieldIndex)
fieldIndex
fieldIndex
-
null
public boolean inComponentNotifications()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |