Package PamModel.parametermanager.swing
Interface PamParameterComponents
- All Known Implementing Classes:
DoubleParameterComponents
,IntParameterComponents
,NumericParameterComponents
public interface PamParameterComponents
-
Method Details
-
getAllComponents
JComponent[] getAllComponents()Get a set of three swing components which can be added to a dialog. These will be a title, a field and a post title. note that the two titles may be null if there is no text to display, but the main data entry field will always not be null and will always be component[1].- Returns:
- array of swing components.
-
setField
boolean setField()Set the text in the data field from the parameter value.- Returns:
- true if the text was set correctly
-
getField
boolean getField()Get the text in the field and use it to set the parameter value- Returns:
- true if the text was read correctly and set as a parameter
-