jsynoptic.builtin
Class AutomatonActionMapper

java.lang.Object
  extended by simtools.ui.GenericMapper
      extended by 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

Nested Class Summary
protected static class AutomatonActionMapper.AutomatonActionEditor
           
protected  class AutomatonActionMapper.AutomatonActionMapperTableModel
           
protected  class AutomatonActionMapper.AutomatonActionMappingTable
           
protected static class AutomatonActionMapper.AutomatonActionRenderer
           
 
Nested classes/interfaces inherited from class simtools.ui.GenericMapper
GenericMapper.Expression, GenericMapper.ExpressionDialog, GenericMapper.ExpressionEditor, GenericMapper.ExpressionMappingTable, GenericMapper.Interval, GenericMapper.MapperTableModel
 
Field Summary
static java.util.ResourceBundle resources
           
 
Fields inherited from class simtools.ui.GenericMapper
defaultValue, intervals, listeners, map, name
 
Constructor Summary
AutomatonActionMapper()
           
AutomatonActionMapper(java.lang.String name)
           
 
Method Summary
 GenericMapper.MapperTableModel createModel()
           
static AutomatonAction createNewAction()
           
protected  java.lang.Object createNewValue()
          For subclasses to specialize, create a new object of the specialized type
protected  GenericMapper.ExpressionMappingTable createTable(javax.swing.JDialog parent)
          For subclasses to specialize
static void main(java.lang.String[] args)
           
 
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
 

Field Detail

resources

public static java.util.ResourceBundle resources
Constructor Detail

AutomatonActionMapper

public AutomatonActionMapper()

AutomatonActionMapper

public AutomatonActionMapper(java.lang.String name)
Method Detail

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)