Class ClipInspector

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants

public class ClipInspector extends JDialog
This displays and sets VideoClip and ClipControl properties.
Version:
1.0
Author:
Douglas Brown
See Also:
  • Field Details

    • clip

      protected VideoClip clip
    • clipControl

      protected ClipControl clipControl
    • startLabel

      protected JLabel startLabel
    • stepSizeLabel

      protected JLabel stepSizeLabel
    • t0Label

      protected JLabel t0Label
    • endLabel

      protected JLabel endLabel
    • dtLabel

      protected JLabel dtLabel
    • fpsLabel

      protected JLabel fpsLabel
    • startField

      protected IntegerField startField
    • stepSizeField

      protected IntegerField stepSizeField
    • endField

      protected IntegerField endField
    • t0Field

      protected NumberField t0Field
    • dtField

      protected NumberField dtField
    • fpsField

      protected NumberField fpsField
    • okButton

      protected JButton okButton
    • cancelButton

      protected JButton cancelButton
    • prevFrame

      protected int prevFrame
    • prevStart

      protected int prevStart
    • prevEnd

      protected int prevEnd
    • prevSize

      protected int prevSize
    • prevCount

      protected int prevCount
    • prevDt

      protected double prevDt
    • prevRate

      protected double prevRate
    • prevStartTime

      protected double prevStartTime
    • prevDefault

      protected boolean prevDefault
    • currentStart

      protected int currentStart
    • currentCount

      protected int currentCount
    • frameBox

      protected Box frameBox
    • timeBox

      protected Box timeBox
    • dtMin

      protected double dtMin
    • fpsMin

      protected double fpsMin
    • timeUnit

      protected String timeUnit
    • isPositioned

      public boolean isPositioned
  • Constructor Details

    • ClipInspector

      public ClipInspector(Frame frame, VideoClip videoClip, ClipControl control)
      Constructs a non-modal ClipInspector with access to the clip control.
      Parameters:
      frame - the owner
      videoClip - the video clip
      control - the clip control
  • Method Details

    • initialize

      public void initialize()
      Initializes this clip inspector.
    • refresh

      public void refresh()
      Refreshes the GUI.
    • setTimeUnit

      public void setTimeUnit(String unit)
    • updateDisplay

      public void updateDisplay()
      Updates this clip inspector to reflect the current clip settings.
    • dispose

      public void dispose()
      Overrides:
      dispose in class Window