Class FeaturesModel

java.lang.Object
org.bidib.wizard.mvc.features.model.FeaturesModel

public class FeaturesModel extends Object
  • Constructor Details

    • FeaturesModel

      public FeaturesModel(org.bidib.wizard.api.model.NodeInterface node)
  • Method Details

    • getNode

      public org.bidib.wizard.api.model.NodeInterface getNode()
    • addFeatureListener

      public void addFeatureListener(FeatureListener listener)
    • removeFeatureListener

      public void removeFeatureListener(FeatureListener listener)
    • getFeatures

      public List<org.bidib.jbidibc.messages.Feature> getFeatures()
    • setFeatures

      public void setFeatures(Collection<org.bidib.jbidibc.messages.Feature> features)
      Set the new feature values and notify the listener if a value has changed.
      Parameters:
      features - the feature values
    • prepareUpdateFeatures

      public Collection<org.bidib.jbidibc.messages.Feature> prepareUpdateFeatures(Collection<org.bidib.jbidibc.messages.Feature> features)
      Prepare a collection of the changed features that can be written to the node.
      Parameters:
      features - all features
      Returns:
      the changed features that must be written to the node