Package PamModel.parametermanager.swing
Class NumericParameterComponents
java.lang.Object
PamModel.parametermanager.swing.NumericParameterComponents
- All Implemented Interfaces:
PamParameterComponents
- Direct Known Subclasses:
DoubleParameterComponents
,IntParameterComponents
-
Constructor Summary
ConstructorDescriptionNumericParameterComponents
(PamParameterData pamParameterData, String textFormat) -
Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface PamModel.parametermanager.swing.PamParameterComponents
getField
-
Constructor Details
-
NumericParameterComponents
-
-
Method Details
-
getAllComponents
Description copied from interface:PamParameterComponents
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].- Specified by:
getAllComponents
in interfacePamParameterComponents
- Returns:
- array of swing components.
-
getPamParameterData
- Returns:
- the pamParameterData
-
getTextFormat
- Returns:
- the textFormat
-
getTitle
- Returns:
- the title
-
getPostTitle
- Returns:
- the postTitle
-
getDataField
- Returns:
- the dataField
-
setField
public boolean setField()Description copied from interface:PamParameterComponents
Set the text in the data field from the parameter value.- Specified by:
setField
in interfacePamParameterComponents
- Returns:
- true if the text was set correctly
-