Package org.uncommons.watchmaker.swing
Interface EvolutionControl
-
- All Known Implementing Classes:
AbortControl,NumericParameterControl,ProbabilityParameterControl,SelectionStrategyControl
public interface EvolutionControlCommon interface for GUI controls for evolutionary programs.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description JComponentgetControl()voidreset()Resets the control to its initial configuration.voidsetDescription(String description)Provides a textual description of the purpose of the control.
-
-
-
Method Detail
-
getControl
JComponent getControl()
- Returns:
- The GUI component used by this control.
-
reset
void reset()
Resets the control to its initial configuration.
-
setDescription
void setDescription(String description)
Provides a textual description of the purpose of the control. This may be displayed somewhere on the GUI component (typically as tooltip text).- Parameters:
description- The description of the control.
-
-