Package PamView.paneloverlay
Class OverlaySwingPanel
java.lang.Object
PamView.paneloverlay.OverlaySwingPanel
- All Implemented Interfaces:
PamDialogPanel
- Direct Known Subclasses:
OverlayMarkSwingPanel
Standard swing panel for selecting overlay mark information.
This includes a column of check boxes for selecting data and where they
have a data selector, additional buttons for fine scale data selection.
- Author:
- dg50
-
Constructor Summary
ConstructorDescriptionOverlaySwingPanel
(OverlayDataManager overlayDataManager, Window parentWindow) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Enable all the settings buttons based on checkbox state.Get the awt component which will be incorporated into a larger display panel / component.int
boolean
void
Set the initial parameter values in the panel.
-
Constructor Details
-
OverlaySwingPanel
- Parameters:
overlayDataManager
-
-
-
Method Details
-
getFirstFreeColumn
public int getFirstFreeColumn()- Returns:
- the index of the first free column in the gridbag layout.
-
getSwingPanel
- Returns:
- the main panel components are added to.
-
getDialogComponent
Description copied from interface:PamDialogPanel
Get the awt component which will be incorporated into a larger display panel / component.- Specified by:
getDialogComponent
in interfacePamDialogPanel
- Returns:
- an awt component.
-
setParams
public void setParams()Description copied from interface:PamDialogPanel
Set the initial parameter values in the panel. Since this interface is purely abstract, the type of parameter is unknown, so concrete implementations will somehow have to pass the class containing the parameter information in some other way.- Specified by:
setParams
in interfacePamDialogPanel
-
enableControls
public void enableControls()Enable all the settings buttons based on checkbox state. -
getParams
public boolean getParams()- Specified by:
getParams
in interfacePamDialogPanel
- Returns:
- true if parameters all have acceptable values and the dialog can close.
-