Package PamView.dialog
Interface DialogComponent
- All Known Implementing Classes:
InterpolationDialogPanel
,OriginDialogComponent
public interface DialogComponent
General interface for components which are going to get included in alarge dialogs
- Author:
- dg50
-
Method Summary
Modifier and TypeMethodDescriptiongetComponent
(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 !void
Set the parameters in the controls of that component
-
Method Details
-
getComponent
the swing component to show- Parameters:
owner
- Owner window (needed for any dialogs to fire off the component).- Returns:
- the swing component to display
-
setParams
void setParams()Set the parameters in the controls of that component -
getParams
boolean getParams()Get parameters out of the controls in that component - the concrete class will have to work out what to do with them !- Returns:
- true if the parameters were OK, false otherwise.
-