public abstract class DataSelectionComponent
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected DataSelection |
dataSelection
We can be used by a display control and this is the
control's data selection
|
Constructor and Description |
---|
DataSelectionComponent(java.lang.String name)
ctor
|
Modifier and Type | Method and Description |
---|---|
abstract void |
applyToDataSelection(DataSelection dataSelection)
Apply settings to the data selection
|
protected abstract javax.swing.JComponent |
doMakeContents()
Hook method to make the contents
|
javax.swing.JComponent |
getContents()
Make if needed and return the gui contents
|
javax.swing.JComponent |
getContents(DataSelection dataSelection)
Make if needed and return the gui contents
|
java.lang.String |
getName()
get name
|
boolean |
getShowInControlProperties()
Should this show in the control properties, subclasses can override as
needed.
|
protected DataSelection dataSelection
public DataSelectionComponent(java.lang.String name)
name
- namepublic javax.swing.JComponent getContents()
public javax.swing.JComponent getContents(DataSelection dataSelection)
dataSelection
- If created by a display control
this is the control's dataselectionprotected abstract javax.swing.JComponent doMakeContents()
public abstract void applyToDataSelection(DataSelection dataSelection)
dataSelection
- data selection to apply topublic java.lang.String getName()
public boolean getShowInControlProperties()