classUtils.delegate
Class DelegateGui

java.lang.Object
  extended by classUtils.delegate.DelegateGui

public class DelegateGui
extends java.lang.Object

DelegateGui class To replace inheritance with delegation: I dentify the super class. Make an instance of the super class in the child. Using semiautomatic static proxy delegation create a proxy for the primordial super-class. Remove the extends clause. Replace all references to the parent with references to the proxy.


Constructor Summary
DelegateGui()
           
 
Method Summary
 void addNotify()
           
 void doListValueChanged(javax.swing.event.ListSelectionEvent e)
           
 DelegateSynthesizer getDelegateSynthesizer()
           
 void init()
           
 void setInstanceList(java.util.Vector v)
           
 void setTopologicallySorted(boolean isTopologicallySorted)
           
 void setVisible(boolean v)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DelegateGui

public DelegateGui()
Method Detail

setVisible

public void setVisible(boolean v)

setInstanceList

public void setInstanceList(java.util.Vector v)

init

public void init()

addNotify

public void addNotify()

doListValueChanged

public void doListValueChanged(javax.swing.event.ListSelectionEvent e)

getDelegateSynthesizer

public DelegateSynthesizer getDelegateSynthesizer()

setTopologicallySorted

public void setTopologicallySorted(boolean isTopologicallySorted)