/core/src/com/bluemarsh/jswat/core/watch/Watch.java
http://jswat.googlecode.com/ · Java · 49 lines · 6 code · 5 blank · 38 comment · 0 complexity · 6ed7b851652fd6d4ac377f107a666e9f MD5 · raw file
- /*
- * The contents of this file are subject to the terms of the Common Development
- * and Distribution License (the License). You may not use this file except in
- * compliance with the License.
- *
- * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
- * or http://www.netbeans.org/cddl.txt.
- *
- * When distributing Covered Code, include this CDDL Header Notice in each file
- * and include the License file at http://www.netbeans.org/cddl.txt.
- * If applicable, add the following below the CDDL Header, with the fields
- * enclosed by brackets [] replaced by your own identifying information:
- * "Portions Copyrighted [year] [name of copyright owner]"
- *
- * The Original Software is JSwat. The Initial Developer of the Original
- * Software is Nathan L. Fiedler. Portions created by Nathan L. Fiedler
- * are Copyright (C) 2006. All Rights Reserved.
- *
- * Contributor(s): Nathan L. Fiedler.
- *
- * $Id: Watch.java 40 2009-01-09 07:35:28Z nathanfiedler $
- */
- package com.bluemarsh.jswat.core.watch;
- import java.beans.PropertyChangeListener;
- /**
- * A Watch represents all types of watches, including ones based on
- * expressions and those that are fixed objects.
- *
- * @author Nathan Fiedler
- */
- public interface Watch {
- /**
- * Add a PropertyChangeListener to the listener list.
- *
- * @param listener the PropertyChangeListener to be added.
- */
- void addPropertyChangeListener(PropertyChangeListener listener);
- /**
- * Remove a PropertyChangeListener from the listener list.
- *
- * @param listener the PropertyChangeListener to be removed.
- */
- void removePropertyChangeListener(PropertyChangeListener listener);
- }