uk.co.mullsoft.jean
Class JEANAPI.JEANEventMask

java.lang.Object
  extended by uk.co.mullsoft.jean.JEANAPI.JEANEventMask
Enclosing class:
JEANAPI

public static class JEANAPI.JEANEventMask
extends java.lang.Object

Objects of this class are used to indicate interest in a set of JEANEvents


Field Summary
 int eventType
          the event types in which a listener is interested, formed by or-ing or adding the values for the event types of interest.
 java.lang.String name
          the name of a particular attribute in which a listener is interested.
 long node
          the handle for a particular node in which a listener is interested.
 
Constructor Summary
JEANAPI.JEANEventMask(long node, java.lang.String name, int eventType)
          construct a new event mask.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

node

public final long node
the handle for a particular node in which a listener is interested. If this is set to -1 then interest in all nodes is assumed.


name

public final java.lang.String name
the name of a particular attribute in which a listener is interested. If this is set to null then interest in all attributes is assumed. Whether this is used for attributes is determined by the event types. It is ignored for NODE events.


eventType

public final int eventType
the event types in which a listener is interested, formed by or-ing or adding the values for the event types of interest.

Constructor Detail

JEANAPI.JEANEventMask

public JEANAPI.JEANEventMask(long node,
                             java.lang.String name,
                             int eventType)
construct a new event mask.

Parameters:
node - the node of interest (-1 if all)
name - the attribute of interest (null if all)
eventType - the bitwise indicator of the event types of interest