org.simantics.databoard.accessor.interestset
Class IntegerInterestSet

java.lang.Object
  extended by org.simantics.databoard.accessor.interestset.InterestSet
      extended by org.simantics.databoard.accessor.interestset.IntegerInterestSet

public class IntegerInterestSet
extends InterestSet

Interest set of Integer Type.

Author:
Toni Kalajainen
See Also:
IntegerType

Field Summary
static IntegerInterestSet MONITOR_EVERYTHING
           
 boolean notification
          Interested in notification (excludes the value)
 boolean value
          Interested in the value (includes notification)
 
Constructor Summary
IntegerInterestSet(boolean notification, boolean value)
           
 
Method Summary
 boolean inNotifications()
          Returns true, if interested in notification.
 boolean inValues()
          Returns true, if interested in notification and the new value
 
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

MONITOR_EVERYTHING

public static final IntegerInterestSet MONITOR_EVERYTHING

notification

public boolean notification
Interested in notification (excludes the value)


value

public boolean value
Interested in the value (includes notification)

Constructor Detail

IntegerInterestSet

public IntegerInterestSet(boolean notification,
                          boolean value)
Method Detail

inNotifications

public boolean inNotifications()
Returns true, if interested in notification. This does not include interest in the value.

Specified by:
inNotifications in class InterestSet
Returns:
true if interested in notifications

inValues

public boolean inValues()
Returns true, if interested in notification and the new value

Specified by:
inValues in class InterestSet
Returns:
true if interested in the value