jsynoptic.builtin
Class AutomatonActionMapper
java.lang.Object
simtools.ui.GenericMapper
jsynoptic.builtin.AutomatonActionMapper
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable
public class AutomatonActionMapper
- extends GenericMapper
This class maps data sources and index to images.
The mapping is user defined, and based for example on the value of the data source
For example, green value < 10, red above. Useful for making plots with "alarm" colors
The data source shall not be saved into the object. Rather, this class goal is to implement
a mapping independent of the data source given.
The same is true for the images
- See Also:
- Serialized Form
Field Summary |
static java.util.ResourceBundle |
resources
|
Methods inherited from class simtools.ui.GenericMapper |
addListener, clone, createMapperDialog, createPanel, editDialog, equals, getAllMapperValues, getDefaultValue, getIntervals, getMap, getMapping, getMapping, getMapping, notifyListeners, removeListener, setDefaultValue, setMapperValues, setMapping, setMapping, setMapping, setMapping, setMapping, setMapping, setMapping, setMapping, setMapping, setMapping, setMapping, setMapping, setMapping, setName, toString |
Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
resources
public static java.util.ResourceBundle resources
AutomatonActionMapper
public AutomatonActionMapper()
AutomatonActionMapper
public AutomatonActionMapper(java.lang.String name)
createModel
public GenericMapper.MapperTableModel createModel()
- Overrides:
createModel
in class GenericMapper
createNewAction
public static AutomatonAction createNewAction()
createTable
protected GenericMapper.ExpressionMappingTable createTable(javax.swing.JDialog parent)
- Description copied from class:
GenericMapper
- For subclasses to specialize
- Overrides:
createTable
in class GenericMapper
createNewValue
protected java.lang.Object createNewValue()
- Description copied from class:
GenericMapper
- For subclasses to specialize, create a new object of the specialized type
- Overrides:
createNewValue
in class GenericMapper
main
public static void main(java.lang.String[] args)