Package ucar.unidata.data
Class DataSelectionComponent
java.lang.Object
ucar.unidata.data.DataSelectionComponent
- Direct Known Subclasses:
AddeImageAdvancedPanel
,AddeImageDataSelection.AddeImageAdvancedPanel
,AddeImageDataSelection.AddeImagePreviewPanel
,AddeImagePreviewPanel
,AddeImageSelection
,PointDataSource.PlotModelSelectionComponent
Used by a display control and field selector to show arbitrary data
selection stuff. This is used to pass information into a control or
data source.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DataSelection
We can be used by a display control and this is the control's data selection -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract void
applyToDataSelection
(DataSelection dataSelection) Apply settings to the data selectionprotected abstract JComponent
Hook method to make the contentsMake if needed and return the gui contentsgetContents
(DataSelection dataSelection) Make if needed and return the gui contentsgetName()
get nameboolean
Should this show in the control properties, subclasses can override as needed.
-
Field Details
-
dataSelection
We can be used by a display control and this is the control's data selection
-
-
Constructor Details
-
DataSelectionComponent
ctor- Parameters:
name
- name
-
-
Method Details
-
getContents
Make if needed and return the gui contents- Returns:
- gui contents
-
getContents
Make if needed and return the gui contents- Parameters:
dataSelection
- If created by a display control this is the control's dataselection- Returns:
- gui contents
-
doMakeContents
Hook method to make the contents- Returns:
- gui contents
-
applyToDataSelection
Apply settings to the data selection- Parameters:
dataSelection
- data selection to apply to
-
getName
get name- Returns:
- name
-
getShowInControlProperties
public boolean getShowInControlProperties()Should this show in the control properties, subclasses can override as needed.- Returns:
- true
-