All Implemented Interfaces:
DynamicPropertyProvider, LocaleListener, MutableDynamicPropertyProvider, StyleProvider, ComponentLifecycle, DesignerInitializable, EnabledEx, QualityMonitor, VisionComponent, ActionListener, ImageObserver, MenuContainer, PropertyChangeListener, Serializable, EventListener, Accessible

See Also:
  • Field Details

    • STARTUP_NONE

      public static final int STARTUP_NONE
      See Also:
    • STARTUP_AUTO

      public static final int STARTUP_AUTO
      See Also:
    • fillBackground

      protected boolean fillBackground
  • Constructor Details

    • PMIDateRange

      public PMIDateRange()
  • Method Details

    • main

      public static void main(String[] args)
    • updateTooltipText

      protected void updateTooltipText()
    • localeChanged

      public void localeChanged(Locale newLocale)
      Specified by:
      localeChanged in interface LocaleListener
      Overrides:
      localeChanged in class AbstractVisionPanel
    • initComponents

      protected void initComponents()
    • createIcon

      protected Icon createIcon(String name)
    • setEnabled

      public void setEnabled(boolean en)
      Overrides:
      setEnabled in class JComponent
    • isComponentEnabled

      public boolean isComponentEnabled()
      Specified by:
      isComponentEnabled in interface EnabledEx
    • setComponentEnabled

      public void setComponentEnabled(boolean componentEnabled)
      Specified by:
      setComponentEnabled in interface EnabledEx
    • evaluateEnabled

      public void evaluateEnabled()
      Specified by:
      evaluateEnabled in interface EnabledEx
    • getEndDate

      public Date getEndDate()
    • setEndDate

      public void setEndDate(Date endDate)
    • getStartDate

      public Date getStartDate()
    • setStartDate

      public void setStartDate(Date startDate)
    • getOuterRangeEndDate

      public Date getOuterRangeEndDate()
    • setOuterRangeEndDate

      public void setOuterRangeEndDate(Date rangeEndDate)
    • getOuterRangeStartDate

      public Date getOuterRangeStartDate()
    • setOuterRangeStartDate

      public void setOuterRangeStartDate(Date rangeStartDate)
    • setGrossRange

      protected void setGrossRange(PMIDateRange.DateRange range)
    • getGrossRange

      protected PMIDateRange.DateRange getGrossRange()
    • setRange

      public void setRange(Date rangeStartDate, Date rangeEndDate)
      Scripting function to let user change the selected range without running into complications with the order dates are set. Outer range will move (but not expand) if needed. Assumes start/end not null. If start > end, reverses their order.
      Since:
      7.8.1
    • setOuterRange

      public void setOuterRange(Date rangeStartDate, Date rangeEndDate)
      Scripting function to let user change the outer range without running into complications with the order dates are set. Selected range will move (but not expand) if needed. Assumes start/end not null If start > end, reverses their order.
      Since:
      7.8.1
    • getTickDensity

      public float getTickDensity()
    • setTickDensity

      public void setTickDensity(float tickDensity)
    • getDensityData

      public Dataset getDensityData()
    • setDensityData

      public void setDensityData(Dataset densityData)
    • setHistogram

      public void setHistogram(IHistogram histogram)
    • getTrackMargin

      public int getTrackMargin()
    • setTrackMargin

      public void setTrackMargin(int trackMargin)
    • getEditorBackground

      public Color getEditorBackground()
    • setEditorBackground

      public void setEditorBackground(Color bg)
    • getTodayIndicatorColor

      public Color getTodayIndicatorColor()
    • setTodayIndicatorColor

      public void setTodayIndicatorColor(Color todayIndicatorColor)
    • getBoxFill

      public Color getBoxFill()
    • setBoxFill

      public void setBoxFill(Color boxFill)
    • getSelectionHighlight

      public Color getSelectionHighlight()
    • setSelectionHighlight

      public void setSelectionHighlight(Color selectionHighlight)
    • getHighDensityColor

      public Color getHighDensityColor()
    • setHighDensityColor

      public void setHighDensityColor(Color color)
    • getMaxSelectionSize

      public String getMaxSelectionSize()
    • setMaxSelectionSize

      public void setMaxSelectionSize(String maxSelectionSize)
    • getStartupMode

      public int getStartupMode()
    • setStartupMode

      public void setStartupMode(int startupMode)
    • getDateStyle

      public int getDateStyle()
    • setDateStyle

      public void setDateStyle(int dateStyle)
    • getTimeStyle

      public int getTimeStyle()
    • setTimeStyle

      public void setTimeStyle(int timeStyle)
    • getStartupRange

      public String getStartupRange()
    • setStartupRange

      public void setStartupRange(String startupRange)
    • getStartupSelection

      public String getStartupSelection()
    • setStartupSelection

      public void setStartupSelection(String startupSelection)
    • setOpaque

      public void setOpaque(boolean isOpaque)
      Overrides:
      setOpaque in class JComponent
    • isOpaque

      public boolean isOpaque()
      Overrides:
      isOpaque in class JComponent
    • isFillBackground

      public boolean isFillBackground()
    • setFillBackground

      public void setFillBackground(boolean fillBackground)
    • paintComponent

      protected void paintComponent(Graphics g)
      Overrides:
      paintComponent in class AbstractVisionPanel
    • initialize

      public void initialize()
      Specified by:
      initialize in interface DesignerInitializable
    • onStartup

      protected void onStartup()
      Description copied from class: AbstractVisionPanel
      Subclasses should override this to provide startup logic.
      Overrides:
      onStartup in class AbstractVisionPanel
    • initializeStartupRange

      public void initializeStartupRange()
    • actionPerformed

      public void actionPerformed(ActionEvent e)
      This handles the scroll and zoom buttons
      Specified by:
      actionPerformed in interface ActionListener
    • doZoomIn

      protected void doZoomIn()
    • doZoomOut

      protected void doZoomOut()
    • propertyChange

      public void propertyChange(PropertyChangeEvent evt)
      This handles the gross unit editor (the text field) changing its date range, as well as the slider changing its selected range
      Specified by:
      propertyChange in interface PropertyChangeListener
    • setBounds

      public void setBounds(int x, int y, int width, int height)
      Overrides:
      setBounds in class Component
    • getUnit

      public int getUnit()
    • setUnit

      public void setUnit(int unit)
    • setFont

      public void setFont(Font font)
      Overrides:
      setFont in class JComponent
    • setForeground

      public void setForeground(Color fg)
      Overrides:
      setForeground in class JComponent
    • setEditorForegroundColor

      public void setEditorForegroundColor(Color color)
    • getEditorForegroundColor

      public Color getEditorForegroundColor()