plugins.adufour.vars.gui.model
Interface VarEditorModel<T>

Type Parameters:
T -
All Known Implementing Classes:
DoubleRangeModel, FileTypeListModel, FileTypeModel, FloatRangeModel, IntegerRangeModel, RangeModel, SwimmingObjectTypeModel, TypeSelectionModel, ValueSelectionModel

public interface VarEditorModel<T>

Model usable by graphical user interfaces to build custom components for Var objects. This can be used for instance to restrict the bounds of valid values.

For more information and model templates, see the other classes of this package.

Author:
Alexandre Dufour
See Also:
SwimmingObjectTypeModel, ValueSelectionModel, RangeModel, FileTypeModel, FileTypeListModel

Method Summary
 T getDefaultValue()
           
 boolean isValid(T value)
           
 

Method Detail

isValid

boolean isValid(T value)

getDefaultValue

T getDefaultValue()