You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by br...@apache.org on 2004/04/28 15:06:36 UTC

cvs commit: cocoon-2.1/src/blocks/forms/java/org/apache/cocoon/forms/event ActionListenerEnabled.java ValueChangedListenerEnabled.java

bruno       2004/04/28 06:06:36

  Added:       src/blocks/forms/java/org/apache/cocoon/forms/event
                        ActionListenerEnabled.java
                        ValueChangedListenerEnabled.java
  Log:
  initial commit
  
  Revision  Changes    Path
  1.1                  cocoon-2.1/src/blocks/forms/java/org/apache/cocoon/forms/event/ActionListenerEnabled.java
  
  Index: ActionListenerEnabled.java
  ===================================================================
  /*
   * Copyright 1999-2004 The Apache Software Foundation.
   *
   * Licensed under the Apache License, Version 2.0 (the "License");
   * you may not use this file except in compliance with the License.
   * You may obtain a copy of the License at
   *
   *      http://www.apache.org/licenses/LICENSE-2.0
   *
   * Unless required by applicable law or agreed to in writing, software
   * distributed under the License is distributed on an "AS IS" BASIS,
   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   * See the License for the specific language governing permissions and
   * limitations under the License.
   */
  package org.apache.cocoon.forms.event;
  
  /**
   * Interface to be implemented by Widgets on which ActionListeners
   * can be registered.
   */
  public interface ActionListenerEnabled {
      public void addActionListener(ActionListener listener);
  
      public void removeActionListener(ActionListener listener);
  }
  
  
  
  1.1                  cocoon-2.1/src/blocks/forms/java/org/apache/cocoon/forms/event/ValueChangedListenerEnabled.java
  
  Index: ValueChangedListenerEnabled.java
  ===================================================================
  /*
   * Copyright 1999-2004 The Apache Software Foundation.
   *
   * Licensed under the Apache License, Version 2.0 (the "License");
   * you may not use this file except in compliance with the License.
   * You may obtain a copy of the License at
   *
   *      http://www.apache.org/licenses/LICENSE-2.0
   *
   * Unless required by applicable law or agreed to in writing, software
   * distributed under the License is distributed on an "AS IS" BASIS,
   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   * See the License for the specific language governing permissions and
   * limitations under the License.
   */
  package org.apache.cocoon.forms.event;
  
  /**
   * Interface to be implemented by Widgets on which ValueChangedListeners
   * can be registered.
   */
  public interface ValueChangedListenerEnabled {
      public void addValueChangedListener(ValueChangedListener listener);
  
      public void removeValueChangedListener(ValueChangedListener listener);
  }