Class AbstractFeedbackModel

java.lang.Object
com.ptc.core.util.feedback.common.impl.AbstractFeedbackModel
All Implemented Interfaces:
FeedbackModel, PropertyChangeListener, Serializable, EventListener
Direct Known Subclasses:
CommandDelegateFeedbackModel

public abstract class AbstractFeedbackModel extends Object implements FeedbackModel, Serializable
Convenience abstract class that can be extended by custom FeedbackModels.

Supported API: true

Extendable: true
See Also:
  • Method Details

    • getMessages

      public final Enumeration getMessages()
      extracts all of the messages from the model

      Supported API: true
      Specified by:
      getMessages in interface FeedbackModel
      Returns:
      Enumeration
    • clear

      public void clear()
      clears the messages in the model

      Supported API: true
      Specified by:
      clear in interface FeedbackModel
    • size

      public int size()
      returns the total number of feedback messages in the model

      Supported API: true
      Specified by:
      size in interface FeedbackModel
      Returns:
      int
    • addActionListener

      public void addActionListener(ActionListener listener)
      to allow ActionListener to regiser with FeedbackModel

      Supported API: true
      Specified by:
      addActionListener in interface FeedbackModel
      Parameters:
      listener -
    • removeActionListener

      public void removeActionListener(ActionListener listener)
      allow ActionListener to unregister with FeedbackModel

      Supported API: true
      Specified by:
      removeActionListener in interface FeedbackModel
      Parameters:
      listener -
    • sendFeedback

      protected abstract void sendFeedback(Message a_message, FeedbackSpec a_spec)
      Issues feedback.

      Supported API: true
      Parameters:
      a_message -
      a_spec -