|
|||||||||
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.VariantInterestSet
public class VariantInterestSet
Interest set of Variant Type.
VariantType
Field Summary | |
---|---|
boolean |
completeComponent
Interested in the complete structure of the container. |
InterestSet |
componentInterest
Component intersts, null if no specific interest |
static VariantInterestSet |
MONITOR_EVERYTHING
|
boolean |
notification
Interested in notification (excludes the value) |
boolean |
value
Interested in the value assignment (includes notification) |
Constructor Summary | |
---|---|
VariantInterestSet(boolean notification,
boolean value,
InterestSet componentInterest,
boolean completeContainer)
Create a new interest set of a variant. |
Method Summary | |
---|---|
InterestSet |
getComponentInterest()
Component interest of expected type. |
boolean |
inCompleteComponent()
Returns true, if interested in everything in the sub container, value assignment and change |
boolean |
inNotifications()
Returns true, if interested in notification of value assignment. |
boolean |
inValues()
Returns true, if interested in the value assignment |
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 VariantInterestSet MONITOR_EVERYTHING
public boolean notification
public boolean value
public InterestSet componentInterest
public boolean completeComponent
Constructor Detail |
---|
public VariantInterestSet(boolean notification, boolean value, InterestSet componentInterest, boolean completeContainer)
notification
- interest in notification of assignmentvalue
- interest in notification and the new value of value assignmentcomponentInterest
- specific interest in the valuecompleteContainer
- interest in notification, the new value and complete sub structure of the containerMethod Detail |
---|
public boolean inNotifications()
inNotifications
in class InterestSet
public boolean inValues()
inValues
in class InterestSet
public boolean inCompleteComponent()
public InterestSet getComponentInterest()
null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |