Class AbstractFeedbackModel
java.lang.Object
com.ptc.core.util.feedback.common.impl.AbstractFeedbackModel
- All Implemented Interfaces:
FeedbackModel,PropertyChangeListener,Serializable,EventListener
- Direct Known Subclasses:
CommandDelegateFeedbackModel
Convenience abstract class that can be extended by custom FeedbackModels.
Supported API: true
Extendable: true
Supported API: true
Extendable: true
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddActionListener(ActionListener listener) to allow ActionListener to regiser with FeedbackModel
Supported API: truevoidclear()clears the messages in the model
Supported API: truefinal Enumerationextracts all of the messages from the model
Supported API: truevoidremoveActionListener(ActionListener listener) allow ActionListener to unregister with FeedbackModel
Supported API: trueprotected abstract voidsendFeedback(Message a_message, FeedbackSpec a_spec) Issues feedback.intsize()returns the total number of feedback messages in the model
Supported API: trueMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.ptc.core.util.feedback.common.FeedbackModel
addMessageMethods inherited from interface java.beans.PropertyChangeListener
propertyChange
-
Method Details
-
getMessages
extracts all of the messages from the model
Supported API: true- Specified by:
getMessagesin interfaceFeedbackModel- Returns:
- Enumeration
-
clear
public void clear()clears the messages in the model
Supported API: true- Specified by:
clearin interfaceFeedbackModel
-
size
public int size()returns the total number of feedback messages in the model
Supported API: true- Specified by:
sizein interfaceFeedbackModel- Returns:
- int
-
addActionListener
to allow ActionListener to regiser with FeedbackModel
Supported API: true- Specified by:
addActionListenerin interfaceFeedbackModel- Parameters:
listener-
-
removeActionListener
allow ActionListener to unregister with FeedbackModel
Supported API: true- Specified by:
removeActionListenerin interfaceFeedbackModel- Parameters:
listener-
-
sendFeedback
Issues feedback.
Supported API: true- Parameters:
a_message-a_spec-
-