001         package com.croftsoft.core.animation.updater;
002    
003         import javax.swing.JComponent;
004    
005         import com.croftsoft.core.animation.ComponentUpdater;
006    
007         /*********************************************************************
008         * Null object singleton implementation of ComponentUpdater.
009         *
010         * @version
011         *   2003-07-11
012         * @since
013         *   2003-07-11
014         * @author
015         *   <a href="https://www.croftsoft.com/">David Wallace Croft</a>
016         *********************************************************************/
017    
018         public final class  NullComponentUpdater
019           implements ComponentUpdater
020         //////////////////////////////////////////////////////////////////////
021         //////////////////////////////////////////////////////////////////////
022         {
023    
024         public static final NullComponentUpdater  INSTANCE
025           = new NullComponentUpdater ( );
026    
027         //////////////////////////////////////////////////////////////////////
028         //////////////////////////////////////////////////////////////////////
029    
030         public void  update ( JComponent  component )
031         //////////////////////////////////////////////////////////////////////
032         {
033         }
034    
035         //////////////////////////////////////////////////////////////////////
036         //////////////////////////////////////////////////////////////////////
037    
038         private  NullComponentUpdater ( ) { }
039    
040         //////////////////////////////////////////////////////////////////////
041         //////////////////////////////////////////////////////////////////////
042         }