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 intgetComponent(Window owner) the swing component to showbooleanGet parameters out of the controls in that component - the concrete class will have to work out what to do with them !intprotected voidsetAllowedValues(int allowedValues) voidSet the parameters in the controls of that componentvoidsetSelection(int option)
-
Constructor Details
-
InterpolationDialogPanel
-
-
Method Details
-
getComponent
Description copied from interface:DialogComponentthe swing component to show- Specified by:
getComponentin 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:DialogComponentSet the parameters in the controls of that component- Specified by:
setParamsin interfaceDialogComponent
-
getParams
public boolean getParams()Description copied from interface:DialogComponentGet parameters out of the controls in that component - the concrete class will have to work out what to do with them !- Specified by:
getParamsin interfaceDialogComponent- Returns:
- true if the parameters were OK, false otherwise.
-