Class PMIMeter

    • 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

      Fields 
      Modifier and Type Field Description
      static int DIAL_CHORD  
      static int DIAL_CIRCLE  
      static int DIAL_PIE  
      • Fields inherited from class org.jfree.chart.ChartPanel

        DEFAULT_BUFFER_USED, DEFAULT_HEIGHT, DEFAULT_MAXIMUM_DRAW_HEIGHT, DEFAULT_MAXIMUM_DRAW_WIDTH, DEFAULT_MINIMUM_DRAW_HEIGHT, DEFAULT_MINIMUM_DRAW_WIDTH, DEFAULT_WIDTH, DEFAULT_ZOOM_TRIGGER_DISTANCE, localizationResources, PRINT_COMMAND, PROPERTIES_COMMAND, SAVE_COMMAND, ZOOM_IN_BOTH_COMMAND, ZOOM_IN_DOMAIN_COMMAND, ZOOM_IN_RANGE_COMMAND, ZOOM_OUT_BOTH_COMMAND, ZOOM_OUT_DOMAIN_COMMAND, ZOOM_OUT_RANGE_COMMAND, ZOOM_RESET_BOTH_COMMAND, ZOOM_RESET_DOMAIN_COMMAND, ZOOM_RESET_RANGE_COMMAND
      • Fields inherited from class javax.swing.JComponent

        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

        accessibleContext, 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
      • Fields inherited from interface java.awt.print.Printable

        NO_SUCH_PAGE, PAGE_EXISTS
    • Constructor Summary

      Constructors 
      Constructor Description
      PMIMeter()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      float getArcWidth()  
      java.awt.Color getDialBackground()  
      int getDialType()  
      java.awt.Color getInterval1Background()  
      double getInterval1High()  
      double getInterval1Low()  
      java.awt.Color getInterval1Outline()  
      java.awt.Color getInterval2Background()  
      double getInterval2High()  
      double getInterval2Low()  
      java.awt.Color getInterval2Outline()  
      java.awt.Color getInterval3Background()  
      double getInterval3High()  
      double getInterval3Low()  
      java.awt.Color getInterval3Outline()  
      java.awt.Color getInterval4Background()  
      double getInterval4High()  
      double getInterval4Low()  
      java.awt.Color getInterval4Outline()  
      java.awt.Color getInterval5Background()  
      double getInterval5High()  
      double getInterval5Low()  
      java.awt.Color getInterval5Outline()  
      java.awt.Font getLabelFont()  
      int getMeterAngle()  
      int getMeterAngleExtent()  
      java.awt.Color getNeedleColor()  
      float getNeedleSize()  
      java.awt.Color getNeedleStrokeColor()  
      float getNeedleStrokeSize()  
      double getOverallHigh()  
      double getOverallLow()  
      java.awt.Color getTickColor()  
      java.awt.Color getTickLabelColor()  
      java.lang.String getTickLabelFormat()  
      double getTickSize()  
      java.lang.String getUnits()  
      double getValue()  
      java.awt.Color getValueColor()  
      java.awt.Font getValueFont()  
      java.lang.String getValueLabelFormat()  
      boolean isOpaque()  
      boolean isReverseRange()  
      boolean isTicks()  
      void localeChanged​(java.util.Locale newLocale)  
      void setArcWidth​(float arcWidth)  
      void setChartBackground​(java.awt.Color color)
      Prop removed.
      void setCriticalColor​(java.awt.Color color)  
      void setCriticalHigh​(double d)  
      void setCriticalLow​(double d)  
      void setDialBackground​(java.awt.Color color)  
      void setDialType​(int i)  
      void setExtensionFunctions​(java.util.Map<java.lang.String,​ExtensionFunction> map)  
      void setInterval1Background​(java.awt.Color c)  
      void setInterval1High​(double d)  
      void setInterval1Low​(double d)  
      void setInterval1Outline​(java.awt.Color c)  
      void setInterval2Background​(java.awt.Color c)  
      void setInterval2High​(double d)  
      void setInterval2Low​(double d)  
      void setInterval2Outline​(java.awt.Color c)  
      void setInterval3Background​(java.awt.Color c)  
      void setInterval3High​(double d)  
      void setInterval3Low​(double d)  
      void setInterval3Outline​(java.awt.Color c)  
      void setInterval4Background​(java.awt.Color c)  
      void setInterval4High​(double d)  
      void setInterval4Low​(double d)  
      void setInterval4Outline​(java.awt.Color c)  
      void setInterval5Background​(java.awt.Color c)  
      void setInterval5High​(double d)  
      void setInterval5Low​(double d)  
      void setInterval5Outline​(java.awt.Color c)  
      void setLabelFont​(java.awt.Font font)  
      void setMeterAngle​(int i)  
      void setMeterAngleExtent​(int i)  
      void setNeedleColor​(java.awt.Color color)  
      void setNeedleSize​(float needleSize)  
      void setNeedleStrokeColor​(java.awt.Color needleStrokeColor)  
      void setNeedleStrokeSize​(float needleStrokeSize)  
      void setNormalColor​(java.awt.Color color)  
      void setNormalHigh​(double d)  
      void setNormalLow​(double d)  
      void setOverallHigh​(double d)  
      void setOverallLow​(double d)  
      void setReverseRange​(boolean reverseRange)  
      void setTickColor​(java.awt.Color tickColor)  
      void setTickLabelColor​(java.awt.Color tickLabelColor)  
      void setTickLabelFormat​(java.lang.String tickLabelFormat)  
      void setTicks​(boolean b)  
      void setTickSize​(double tickSize)  
      void setTitle​(java.lang.String string)
      Proprty removed.
      void setUnits​(java.lang.String string)  
      void setValue​(double d)  
      void setValueColor​(java.awt.Color valueColor)  
      void setValueFont​(java.awt.Font font)  
      void setValueLabelFormat​(java.lang.String valueLabelFormat)  
      void setWarningColor​(java.awt.Color color)  
      void setWarningHigh​(double d)  
      void setWarningLow​(double d)  
      protected void updateIntervals()  
      • Methods inherited from class org.jfree.chart.ChartPanel

        actionPerformed, addChartMouseListener, chartChanged, chartProgress, doEditChartProperties, getAnchor, getChart, getChartRenderingInfo, getDefaultDirectoryForSaveAs, getDismissDelay, getEntityForPoint, getFillZoomRectangle, getHorizontalAxisTrace, getHorizontalTraceLine, getInitialDelay, getListeners, getMaximumDrawHeight, getMaximumDrawWidth, getMinimumDrawHeight, getMinimumDrawWidth, getPopupMenu, getRefreshBuffer, getReshowDelay, getScaleX, getScaleY, getScreenDataArea, getScreenDataArea, getVerticalAxisTrace, getVerticalTraceLine, getZoomAroundAnchor, getZoomInFactor, getZoomOutFactor, getZoomTriggerDistance, isDomainZoomable, isEnforceFileExtensions, isRangeZoomable, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, print, removeChartMouseListener, restoreAutoBounds, restoreAutoDomainBounds, restoreAutoRangeBounds, scale, setAnchor, setChart, setDefaultDirectoryForSaveAs, setDismissDelay, setDisplayToolTips, setDomainZoomable, setEnforceFileExtensions, setFillZoomRectangle, setHorizontalAxisTrace, setHorizontalTraceLine, setInitialDelay, setMaximumDrawHeight, setMaximumDrawWidth, setMinimumDrawHeight, setMinimumDrawWidth, setMouseZoomable, setMouseZoomable, setPopupMenu, setRangeZoomable, setRefreshBuffer, setReshowDelay, setVerticalAxisTrace, setVerticalTraceLine, setZoomAroundAnchor, setZoomInFactor, setZoomOutFactor, setZoomTriggerDistance, translateJava2DToScreen, translateScreenToJava2D, updateUI, zoom, zoomInBoth, zoomInDomain, zoomInRange, zoomOutBoth, zoomOutDomain, zoomOutRange
      • Methods inherited from class javax.swing.JPanel

        getAccessibleContext, getUI, getUIClassID, paramString, setUI
      • 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, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, 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, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, 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, 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, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, 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, requestFocus, requestFocus, requestFocusInWindow, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setMixingCutoutShape, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • PMIMeter

        public PMIMeter()
    • Method Detail

      • isOpaque

        public boolean isOpaque()
        Overrides:
        isOpaque in class javax.swing.JComponent
      • updateIntervals

        protected void updateIntervals()
      • getArcWidth

        public float getArcWidth()
      • setArcWidth

        public void setArcWidth​(float arcWidth)
      • getInterval1Low

        public double getInterval1Low()
      • setInterval1Low

        public void setInterval1Low​(double d)
      • getInterval1High

        public double getInterval1High()
      • setInterval1High

        public void setInterval1High​(double d)
      • getInterval2Low

        public double getInterval2Low()
      • setInterval2Low

        public void setInterval2Low​(double d)
      • getInterval2High

        public double getInterval2High()
      • setInterval2High

        public void setInterval2High​(double d)
      • getInterval3Low

        public double getInterval3Low()
      • setInterval3Low

        public void setInterval3Low​(double d)
      • getInterval3High

        public double getInterval3High()
      • setInterval3High

        public void setInterval3High​(double d)
      • getInterval4Low

        public double getInterval4Low()
      • setInterval4Low

        public void setInterval4Low​(double d)
      • getInterval4High

        public double getInterval4High()
      • setInterval4High

        public void setInterval4High​(double d)
      • getInterval5Low

        public double getInterval5Low()
      • setInterval5Low

        public void setInterval5Low​(double d)
      • getInterval5High

        public double getInterval5High()
      • setInterval5High

        public void setInterval5High​(double d)
      • getInterval1Background

        public java.awt.Color getInterval1Background()
      • setInterval1Background

        public void setInterval1Background​(java.awt.Color c)
      • getInterval1Outline

        public java.awt.Color getInterval1Outline()
      • setInterval1Outline

        public void setInterval1Outline​(java.awt.Color c)
      • getInterval2Background

        public java.awt.Color getInterval2Background()
      • setInterval2Background

        public void setInterval2Background​(java.awt.Color c)
      • getInterval2Outline

        public java.awt.Color getInterval2Outline()
      • setInterval2Outline

        public void setInterval2Outline​(java.awt.Color c)
      • getInterval3Background

        public java.awt.Color getInterval3Background()
      • setInterval3Background

        public void setInterval3Background​(java.awt.Color c)
      • getInterval3Outline

        public java.awt.Color getInterval3Outline()
      • setInterval3Outline

        public void setInterval3Outline​(java.awt.Color c)
      • getInterval4Background

        public java.awt.Color getInterval4Background()
      • setInterval4Background

        public void setInterval4Background​(java.awt.Color c)
      • getInterval4Outline

        public java.awt.Color getInterval4Outline()
      • setInterval4Outline

        public void setInterval4Outline​(java.awt.Color c)
      • getInterval5Background

        public java.awt.Color getInterval5Background()
      • setInterval5Background

        public void setInterval5Background​(java.awt.Color c)
      • getInterval5Outline

        public java.awt.Color getInterval5Outline()
      • setInterval5Outline

        public void setInterval5Outline​(java.awt.Color c)
      • getDialType

        public int getDialType()
      • getLabelFont

        public java.awt.Font getLabelFont()
      • getMeterAngleExtent

        public int getMeterAngleExtent()
      • getMeterAngle

        public int getMeterAngle()
      • isReverseRange

        public boolean isReverseRange()
      • setReverseRange

        public void setReverseRange​(boolean reverseRange)
      • getNeedleSize

        public float getNeedleSize()
      • setNeedleSize

        public void setNeedleSize​(float needleSize)
      • getNeedleColor

        public java.awt.Color getNeedleColor()
      • getNeedleStrokeColor

        public java.awt.Color getNeedleStrokeColor()
      • setNeedleStrokeColor

        public void setNeedleStrokeColor​(java.awt.Color needleStrokeColor)
      • getNeedleStrokeSize

        public float getNeedleStrokeSize()
      • setNeedleStrokeSize

        public void setNeedleStrokeSize​(float needleStrokeSize)
      • getOverallHigh

        public double getOverallHigh()
      • getOverallLow

        public double getOverallLow()
      • getDialBackground

        public java.awt.Color getDialBackground()
      • isTicks

        public boolean isTicks()
      • getValue

        public double getValue()
      • getValueFont

        public java.awt.Font getValueFont()
      • setCriticalColor

        public void setCriticalColor​(java.awt.Color color)
      • setCriticalHigh

        public void setCriticalHigh​(double d)
      • setCriticalLow

        public void setCriticalLow​(double d)
      • setDialType

        public void setDialType​(int i)
      • setLabelFont

        public void setLabelFont​(java.awt.Font font)
      • setMeterAngleExtent

        public void setMeterAngleExtent​(int i)
      • setMeterAngle

        public void setMeterAngle​(int i)
      • setNeedleColor

        public void setNeedleColor​(java.awt.Color color)
      • setNormalColor

        public void setNormalColor​(java.awt.Color color)
      • setNormalHigh

        public void setNormalHigh​(double d)
      • setNormalLow

        public void setNormalLow​(double d)
      • setOverallHigh

        public void setOverallHigh​(double d)
      • setOverallLow

        public void setOverallLow​(double d)
      • setDialBackground

        public void setDialBackground​(java.awt.Color color)
      • setTicks

        public void setTicks​(boolean b)
      • setTitle

        public void setTitle​(java.lang.String string)
        Proprty removed. Function exists for backwards compatability.
      • setValue

        public void setValue​(double d)
      • setValueFont

        public void setValueFont​(java.awt.Font font)
      • setWarningColor

        public void setWarningColor​(java.awt.Color color)
      • setWarningHigh

        public void setWarningHigh​(double d)
      • setWarningLow

        public void setWarningLow​(double d)
      • getUnits

        public java.lang.String getUnits()
      • setUnits

        public void setUnits​(java.lang.String string)
      • setChartBackground

        public void setChartBackground​(java.awt.Color color)
        Prop removed. This is here for backwards compatibility
      • getValueColor

        public java.awt.Color getValueColor()
      • setValueColor

        public void setValueColor​(java.awt.Color valueColor)
      • getTickSize

        public double getTickSize()
      • setTickSize

        public void setTickSize​(double tickSize)
      • getTickColor

        public java.awt.Color getTickColor()
      • setTickColor

        public void setTickColor​(java.awt.Color tickColor)
      • getTickLabelColor

        public java.awt.Color getTickLabelColor()
      • setTickLabelColor

        public void setTickLabelColor​(java.awt.Color tickLabelColor)
      • getTickLabelFormat

        public java.lang.String getTickLabelFormat()
      • getValueLabelFormat

        public java.lang.String getValueLabelFormat()
      • setTickLabelFormat

        public void setTickLabelFormat​(java.lang.String tickLabelFormat)
      • setValueLabelFormat

        public void setValueLabelFormat​(java.lang.String valueLabelFormat)