Class DataView

java.lang.Object
java.awt.Component
de.bsvrz.pat.sysbed.plugins.archiveinfo.DataView
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable

public class DataView extends Component
Swing-Komponente für die Datenansicht
See Also:
  • Field Details

    • AVAILABLE_COLOR_TOP

      public static final Color AVAILABLE_COLOR_TOP
    • AVAILABLE_COLOR_BOTTOM

      public static final Color AVAILABLE_COLOR_BOTTOM
    • AVAILABLE_COLOR_HILIGHT

      public static final Color AVAILABLE_COLOR_HILIGHT
    • AVAILABLE_COLOR_SHADOW

      public static final Color AVAILABLE_COLOR_SHADOW
    • DELETED_COLOR_TOP

      public static final Color DELETED_COLOR_TOP
    • DELETED_COLOR_BOTTOM

      public static final Color DELETED_COLOR_BOTTOM
    • DELETED_COLOR_HILIGHT

      public static final Color DELETED_COLOR_HILIGHT
    • DELETED_COLOR_SHADOW

      public static final Color DELETED_COLOR_SHADOW
    • ITEM_HEIGHT

      public static final int ITEM_HEIGHT
      See Also:
  • Constructor Details

    • DataView

      public DataView(TreeSet<Long> timestamps, Map<de.bsvrz.dav.daf.main.archive.ArchiveDataSpecification,List<de.bsvrz.dav.daf.main.archive.ArchiveInformationResult>> data, JViewport parentViewport)
  • Method Details

    • selectionChanged

      protected void selectionChanged()
    • mapTimestampToX

      public int mapTimestampToX(Long timestamp)
    • mapXToTimestamp

      public long mapXToTimestamp(Integer x)
    • paint

      public void paint(Graphics g)
      Overrides:
      paint in class Component
    • setMainSelection

      public void setMainSelection(com.google.common.collect.Range<Long> mainSelection)
    • getSelection

      public List<de.bsvrz.dav.daf.main.archive.ArchiveInformationResult> getSelection()
    • getSelectionInterval

      public com.google.common.collect.RangeSet<Long> getSelectionInterval()