Class PMIThermometer
- java.lang.Object
- 
- java.awt.Component
- 
- java.awt.Container
- 
- javax.swing.JComponent
- 
- javax.swing.JPanel
- 
- org.jfree.chart.ChartPanel
- 
- com.inductiveautomation.factorypmi.application.components.chart.PMIChartPanel
- 
- com.inductiveautomation.vision.api.client.components.model.AbstractVisionChartComponent
- 
- com.inductiveautomation.factorypmi.application.components.PMIThermometer
 
 
 
 
 
 
 
 
- 
- All Implemented Interfaces:
- DynamicPropertyProvider,- LocaleListener,- MutableDynamicPropertyProvider,- StyleProvider,- ComponentLifecycle,- ExtensibleComponent,- QualityMonitor,- VisionComponent,- java.awt.event.ActionListener,- java.awt.event.MouseListener,- java.awt.event.MouseMotionListener,- java.awt.image.ImageObserver,- java.awt.MenuContainer,- java.awt.print.Printable,- java.io.Serializable,- java.util.EventListener,- javax.accessibility.Accessible,- org.jfree.chart.event.ChartChangeListener,- org.jfree.chart.event.ChartProgressListener
 
 public class PMIThermometer extends AbstractVisionChartComponent - See Also:
- Serialized Form
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class javax.swing.JPaneljavax.swing.JPanel.AccessibleJPanel
 - 
Nested classes/interfaces inherited from class javax.swing.JComponentjavax.swing.JComponent.AccessibleJComponent
 
- 
 - 
Field Summary- 
Fields inherited from class com.inductiveautomation.vision.api.client.components.model.AbstractVisionChartComponentantialias
 - 
Fields inherited from class com.inductiveautomation.factorypmi.application.components.chart.PMIChartPanelcontext, cursorCode, extensionFunctions, print, properties, save, showPopup, zoom
 - 
Fields inherited from class org.jfree.chart.ChartPanelDEFAULT_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.JComponentlistenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
 - 
Fields inherited from class java.awt.ComponentaccessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 - 
Fields inherited from interface com.inductiveautomation.vision.api.client.components.model.ComponentLifecycleCOMPONENT_RUNNING
 - 
Fields inherited from interface java.awt.image.ImageObserverABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 - 
Fields inherited from interface com.inductiveautomation.ignition.client.model.LocaleListenerLOCAL_CHANGE_EVENT
 - 
Fields inherited from interface com.inductiveautomation.vision.api.client.binding.MutableDynamicPropertyProviderRESERVED_SET_KEY
 - 
Fields inherited from interface com.inductiveautomation.vision.api.client.components.model.VisionComponentCOMPONENT_LOCKED, COMPONENT_PERMISSIONS, COMPONENT_SECURITY, COMPONENT_TRANSLATIONS
 
- 
 - 
Constructor SummaryConstructors Constructor Description PMIThermometer()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.ColorgetAxisColor()java.awt.ColorgetInterval1Color()doublegetInterval1High()doublegetInterval1Low()java.awt.ColorgetInterval2Color()doublegetInterval2High()doublegetInterval2Low()java.awt.ColorgetInterval3Color()doublegetInterval3High()doublegetInterval3Low()java.awt.ColorgetMercuryColor()doublegetOverallHigh()doublegetOverallLow()intgetStrokeWidth()java.awt.ColorgetThermometerColor()intgetUnits()doublegetValue()java.awt.ColorgetValueColor()java.awt.FontgetValueFont()booleanisFollowDataInSubranges()booleanisOpaque()booleanisUseSubrangePaint()voidlocaleChanged(java.util.Locale newLocale)voidsetAxisColor(java.awt.Color color)voidsetExtensionFunctions(java.util.Map<java.lang.String,ExtensionFunction> map)voidsetFollowDataInSubranges(boolean followDataInSubranges)voidsetInterval1Color(java.awt.Color c)voidsetInterval1High(double d)voidsetInterval1Low(double d)voidsetInterval2Color(java.awt.Color c)voidsetInterval2High(double d)voidsetInterval2Low(double d)voidsetInterval3Color(java.awt.Color c)voidsetInterval3High(double d)voidsetInterval3Low(double d)voidsetMercuryColor(java.awt.Color mercuryColor)voidsetOverallHigh(double d)voidsetOverallLow(double d)voidsetStrokeWidth(int strokeWidth)voidsetThermometerColor(java.awt.Color color)voidsetUnits(int units)voidsetUseSubrangePaint(boolean useSubrangePaint)voidsetValue(double d)voidsetValueColor(java.awt.Color valueColor)voidsetValueFont(java.awt.Font font)protected voidupdateIntervals()- 
Methods inherited from class com.inductiveautomation.vision.api.client.components.model.AbstractVisionChartComponentgetDynamicProps, getProperties, getPropertyValue, getStyles, getToolTipText, getToolTipText, initStyleListener, isPropertyDefined, paintComponent, setDynamicProps, setPropertyValue, setStyles, setToolTipText, setVisible
 - 
Methods inherited from class com.inductiveautomation.factorypmi.application.components.chart.PMIChartPanelcreateChartPrintJob, createPopupMenu, displayPopupMenu, doSaveAs, getAppContext, getCursorCode, getDataQuality, getExtensionFunctions, getQuality, getScientificNumberFormat, isAntialias, isShowPopup, onShutdown, onStartup, paintChildren, print, setAntialias, setCursorCode, setDataQuality, setName, setQuality, setShowPopup, shutdownComponent, startupComponent, translate, translateTerm, updateQuality
 - 
Methods inherited from class org.jfree.chart.ChartPanelactionPerformed, 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.JPanelgetAccessibleContext, getUI, getUIClassID, paramString, setUI
 - 
Methods inherited from class javax.swing.JComponentaddAncestorListener, 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.Containeradd, 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.Componentaction, 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.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface com.inductiveautomation.vision.api.client.components.model.ComponentLifecyclegetAppContext, shutdownComponent, startupComponent
 
- 
 
- 
- 
- 
Method Detail- 
updateIntervalsprotected void updateIntervals() 
 - 
getInterval1Lowpublic double getInterval1Low() 
 - 
setInterval1Lowpublic void setInterval1Low(double d) 
 - 
getInterval1Highpublic double getInterval1High() 
 - 
setInterval1Highpublic void setInterval1High(double d) 
 - 
getInterval2Lowpublic double getInterval2Low() 
 - 
setInterval2Lowpublic void setInterval2Low(double d) 
 - 
getInterval2Highpublic double getInterval2High() 
 - 
setInterval2Highpublic void setInterval2High(double d) 
 - 
getInterval3Lowpublic double getInterval3Low() 
 - 
setInterval3Lowpublic void setInterval3Low(double d) 
 - 
getInterval3Highpublic double getInterval3High() 
 - 
setInterval3Highpublic void setInterval3High(double d) 
 - 
getInterval1Colorpublic java.awt.Color getInterval1Color() 
 - 
setInterval1Colorpublic void setInterval1Color(java.awt.Color c) 
 - 
getInterval2Colorpublic java.awt.Color getInterval2Color() 
 - 
setInterval2Colorpublic void setInterval2Color(java.awt.Color c) 
 - 
getInterval3Colorpublic java.awt.Color getInterval3Color() 
 - 
setInterval3Colorpublic void setInterval3Color(java.awt.Color c) 
 - 
localeChangedpublic void localeChanged(java.util.Locale newLocale) - Specified by:
- localeChangedin interface- LocaleListener
- Overrides:
- localeChangedin class- PMIChartPanel
 
 - 
isOpaquepublic boolean isOpaque() - Overrides:
- isOpaquein class- javax.swing.JComponent
 
 - 
getOverallHighpublic double getOverallHigh() 
 - 
getOverallLowpublic double getOverallLow() 
 - 
getThermometerColorpublic java.awt.Color getThermometerColor() 
 - 
getAxisColorpublic java.awt.Color getAxisColor() 
 - 
getValuepublic double getValue() 
 - 
setOverallHighpublic void setOverallHigh(double d) 
 - 
setOverallLowpublic void setOverallLow(double d) 
 - 
setThermometerColorpublic void setThermometerColor(java.awt.Color color) 
 - 
setAxisColorpublic void setAxisColor(java.awt.Color color) 
 - 
setValuepublic void setValue(double d) 
 - 
getValueFontpublic java.awt.Font getValueFont() 
 - 
setValueFontpublic void setValueFont(java.awt.Font font) 
 - 
getUnitspublic int getUnits() 
 - 
setUnitspublic void setUnits(int units) 
 - 
getValueColorpublic java.awt.Color getValueColor() 
 - 
setValueColorpublic void setValueColor(java.awt.Color valueColor) 
 - 
getMercuryColorpublic java.awt.Color getMercuryColor() 
 - 
setMercuryColorpublic void setMercuryColor(java.awt.Color mercuryColor) 
 - 
isFollowDataInSubrangespublic boolean isFollowDataInSubranges() 
 - 
setFollowDataInSubrangespublic void setFollowDataInSubranges(boolean followDataInSubranges) 
 - 
isUseSubrangePaintpublic boolean isUseSubrangePaint() 
 - 
setUseSubrangePaintpublic void setUseSubrangePaint(boolean useSubrangePaint) 
 - 
getStrokeWidthpublic int getStrokeWidth() 
 - 
setStrokeWidthpublic void setStrokeWidth(int strokeWidth) 
 - 
setExtensionFunctionspublic void setExtensionFunctions(java.util.Map<java.lang.String,ExtensionFunction> map) - Specified by:
- setExtensionFunctionsin interface- ExtensibleComponent
- Overrides:
- setExtensionFunctionsin class- PMIChartPanel
 
 
- 
 
-