Class PMIEasyChart
java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
com.inductiveautomation.factorypmi.application.components.PMIEasyChart
- All Implemented Interfaces:
DynamicPropertyProvider,LoadingMonitor,LocaleListener,ComponentLifecycle,DesignerInitializable,ExtensibleComponent,QualityMonitor,ActionListener,ImageObserver,MenuContainer,Serializable,EventListener,Accessible
public class PMIEasyChart
extends JPanel
implements DesignerInitializable, LoadingMonitor, ActionListener, LocaleListener, DynamicPropertyProvider, ComponentLifecycle, QualityMonitor, ExtensibleComponent
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classprotected classclassThis is the actual chart (extended from JFreeChart) object that is displayed as the main content of the EasyChartclassNested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanelNested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponentNested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainerNested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected Datasetstatic final Stringprotected PMIEasyChart.EasyChartprotected intstatic final Stringstatic final intstatic final intstatic final intstatic final intstatic final intstatic final Stringstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final Stringprotected intprotected PMIEasyChart.PenPanelprotected Datasetstatic final Shape[]static final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intprotected Datasetstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class javax.swing.JComponent
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOWFields inherited from class java.awt.Component
accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTFields inherited from interface com.inductiveautomation.vision.api.client.components.model.ComponentLifecycle
COMPONENT_RUNNINGFields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTHFields inherited from interface com.inductiveautomation.ignition.client.model.LocaleListener
LOCAL_CHANGE_EVENT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanprotected PMIDateRangeprotected voidprotected PMIEasyChart.EasyChartprotected RealtimeDateRangeorg.jfree.chart.renderer.xy.XYItemRenderercreateRenderer(int style, PenCollection attrs) exportExcel(String filename) Color[]getAxes()doubleintintintintFor backwards compatibility with scripts.intintdoubleintReturns the effective poll rate.doublefloatintgethGap()intgetHGap()intReturns the chart width.intprotected StringintgetPens()intintprotected StringintgetPropertyValue(String name) Retrieves the data quality code.protected Stringprotected StringdoublebooleanbooleanbooleanintintbooleanfloatintgetTitle()intprotected DatasetgetTranslatedPens(Dataset penDataset) intgetUnit()intintintgetvGap()intgetVGap()doubledoubleintintdoubledoubleintintvoidvoidbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanisOpaque()booleanbooleanReturns true if the mode is currently real-time, or manual with a positive poll rate, and the chart is not zoomed inbooleanisPropertyDefined(String name) booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanvoidlocaleChanged(Locale newLocale) voidonPowerTableDrop(SelectedRows rows) protected voidprotected voidCreates a new Iterator<Pen> that will return all Pen objects represented by the three dataset fields: pens (db pens) tagPens (SQLTags history pens) calcPens (calculated pens)voidprint()voidvoidsetAllowColorChanges(boolean allowColorChanges) voidsetAllowPenManipulation(boolean allowPenManipulation) voidsetAlphabetizePens(boolean alphabetizePens) voidsetAntialias(boolean ignored) voidsetAutoApply(boolean autoApply) voidsetAutoColorList(Color[] autoColorList) voidsetAutoColorPens(boolean autoColorPens) voidsetAutoPositionAxes(boolean autoPositionAxes) voidvoidsetAxisLabelFont(Font axisLabelFont) voidsetAxisTickLabelFont(Font axisTickLabelFont) voidsetBackground(Color fg) voidsetBarMargin(double barMargin) voidsetBoxFill(Color boxFill) voidsetCalcPens(Dataset calcPens) voidsetChartBorder(Border chartBorder) voidsetChartMode(int newMode) voidsetCurrentlyMaximized(boolean currentlyMaximized) voidsetCursorCode(int cursorCode) voidsetDatapoints(int datapoints) voidsetDataQuality(int value) voidsetDateRangeBorder(Border dateRangeBorder) voidsetDateRangeLocation(int newLocation) voidsetDateStyle(int dateStyle) voidsetDigitalGap(double digitalGap) voidsetEditorBackgroundColor(Color editorBackgroundColor) voidsetEditorForegroundColor(Color color) voidsetEmptyGroupName(String emptyGroupName) voidsetEndDate(Date endDate) voidvoidvoidsetForeground(Color fg) voidsetGapThreshold(double gapThreshold) voidsetGlobalWhereClause(String globalWhereClause) voidsetGridlineColor(Color gridlineColor) voidsetGridlineDashPattern(String gridlineDashPattern) voidsetGridlineWidth(float gridlineWidth) voidsetGroupWheres(Map<String, String> groupWheres) voidsethGap(int gap) voidsetHGap(int gap) voidsetHighDensityColor(Color color) voidsetInvertTimeAxis(boolean inverted) voidsetLegend(int i) voidsetMaxSelectionSize(String maxSelectionSize) voidsetMode(int mode) Forwards to the internal chart's setMode functionvoidvoidsetOuterRangeEnd(Date endDate) voidsetOuterRangeStart(Date startDate) voidsetPenBorder(Border penBorder) voidsetPenControlMode(int penControlMode) voidsetPenGrouping(boolean penGrouping) voidvoidsetPlotBackground(Color color) voidsetPlotOrientation(int orientation) voidsetPlotOutlineColor(Color plotOutlineColor) voidsetPollRate(int pollRate) voidsetPropertiesLoading(int i) voidsetPropertyValue(String name, Object value) voidsetQuality(QualityCode value) Sets the current data quality to the given valuevoidsetRtLabel(String text) voidsetSelectedXValue(String domainAnchor) voidsetSelectionHighlight(Color selectionHighlight) voidsetShowHistogram(boolean showHistogram) voidsetShowLoading(boolean showLoading) voidsetShowMaximize(boolean showMaximize) voidsetShowPopup(boolean showPopup) voidsetShowPrint(boolean showPrint) voidsetShowSave(boolean showSave) voidsetShowWarnings(boolean showWarnings) voidsetStartDate(Date startDate) voidsetStartupRange(String startupRange) voidsetStartupSelection(String startupSelection) voidsetSubplotGap(double gap) voidsetSubplots(Dataset subplots) voidsetTagHistoryAllowInterpolation(boolean value) voidsetTagHistoryBypassCache(boolean value) voidsetTagHistoryIgnoreBadData(boolean value) voidsetTagHistoryResolution(int tagHistoryResolution) voidsetTagHistoryResolutionMode(int mode) voidsetTagHistoryValidateScanclass(boolean value) voidsetTagPens(Dataset tagPens) voidsetTickDensity(float tickDensity) voidsetTimeStyle(int timeStyle) voidvoidsetTitleFont(Font font) voidsetTodayIndicatorColor(Color todayIndicatorColor) voidsetTooltips(boolean b) voidsetTrackMargin(int trackMargin) voidsetUnit(int unit) voidsetUnitCount(int unitCount) voidsetUtilityButtonSize(int u) voidsetvGap(int gap) voidsetVGap(int gap) voidsetVisible(boolean visible) voidsetxAxisAutoRange(boolean axisAutoRange) voidsetXAxisAutoRange(boolean axisAutoRange) voidsetxAxisLabel(String axisLabel) voidsetXAxisLabel(String axisLabel) voidsetxAxisMargin(double axisMargin) voidsetXAxisMargin(double axisMargin) voidsetxAxisVisible(boolean xAxisVisible) voidsetXAxisVisible(boolean xAxisVisible) voidsetxOffset3D(int offset3D) voidsetXOffset3D(int offset3D) voidsetxTraceLargeNumberFormat(String xTraceLargeNumberFormat) voidsetXTraceLargeNumberFormat(String xTraceLargeNumberFormat) voidsetxTraceNumberFormatThreshold(double xTraceNumberFormatThreshold) voidsetXTraceNumberFormatThreshold(double xTraceNumberFormatThreshold) voidsetxTraceSmallNumberFormat(String xTraceSmallNumberFormat) voidsetXTraceSmallNumberFormat(String xTraceSmallNumberFormat) voidsetxTraceTrackMouse(Boolean value) voidsetXTraceTrackMouse(Boolean value) voidsetyOffset3D(int offset3D) voidsetYOffset3D(int offset3D) voidCalled when the component is now shown anymore.voidstartupComponent(VisionClientContext context) Called when the component is first shown.voidprotected Stringprotected StringtranslateTerm(String term) protected voidvoidupdateQuality(String propName, QualityCode quality) Updates the quality for the given property name.Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUIMethods 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, 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, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, unregisterKeyboardAction, updateMethods 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, validateTreeMethods 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
-
Field Details
-
DYNAMIC_GROUP_PREFIX
- See Also:
-
AXES_LABEL_FORMAT
- See Also:
-
PEN_LABEL_FORMAT
- See Also:
-
GROUP_LABEL_FORMAT
- See Also:
-
STYLE_LINE
public static final int STYLE_LINE- See Also:
-
STYLE_LINE_DISCONTINUOUS
public static final int STYLE_LINE_DISCONTINUOUS- See Also:
-
STYLE_3D_LINE
public static final int STYLE_3D_LINE- See Also:
-
STYLE_AREA
public static final int STYLE_AREA- See Also:
-
STYLE_STEP
public static final int STYLE_STEP- See Also:
-
STYLE_STEP_AREA
public static final int STYLE_STEP_AREA- See Also:
-
STYLE_SHAPE
public static final int STYLE_SHAPE- See Also:
-
STYLE_LINE_AND_SHAPE
public static final int STYLE_LINE_AND_SHAPE- See Also:
-
STYLE_DOT
public static final int STYLE_DOT- See Also:
-
STYLE_BAR
public static final int STYLE_BAR- See Also:
-
STYLE_BAR_NO_SHADOW
public static final int STYLE_BAR_NO_SHADOW- See Also:
-
EDGE_TOP
public static final int EDGE_TOP- See Also:
-
EDGE_BOTTOM
public static final int EDGE_BOTTOM- See Also:
-
EDGE_LEFT
public static final int EDGE_LEFT- See Also:
-
EDGE_RIGHT
public static final int EDGE_RIGHT- See Also:
-
EDGE_NONE
public static final int EDGE_NONE- See Also:
-
MODE_MANUAL
public static final int MODE_MANUAL- See Also:
-
MODE_HISTORICAL
public static final int MODE_HISTORICAL- See Also:
-
MODE_REALTIME
public static final int MODE_REALTIME- See Also:
-
PEN_CONTROL_HEAVY
public static final int PEN_CONTROL_HEAVY- See Also:
-
PEN_CONTROL_LIGHT
public static final int PEN_CONTROL_LIGHT- See Also:
-
VERTICAL_PLOT
public static final int VERTICAL_PLOT- See Also:
-
HORIZONTAL_PLOT
public static final int HORIZONTAL_PLOT- See Also:
-
TAG_RESOLUTION_FIXED
public static final int TAG_RESOLUTION_FIXED- See Also:
-
TAG_RESOLUTION_RAW
public static final int TAG_RESOLUTION_RAW- See Also:
-
TAG_RESOLUTION_NATURAL
public static final int TAG_RESOLUTION_NATURAL- See Also:
-
TAG_RESOLUTION_CHART
public static final int TAG_RESOLUTION_CHART- See Also:
-
SHAPE_LIST
-
pens
-
axes
-
subplots
-
penControlMode
protected int penControlMode -
antialias
protected boolean antialias -
chart
-
penPanel
-
cursorCode
protected int cursorCode
-
-
Constructor Details
-
PMIEasyChart
public PMIEasyChart()
-
-
Method Details
-
translate
-
translateTerm
-
createRealtimeDateRange
-
createEasyChart
-
createDateRange
-
createDropTargetListener
protected void createDropTargetListener() -
localeChanged
- Specified by:
localeChangedin interfaceLocaleListener
-
getToolTipText
- Overrides:
getToolTipTextin classJComponent
-
getMaximizeText
-
getRestoreText
-
getPrintText
-
getSaveText
-
isPolling
public boolean isPolling()Returns true if the mode is currently real-time, or manual with a positive poll rate, and the chart is not zoomed in -
couldPoll
public boolean couldPoll() -
getEffectivePollRate
public int getEffectivePollRate()Returns the effective poll rate. This will be zero if isPolling() returns false, or the poll rate with a lower bound of 250ms if we are currently polling. -
initialize
public void initialize()- Specified by:
initializein interfaceDesignerInitializable
-
setMode
public void setMode(int mode) Forwards to the internal chart's setMode function -
setName
-
isOpaque
public boolean isOpaque()- Overrides:
isOpaquein classJComponent
-
setVisible
public void setVisible(boolean visible) - Overrides:
setVisiblein classJComponent
-
setInvertTimeAxis
public void setInvertTimeAxis(boolean inverted) -
isInvertTimeAxis
public boolean isInvertTimeAxis() -
paintComponent
- Overrides:
paintComponentin classJComponent
-
actionPerformed
- Specified by:
actionPerformedin interfaceActionListener
-
exportExcel
-
exportExcel
-
exportDatasets
-
print
public void print() -
createRenderer
-
toggleMaximized
public void toggleMaximized() -
updateConfig
protected void updateConfig() -
penIterator
Creates a new Iterator<Pen> that will return all Pen objects represented by the three dataset fields:- pens (db pens)
- tagPens (SQLTags history pens)
- calcPens (calculated pens)
-
isAllowPenManipulation
public boolean isAllowPenManipulation() -
setAllowPenManipulation
public void setAllowPenManipulation(boolean allowPenManipulation) -
isAllowColorChanges
public boolean isAllowColorChanges() -
setAllowColorChanges
public void setAllowColorChanges(boolean allowColorChanges) -
getChartMode
public int getChartMode() -
setChartMode
public void setChartMode(int newMode) -
getDateRangeLocation
public int getDateRangeLocation() -
setDateRangeLocation
public void setDateRangeLocation(int newLocation) -
getDateRangeBorder
-
setDateRangeBorder
-
getDateRange
-
getRtDateRange
-
getPenBorder
-
setPenBorder
-
getChartBorder
-
setChartBorder
-
getTranslatedPens
-
getPens
-
setPens
-
getTagPens
-
setTagPens
-
getCalcPens
-
setCalcPens
-
setLegend
public void setLegend(int i) -
getLegend
public int getLegend() -
getDateStyle
public int getDateStyle() -
setDateStyle
public void setDateStyle(int dateStyle) -
getTimeStyle
public int getTimeStyle() -
setTimeStyle
public void setTimeStyle(int timeStyle) -
setTooltips
public void setTooltips(boolean b) -
isTooltips
public boolean isTooltips() -
getSelectedXValue
-
setSelectedXValue
-
getBoxFill
-
getHighDensityColor
-
getSelectionHighlight
-
getTickDensity
public float getTickDensity() -
getTodayIndicatorColor
-
getTrackMargin
public int getTrackMargin() -
setBoxFill
-
setHighDensityColor
-
setSelectionHighlight
-
getBarMargin
public double getBarMargin() -
setBarMargin
public void setBarMargin(double barMargin) -
getCursorCode
public int getCursorCode() -
setCursorCode
public void setCursorCode(int cursorCode) -
getGapThreshold
public double getGapThreshold() -
getHorizontalResolution
public int getHorizontalResolution()Returns the chart width. -
getTagHistoryResolution
public int getTagHistoryResolution() -
setTagHistoryResolution
public void setTagHistoryResolution(int tagHistoryResolution) -
getTagHistoryResolutionMode
public int getTagHistoryResolutionMode() -
setTagHistoryResolutionMode
public void setTagHistoryResolutionMode(int mode) -
getTagHistoryAllowInterpolation
public boolean getTagHistoryAllowInterpolation() -
setTagHistoryAllowInterpolation
public void setTagHistoryAllowInterpolation(boolean value) -
getTagHistoryValidateScanclass
public boolean getTagHistoryValidateScanclass() -
setTagHistoryValidateScanclass
public void setTagHistoryValidateScanclass(boolean value) -
getTagHistoryIgnoreBadData
public boolean getTagHistoryIgnoreBadData() -
setTagHistoryIgnoreBadData
public void setTagHistoryIgnoreBadData(boolean value) -
getTagHistoryBypassCache
public boolean getTagHistoryBypassCache() -
setTagHistoryBypassCache
public void setTagHistoryBypassCache(boolean value) -
setPlotOrientation
public void setPlotOrientation(int orientation) -
setPenControlMode
public void setPenControlMode(int penControlMode) -
getPlotOrientation
public int getPlotOrientation() -
getPenControlMode
public int getPenControlMode() -
setGapThreshold
public void setGapThreshold(double gapThreshold) -
getDigitalGap
public double getDigitalGap() -
setDigitalGap
public void setDigitalGap(double digitalGap) -
getXOffset3D
public int getXOffset3D() -
getxOffset3D
public int getxOffset3D() -
setXOffset3D
public void setXOffset3D(int offset3D) -
setxOffset3D
public void setxOffset3D(int offset3D) -
getYOffset3D
public int getYOffset3D() -
getyOffset3D
public int getyOffset3D() -
setYOffset3D
public void setYOffset3D(int offset3D) -
setyOffset3D
public void setyOffset3D(int offset3D) -
setTickDensity
public void setTickDensity(float tickDensity) -
setTodayIndicatorColor
-
setTrackMargin
public void setTrackMargin(int trackMargin) -
getMaxSelectionSize
-
getOuterRangeStart
-
setOuterRangeStart
-
getOuterRangeEnd
-
setOuterRangeEnd
-
getStartupRange
-
getStartupSelection
-
setStartupRange
-
setStartupSelection
-
setMaxSelectionSize
-
getPlotBackground
-
setPlotBackground
-
getEditorForegroundColor
-
setEditorForegroundColor
-
getEditorBackgroundColor
-
setEditorBackgroundColor
-
getGridlineColor
-
getGridlineDashPattern
-
getGridlineWidth
public float getGridlineWidth() -
isShowPopup
public boolean isShowPopup() -
setShowPopup
public void setShowPopup(boolean showPopup) -
setGridlineColor
-
setGridlineDashPattern
-
setGridlineWidth
public void setGridlineWidth(float gridlineWidth) -
getTitle
-
setTitle
-
getTitleFont
-
setTitleFont
-
setPropertiesLoading
public void setPropertiesLoading(int i) - Specified by:
setPropertiesLoadingin interfaceLoadingMonitor
-
histogramDataUpdated
public void histogramDataUpdated() -
getPropertiesLoading
public int getPropertiesLoading()- Specified by:
getPropertiesLoadingin interfaceLoadingMonitor
-
getAxes
-
setAxes
-
getPollRate
public int getPollRate() -
setPollRate
public void setPollRate(int pollRate) -
getGlobalWhereClause
-
setGlobalWhereClause
-
getEndDate
-
setEndDate
-
getStartDate
-
getZoomedStartDate
-
getZoomedEndDate
-
setStartDate
-
getHistogramStartDate
-
getHistogramEndDate
-
isShowHistogram
public boolean isShowHistogram() -
setShowHistogram
public void setShowHistogram(boolean showHistogram) -
isShowWarnings
public boolean isShowWarnings() -
setShowWarnings
public void setShowWarnings(boolean showWarnings) -
isShowLoading
public boolean isShowLoading() -
setShowLoading
public void setShowLoading(boolean showLoading) -
getXAxisLabel
-
getxAxisLabel
-
setXAxisLabel
-
setxAxisLabel
-
isXAxisVisible
public boolean isXAxisVisible() -
isxAxisVisible
public boolean isxAxisVisible() -
setXAxisVisible
public void setXAxisVisible(boolean xAxisVisible) -
setxAxisVisible
public void setxAxisVisible(boolean xAxisVisible) -
getSubplots
-
setSubplots
-
getAxisLabelFont
-
setAxisLabelFont
-
getAxisTickLabelFont
-
setAxisTickLabelFont
-
getPlotOutlineColor
-
setPlotOutlineColor
-
getDatapoints
public int getDatapoints() -
setDatapoints
public void setDatapoints(int datapoints) -
isAutoPositionAxes
public boolean isAutoPositionAxes() -
setAutoPositionAxes
public void setAutoPositionAxes(boolean autoPositionAxes) -
getAutoColorList
-
setAutoColorList
-
isAutoColorPens
public boolean isAutoColorPens() -
setAutoColorPens
public void setAutoColorPens(boolean autoColorPens) -
isAntialias
public boolean isAntialias() -
setAntialias
public void setAntialias(boolean ignored) -
setFont
- Overrides:
setFontin classJComponent
-
setForeground
- Overrides:
setForegroundin classJComponent
-
setBackground
- Overrides:
setBackgroundin classJComponent
-
isPenGrouping
public boolean isPenGrouping() -
setPenGrouping
public void setPenGrouping(boolean penGrouping) -
isAlphabetizePens
public boolean isAlphabetizePens() -
setAlphabetizePens
public void setAlphabetizePens(boolean alphabetizePens) -
isAutoApply
public boolean isAutoApply() -
setAutoApply
public void setAutoApply(boolean autoApply) -
getEmptyGroupName
-
setEmptyGroupName
-
getUnit
public int getUnit() -
setUnit
public void setUnit(int unit) -
getUnitCount
public int getUnitCount() -
setUnitCount
public void setUnitCount(int unitCount) -
getRtLabel
-
setRtLabel
-
getHGap
public int getHGap() -
gethGap
public int gethGap() -
setHGap
public void setHGap(int gap) -
sethGap
public void sethGap(int gap) -
getVGap
public int getVGap() -
getvGap
public int getvGap() -
setVGap
public void setVGap(int gap) -
setvGap
public void setvGap(int gap) -
getSubplotGap
public double getSubplotGap() -
setSubplotGap
public void setSubplotGap(double gap) -
isCurrentlyMaximized
public boolean isCurrentlyMaximized() -
setCurrentlyMaximized
public void setCurrentlyMaximized(boolean currentlyMaximized) -
isShowMaximize
public boolean isShowMaximize() -
setShowMaximize
public void setShowMaximize(boolean showMaximize) -
isShowPrint
public boolean isShowPrint() -
setShowPrint
public void setShowPrint(boolean showPrint) -
isShowSave
public boolean isShowSave() -
setShowSave
public void setShowSave(boolean showSave) -
getUtilityButtonSize
public int getUtilityButtonSize() -
setUtilityButtonSize
public void setUtilityButtonSize(int u) -
getGroupWheres
-
setGroupWheres
-
getProperties
- Specified by:
getPropertiesin interfaceDynamicPropertyProvider
-
getPropertyValue
- Specified by:
getPropertyValuein interfaceDynamicPropertyProvider
-
setPropertyValue
- Specified by:
setPropertyValuein interfaceDynamicPropertyProvider- Throws:
ClassCastException
-
isPropertyDefined
- Specified by:
isPropertyDefinedin interfaceDynamicPropertyProvider
-
startupComponent
Description copied from interface:ComponentLifecycleCalled when the component is first shown.- Specified by:
startupComponentin interfaceComponentLifecycle
-
shutdownComponent
public void shutdownComponent()Description copied from interface:ComponentLifecycleCalled when the component is now shown anymore. Any long-running processes should be stopped. All bindings will have also been shutdown.- Specified by:
shutdownComponentin interfaceComponentLifecycle
-
getAppContext
- Specified by:
getAppContextin interfaceComponentLifecycle
-
isXAxisAutoRange
public boolean isXAxisAutoRange() -
isxAxisAutoRange
public boolean isxAxisAutoRange() -
setXAxisAutoRange
public void setXAxisAutoRange(boolean axisAutoRange) -
setxAxisAutoRange
public void setxAxisAutoRange(boolean axisAutoRange) -
getXAxisMargin
public double getXAxisMargin() -
getxAxisMargin
public double getxAxisMargin() -
setXAxisMargin
public void setXAxisMargin(double axisMargin) -
setxAxisMargin
public void setxAxisMargin(double axisMargin) -
getXTraceNumberFormatThreshold
public double getXTraceNumberFormatThreshold() -
getxTraceNumberFormatThreshold
public double getxTraceNumberFormatThreshold() -
setXTraceNumberFormatThreshold
public void setXTraceNumberFormatThreshold(double xTraceNumberFormatThreshold) -
setxTraceNumberFormatThreshold
public void setxTraceNumberFormatThreshold(double xTraceNumberFormatThreshold) -
getXTraceLargeNumberFormat
-
getxTraceLargeNumberFormat
-
setXTraceLargeNumberFormat
-
setxTraceLargeNumberFormat
-
getXTraceSmallNumberFormat
-
getxTraceSmallNumberFormat
-
setXTraceSmallNumberFormat
-
setxTraceSmallNumberFormat
-
setXTraceTrackMouse
-
setxTraceTrackMouse
-
getXTraceTrackMouse
-
getxTraceTrackMouse
-
getQuality
Description copied from interface:QualityMonitorRetrieves the data quality code.- Specified by:
getQualityin interfaceQualityMonitor
-
getDataQuality
public int getDataQuality()Description copied from interface:QualityMonitorFor backwards compatibility with scripts. Would be awesome if this could just be a default method, but there's a bug (JDK-8071693) that makes that not work with property introspection.- Specified by:
getDataQualityin interfaceQualityMonitor
-
setDataQuality
public void setDataQuality(int value) - Specified by:
setDataQualityin interfaceQualityMonitor
-
setQuality
Description copied from interface:QualityMonitorSets the current data quality to the given value- Specified by:
setQualityin interfaceQualityMonitor
-
updateQuality
Description copied from interface:QualityMonitorUpdates the quality for the given property name. The monitor will then evaluate a new quality based on the quality of its other properties. Overall, the worst quality is chosen.- Specified by:
updateQualityin interfaceQualityMonitor
-
paintChildren
- Overrides:
paintChildrenin classJComponent
-
resetAxes
public void resetAxes() -
getExtensionFunctions
- Specified by:
getExtensionFunctionsin interfaceExtensibleComponent
-
setExtensionFunctions
- Specified by:
setExtensionFunctionsin interfaceExtensibleComponent
-
onPowerTableDrop
-