public class DataView
extends java.awt.Component
Modifier and Type | Field and Description |
---|---|
static java.awt.Color |
AVAILABLE_COLOR_BOTTOM |
static java.awt.Color |
AVAILABLE_COLOR_HILIGHT |
static java.awt.Color |
AVAILABLE_COLOR_SHADOW |
static java.awt.Color |
AVAILABLE_COLOR_TOP |
static java.awt.Color |
DELETED_COLOR_BOTTOM |
static java.awt.Color |
DELETED_COLOR_HILIGHT |
static java.awt.Color |
DELETED_COLOR_SHADOW |
static java.awt.Color |
DELETED_COLOR_TOP |
static int |
ITEM_HEIGHT |
Constructor and Description |
---|
DataView(java.util.TreeSet<java.lang.Long> timestamps,
java.util.Map<de.bsvrz.dav.daf.main.archive.ArchiveDataSpecification,java.util.List<de.bsvrz.dav.daf.main.archive.ArchiveInformationResult>> data,
javax.swing.JViewport parentViewport) |
Modifier and Type | Method and Description |
---|---|
java.util.List<de.bsvrz.dav.daf.main.archive.ArchiveInformationResult> |
getSelection() |
com.google.common.collect.RangeSet<java.lang.Long> |
getSelectionInterval() |
int |
mapTimestampToX(java.lang.Long timestamp) |
long |
mapXToTimestamp(java.lang.Integer x) |
void |
paint(java.awt.Graphics g) |
protected void |
selectionChanged() |
void |
setMainSelection(com.google.common.collect.Range<java.lang.Long> mainSelection) |
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, deliverEvent, disable, disableEvents, dispatchEvent, doLayout, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getAccessibleContext, getAlignmentX, getAlignmentY, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentAt, getComponentAt, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeys, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMaximumSize, getMinimumSize, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, invalidate, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusCycleRoot, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, layout, list, list, list, list, list, locate, location, lostFocus, minimumSize, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, paramString, postEvent, preferredSize, prepareImage, prepareImage, print, printAll, processComponentEvent, processEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, revalidate, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeys, setFocusTraversalKeysEnabled, setFont, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle, update, validate
public static final java.awt.Color AVAILABLE_COLOR_TOP
public static final java.awt.Color AVAILABLE_COLOR_BOTTOM
public static final java.awt.Color AVAILABLE_COLOR_HILIGHT
public static final java.awt.Color AVAILABLE_COLOR_SHADOW
public static final java.awt.Color DELETED_COLOR_TOP
public static final java.awt.Color DELETED_COLOR_BOTTOM
public static final java.awt.Color DELETED_COLOR_HILIGHT
public static final java.awt.Color DELETED_COLOR_SHADOW
public static final int ITEM_HEIGHT
public DataView(java.util.TreeSet<java.lang.Long> timestamps, java.util.Map<de.bsvrz.dav.daf.main.archive.ArchiveDataSpecification,java.util.List<de.bsvrz.dav.daf.main.archive.ArchiveInformationResult>> data, javax.swing.JViewport parentViewport)
protected void selectionChanged()
public int mapTimestampToX(java.lang.Long timestamp)
public long mapXToTimestamp(java.lang.Integer x)
public void paint(java.awt.Graphics g)
paint
in class java.awt.Component
public void setMainSelection(com.google.common.collect.Range<java.lang.Long> mainSelection)
public java.util.List<de.bsvrz.dav.daf.main.archive.ArchiveInformationResult> getSelection()
public com.google.common.collect.RangeSet<java.lang.Long> getSelectionInterval()