org.escot
Class ModelReplacementWire

java.lang.Object
  |
  +--org.escot.Wire
        |
        +--org.escot.ModelReplacementWire
All Implemented Interfaces:
EventListener, PropertyChangeListener

public class ModelReplacementWire
extends Wire
implements PropertyChangeListener

ModelReplacementWire objects....


Fields inherited from class org.escot.Wire
mPublisher, mPublisherFeature, mSubscriber, mSubscriberFeature
 
Constructor Summary
ModelReplacementWire()
           
ModelReplacementWire(Object publisher, EscotFeature publisherFeature, Object subscriber, EscotFeature subscriberFeature)
           
 
Method Summary
protected static boolean canWire(Object publisher, EscotFeature publisherFeature, Object subscriber, EscotFeature subscribedFeature)
           
 void handleConnect()
          Subclasses should override this method to implement wire-specific connection logic.
 void handleDisconnect()
          Subclasses should override this method to implement wire-specific disconnection logic.
 void propertyChange(PropertyChangeEvent evt)
           
 
Methods inherited from class org.escot.Wire
_getPublisherFeature, _getSubscriberFeature, _setPublisherFeature, _setSubscriberFeature, connect, disconnect, getPublisher, getPublisherFeature, getPublisherFeatureID, getPublisherFeatureName, getSubscriber, getSubscriberFeature, getSubscriberFeatureID, getSubscriberFeatureName, isConnected, setPublisher, setPublisherFeatureID, setSubscriber, setSubscriberFeatureID
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModelReplacementWire

public ModelReplacementWire()

ModelReplacementWire

public ModelReplacementWire(Object publisher,
                            EscotFeature publisherFeature,
                            Object subscriber,
                            EscotFeature subscriberFeature)
Method Detail

canWire

protected static boolean canWire(Object publisher,
                                 EscotFeature publisherFeature,
                                 Object subscriber,
                                 EscotFeature subscribedFeature)

handleConnect

public void handleConnect()
Description copied from class: Wire
Subclasses should override this method to implement wire-specific connection logic.
Overrides:
handleConnect in class Wire

handleDisconnect

public void handleDisconnect()
Description copied from class: Wire
Subclasses should override this method to implement wire-specific disconnection logic.
Overrides:
handleDisconnect in class Wire

propertyChange

public void propertyChange(PropertyChangeEvent evt)
Specified by:
propertyChange in interface PropertyChangeListener