|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
faa.tg.util.gui.awt.DraggableJPanel
faa.tg.dra.gui.DraPanel
faa.tg.dra.gui.TimeSamplerPanel
public class TimeSamplerPanel
TimeSamplerPanel is a DraPanel that provides a GUI interface panel for the TimeSampler class. TimeSampler takes samples, at regular time intervals, of data objects implementing HasSimTime. The time sampler sends data objects with an associated simulation time that matches either 1) the start time, or 2) a time that equals the start time plus a positive integer multiple of the specified interval. To show that the aircraft did not disappear and then reappear in the recording, EndOfEpochEvents for those times are also removed.See the source: TimeSamplerPanel.javaA TimeSampler can be set to remove only aircraft state information (EndOfEpochEvents are still removed also), allowing all instances of all other data types through no matter what time they occurred at. If set, the resulting output is generally similar to a recording that had output epochs at the TimeSampler interval, since other flight info is retained.
Events that do not implement HasSimTime are discarded unless the passThrough indicator is set.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JPanel |
|---|
javax.swing.JPanel.AccessibleJPanel |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
javax.swing.JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
java.awt.Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
| Field Summary | |
|---|---|
static java.lang.String |
CVS_VERSION_ID
The CVS Version ID |
static java.lang.String |
DEFAULT_INTERVAL
Defaults to once per minute. |
static java.lang.String |
DEFAULT_INTERVAL_START
Defaults to simulation start time. |
private java.lang.String |
defaultInterval
|
private java.lang.String |
defaultIntervalStart
|
static java.lang.String |
INTERVAL_PROP
|
static java.lang.String |
INTERVAL_START_PROP
|
private javax.swing.JTextField |
intervalStartField
|
private javax.swing.JTextField |
intervalValueField
|
private javax.swing.JPanel |
parmsPanel
|
static java.lang.String |
PASSTH_PROP
|
private java.lang.String |
passThroughString
|
private PassThroughPanel |
ptPanel
|
static java.lang.String |
REMOVE_AC_PROP
|
private javax.swing.JCheckBox |
removeAcOnlyChkBox
|
private java.lang.String |
removeAcTooltip
|
private java.lang.String |
removeAircraftOnlyString
|
(package private) static long |
serialVersionUID
|
| Fields inherited from class faa.tg.dra.gui.DraPanel |
|---|
CLASSNAME_PROP, DEFAULT_PANEL_HEIGHT, DEFAULT_PANEL_WIDTH, DEFAULT_PASSTHROUGH_TRUE, FILTER_COLOR, MULTIPLEXER_COLOR, ONE_ROW_PANEL_HEIGHT, PLOTTER_COLOR, PRINTER_COLOR, READER_COLOR, TEXT_ONLY_PANEL_HEIGHT |
| Fields inherited from class javax.swing.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
TimeSamplerPanel()
Constructor for the TimeSampler panel. |
|
TimeSamplerPanel(java.util.Properties props)
Constructor that accepts panel layout and panel parameters. |
|
| Method Summary | |
|---|---|
java.util.Properties |
getProperties()
Returns a Properties field containing the values that define the Factory. |
java.lang.Object |
instantiateProcessor()
Instantiate and return a DistFactory with this panel's parameters. |
void |
setProperties()
Set the characteristics of the GUI panel. |
void |
setProperties(java.util.Properties properties)
Set the characteristics of the GUI panel using the given Properties. |
| Methods inherited from class faa.tg.dra.gui.DraPanel |
|---|
drawLineOnBottom, drawLineOnTop, getTitle, processMouseEvent, reset, select, setProperty |
| Methods inherited from class faa.tg.util.gui.awt.DraggableJPanel |
|---|
mouseClicked, mouseEntered, mouseExited, mousePressed, mouseReleased |
| Methods inherited from class javax.swing.JPanel |
|---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class javax.swing.JComponent |
|---|
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update |
| Methods inherited from class java.awt.Container |
|---|
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree |
| Methods inherited from class java.awt.Component |
|---|
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
static final long serialVersionUID
public static final java.lang.String CVS_VERSION_ID
public static final java.lang.String INTERVAL_START_PROP
public static final java.lang.String INTERVAL_PROP
public static final java.lang.String PASSTH_PROP
public static final java.lang.String REMOVE_AC_PROP
public static java.lang.String DEFAULT_INTERVAL_START
public static java.lang.String DEFAULT_INTERVAL
private javax.swing.JTextField intervalStartField
private javax.swing.JTextField intervalValueField
private javax.swing.JPanel parmsPanel
private java.lang.String defaultIntervalStart
private java.lang.String defaultInterval
private java.lang.String passThroughString
private javax.swing.JCheckBox removeAcOnlyChkBox
private java.lang.String removeAircraftOnlyString
private java.lang.String removeAcTooltip
private PassThroughPanel ptPanel
| Constructor Detail |
|---|
public TimeSamplerPanel()
public TimeSamplerPanel(java.util.Properties props)
props - Values for parameters stored in a Properties file.| Method Detail |
|---|
public void setProperties()
setProperties in class DraPanelpublic void setProperties(java.util.Properties properties)
setProperties in class DraPanelproperties - Properties for the GUI panel.public java.util.Properties getProperties()
getProperties in class DraPanelpublic java.lang.Object instantiateProcessor()
instantiateProcessor in class DraPanel
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||