Logo
Distributed Genetic Programming Framework
print print

File org.dgpf.gui.controls.IControl.java

Here you can find all the information about the file org.dgpf.gui.controls.IControl.java. You may explore it here or download it onto your local disk.
/*
 * Copyright (c) 2006 Alexander Podlich
 * 
 * E-Mail           : podlich@student.uni-kassel.de
 * Creation Date    : 04.07.2006 15:18:23
 * Original Filename: org.dgpf.gui.IDGPFControlFactory.java
 * Version          : 1.0
 * Last modification: 04.07.2006
 * Last modified by : Alexander Podlich
 * 
 * License          : GNU LESSER GENERAL PUBLIC LICENSE
 *                    Version 2.1, February 1999
 *                    You should have received a copy of this license along
 *                    with this library; if not, write to the Free Software
 *                    Foundation, Inc., 59 Temple Place, Suite 330, Boston,
 *                    MA 02111-1307, USA or download the license under
 *                    http://www.gnu.org/copyleft/lesser.html.
 *                    
 * Warranty         : This software is provided "as is" without any
 *                    warranty; without even the implied warranty of
 *                    merchantability or fitness for a particular purpose.
 *                    See the Gnu Lesser General Public License for more
 *                    details.
 */


package org.dgpf.gui.controls;

import javax.swing.JComponent;

import org.dgpf.search.api.SearchState;
import org.sfc.meta.PropertyPort;

/**
 * This interface makes it possible to create a JComponent.
 * 
 * @author Alexander Podlich
 */

public interface IControl
  {

  /**
   * This method returns the internal JComponent.
   * 
   * @return The JComponent.
   */

  public JComponent get();

  /**
   * This method makes an update of the gui element.
   * 
   * @param p_pPort
   *          The property port
   * @param p_searchState
   *          The search state
   * @param p_index
   *          The array index if this property is an array property, or
   *          <code>-1<code> if the property is no array property.
   */

  public void update(PropertyPort p_pPort,
      final SearchState<?> p_searchState, int p_index);

  /**
   * <code>True</code>, if this property can be updated.
   * <code>False</code>, if this property cannot be updated.
   * 
   * @param p_updateAble
   *          The boolean value for this control
   */

  public void setUpdateAble(boolean p_updateAble);

  }

File Information:

file name:IControl.java
package:org.dgpf.gui.controls
qualified name:org.dgpf.gui.controls.IControl.java
file type:Java Source File
download location:download http://dgpf.sourceforge.net/source/org/dgpf/gui/controls/IControl.java
size:2.164 KB (2216 B)
uploaded: 2015-07-22 04:10:58 GMT+0000
last update: 2006-09-24 23:47:04 GMT+0000
last access: 2017-11-20 18:49:40 GMT+0000

statistics online since 2006-01-02.   RSS Feed
Contact us by sending an email to tweise@gmx.de to receive further information, to report errors, or to join our project.
All content on this site (http://dgpf.sourceforge.net/) is LGPL-licensed.
http://dgpf.sourceforge.net/scripts/source/source.php last modified at 2015-07-22 04:10:53 GMT+0000 served at 2017-11-20 18:49:40 GMT+0000.
Valid CSS Valid XHTML 1.1
Valid RSS SourceForge.net Logo