JIVE Platform
Release 0.3.1

edu.bsu.cs.jive.contour
Interface ContourModel.Listener

Enclosing interface:
ContourModel

public static interface ContourModel.Listener

Listener interface for contour model changes.


Method Summary
 void contourAdded(ContourModel model, Contour contour, Contour parent)
          Called when a contour is added to the model
 void contourRemoved(ContourModel model, Contour contour, Contour oldParent)
          Called when a contour is removed from the model
 void valueChanged(ContourModel model, Contour contour, VariableID variableID, Value newValue, Value oldValue)
          Called when a value is changed in the contour model
 

Method Detail

contourAdded

void contourAdded(ContourModel model,
                  Contour contour,
                  Contour parent)
Called when a contour is added to the model

Parameters:
model - the contour model
contour - the contour added

contourRemoved

void contourRemoved(ContourModel model,
                    Contour contour,
                    Contour oldParent)
Called when a contour is removed from the model

Parameters:
model - the contour model
contour - the contour removed
oldParent - the old parent of the contour, or null if it was a root contour

valueChanged

void valueChanged(ContourModel model,
                  Contour contour,
                  VariableID variableID,
                  Value newValue,
                  Value oldValue)
Called when a value is changed in the contour model

Parameters:
model - the contour model
contour - the contour that contains the value that changed
variableID - identifies the variable in the contour that changed
newValue - the new value of the variable
oldValue - the previous value of the variable

JIVE Platform
Release 0.3.1