Package Array
Class InterpolationDialogPanel
java.lang.Object
Array.InterpolationDialogPanel
- All Implemented Interfaces:
DialogComponent
Dialog component used by both the streamer and the hydrophone dialogs
- Author:
- Doug Gillespie
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected int
getComponent
(Window owner) the swing component to showboolean
Get parameters out of the controls in that component - the concrete class will have to work out what to do with them !int
protected void
setAllowedValues
(int allowedValues) void
Set the parameters in the controls of that componentvoid
setSelection
(int option)
-
Constructor Details
-
Method Details
-
getComponent
Description copied from interface:DialogComponent
the swing component to show- Specified by:
getComponent
in interfaceDialogComponent
- Parameters:
owner
- Owner window (needed for any dialogs to fire off the component).- Returns:
- the swing component to display
-
setSelection
public void setSelection(int option) -
getSelection
public int getSelection() -
getAllowedValues
protected int getAllowedValues()- Returns:
- the allowedValues
-
setAllowedValues
protected void setAllowedValues(int allowedValues) - Parameters:
allowedValues
- the allowedValues to set
-
setParams
public void setParams()Description copied from interface:DialogComponent
Set the parameters in the controls of that component- Specified by:
setParams
in interfaceDialogComponent
-
getParams
public boolean getParams()Description copied from interface:DialogComponent
Get parameters out of the controls in that component - the concrete class will have to work out what to do with them !- Specified by:
getParams
in interfaceDialogComponent
- Returns:
- true if the parameters were OK, false otherwise.
-