001 package com.croftsoft.core.util.state; 002 003 /********************************************************************* 004 * 005 * An interface for objects that mulicast State updates. 006 * 007 * @author 008 * <a href="https://www.croftsoft.com/">David Wallace Croft</a> 009 * @version 010 * 1998-12-06 011 *********************************************************************/ 012 013 public interface StateMulticaster 014 ////////////////////////////////////////////////////////////////////// 015 ////////////////////////////////////////////////////////////////////// 016 { 017 018 public void update ( State state ); 019 020 public boolean addStateListener ( StateListener stateListener ); 021 022 public boolean removeStateListener ( StateListener stateListener ); 023 024 ////////////////////////////////////////////////////////////////////// 025 ////////////////////////////////////////////////////////////////////// 026 }