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 class
protected class
class
This is the actual chart (extended from JFreeChart) object that is displayed as the main content of the EasyChartclass
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected boolean
protected Dataset
static final String
protected PMIEasyChart.EasyChart
protected int
static final String
static final int
static final int
static final int
static final int
static final int
static final String
static final int
static final int
static final int
static final int
static final int
static final int
static final String
protected int
protected PMIEasyChart.PenPanel
protected Dataset
static final Shape[]
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
protected Dataset
static final int
static final int
static final int
static final int
static final int
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 com.inductiveautomation.vision.api.client.components.model.ComponentLifecycle
COMPONENT_RUNNING
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
Fields inherited from interface com.inductiveautomation.ignition.client.model.LocaleListener
LOCAL_CHANGE_EVENT
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
protected PMIDateRange
protected void
protected PMIEasyChart.EasyChart
protected RealtimeDateRange
org.jfree.chart.renderer.xy.XYItemRenderer
createRenderer
(int style, PenCollection attrs) exportExcel
(String filename) Color[]
getAxes()
double
int
int
int
int
For backwards compatibility with scripts.int
int
double
int
Returns the effective poll rate.double
float
int
gethGap()
int
getHGap()
int
Returns the chart width.int
protected String
int
getPens()
int
int
protected String
int
getPropertyValue
(String name) Retrieves the data quality code.protected String
protected String
double
boolean
boolean
boolean
int
int
boolean
float
int
getTitle()
int
protected Dataset
getTranslatedPens
(Dataset penDataset) int
getUnit()
int
int
int
getvGap()
int
getVGap()
double
double
int
int
double
double
int
int
void
void
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
isOpaque()
boolean
boolean
Returns true if the mode is currently real-time, or manual with a positive poll rate, and the chart is not zoomed inboolean
isPropertyDefined
(String name) boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
void
localeChanged
(Locale newLocale) void
onPowerTableDrop
(SelectedRows rows) protected void
protected void
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)void
print()
void
void
setAllowColorChanges
(boolean allowColorChanges) void
setAllowPenManipulation
(boolean allowPenManipulation) void
setAlphabetizePens
(boolean alphabetizePens) void
setAntialias
(boolean ignored) void
setAutoApply
(boolean autoApply) void
setAutoColorList
(Color[] autoColorList) void
setAutoColorPens
(boolean autoColorPens) void
setAutoPositionAxes
(boolean autoPositionAxes) void
void
setAxisLabelFont
(Font axisLabelFont) void
setAxisTickLabelFont
(Font axisTickLabelFont) void
setBackground
(Color fg) void
setBarMargin
(double barMargin) void
setBoxFill
(Color boxFill) void
setCalcPens
(Dataset calcPens) void
setChartBorder
(Border chartBorder) void
setChartMode
(int newMode) void
setCurrentlyMaximized
(boolean currentlyMaximized) void
setCursorCode
(int cursorCode) void
setDatapoints
(int datapoints) void
setDataQuality
(int value) void
setDateRangeBorder
(Border dateRangeBorder) void
setDateRangeLocation
(int newLocation) void
setDateStyle
(int dateStyle) void
setDigitalGap
(double digitalGap) void
setEditorBackgroundColor
(Color editorBackgroundColor) void
setEditorForegroundColor
(Color color) void
setEmptyGroupName
(String emptyGroupName) void
setEndDate
(Date endDate) void
void
void
setForeground
(Color fg) void
setGapThreshold
(double gapThreshold) void
setGlobalWhereClause
(String globalWhereClause) void
setGridlineColor
(Color gridlineColor) void
setGridlineDashPattern
(String gridlineDashPattern) void
setGridlineWidth
(float gridlineWidth) void
setGroupWheres
(Map<String, String> groupWheres) void
sethGap
(int gap) void
setHGap
(int gap) void
setHighDensityColor
(Color color) void
setInvertTimeAxis
(boolean inverted) void
setLegend
(int i) void
setMaxSelectionSize
(String maxSelectionSize) void
setMode
(int mode) Forwards to the internal chart's setMode functionvoid
void
setOuterRangeEnd
(Date endDate) void
setOuterRangeStart
(Date startDate) void
setPenBorder
(Border penBorder) void
setPenControlMode
(int penControlMode) void
setPenGrouping
(boolean penGrouping) void
void
setPlotBackground
(Color color) void
setPlotOrientation
(int orientation) void
setPlotOutlineColor
(Color plotOutlineColor) void
setPollRate
(int pollRate) void
setPropertiesLoading
(int i) void
setPropertyValue
(String name, Object value) void
setQuality
(QualityCode value) Sets the current data quality to the given valuevoid
setRtLabel
(String text) void
setSelectedXValue
(String domainAnchor) void
setSelectionHighlight
(Color selectionHighlight) void
setShowHistogram
(boolean showHistogram) void
setShowLoading
(boolean showLoading) void
setShowMaximize
(boolean showMaximize) void
setShowPopup
(boolean showPopup) void
setShowPrint
(boolean showPrint) void
setShowSave
(boolean showSave) void
setShowWarnings
(boolean showWarnings) void
setStartDate
(Date startDate) void
setStartupRange
(String startupRange) void
setStartupSelection
(String startupSelection) void
setSubplotGap
(double gap) void
setSubplots
(Dataset subplots) void
setTagHistoryAllowInterpolation
(boolean value) void
setTagHistoryBypassCache
(boolean value) void
setTagHistoryIgnoreBadData
(boolean value) void
setTagHistoryResolution
(int tagHistoryResolution) void
setTagHistoryResolutionMode
(int mode) void
setTagHistoryValidateScanclass
(boolean value) void
setTagPens
(Dataset tagPens) void
setTickDensity
(float tickDensity) void
setTimeStyle
(int timeStyle) void
void
setTitleFont
(Font font) void
setTodayIndicatorColor
(Color todayIndicatorColor) void
setTooltips
(boolean b) void
setTrackMargin
(int trackMargin) void
setUnit
(int unit) void
setUnitCount
(int unitCount) void
setUtilityButtonSize
(int u) void
setvGap
(int gap) void
setVGap
(int gap) void
setVisible
(boolean visible) void
setxAxisAutoRange
(boolean axisAutoRange) void
setXAxisAutoRange
(boolean axisAutoRange) void
setxAxisLabel
(String axisLabel) void
setXAxisLabel
(String axisLabel) void
setxAxisMargin
(double axisMargin) void
setXAxisMargin
(double axisMargin) void
setxAxisVisible
(boolean xAxisVisible) void
setXAxisVisible
(boolean xAxisVisible) void
setxOffset3D
(int offset3D) void
setXOffset3D
(int offset3D) void
setxTraceLargeNumberFormat
(String xTraceLargeNumberFormat) void
setXTraceLargeNumberFormat
(String xTraceLargeNumberFormat) void
setxTraceNumberFormatThreshold
(double xTraceNumberFormatThreshold) void
setXTraceNumberFormatThreshold
(double xTraceNumberFormatThreshold) void
setxTraceSmallNumberFormat
(String xTraceSmallNumberFormat) void
setXTraceSmallNumberFormat
(String xTraceSmallNumberFormat) void
setxTraceTrackMouse
(Boolean value) void
setXTraceTrackMouse
(Boolean value) void
setyOffset3D
(int offset3D) void
setYOffset3D
(int offset3D) void
Called when the component is now shown anymore.void
startupComponent
(VisionClientContext context) Called when the component is first shown.void
protected String
protected String
translateTerm
(String term) protected void
void
updateQuality
(String propName, QualityCode quality) Updates the quality for the given property name.Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
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, 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, 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
-
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:
localeChanged
in interfaceLocaleListener
-
getToolTipText
- Overrides:
getToolTipText
in 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:
initialize
in interfaceDesignerInitializable
-
setMode
public void setMode(int mode) Forwards to the internal chart's setMode function -
setName
-
isOpaque
public boolean isOpaque()- Overrides:
isOpaque
in classJComponent
-
setVisible
public void setVisible(boolean visible) - Overrides:
setVisible
in classJComponent
-
setInvertTimeAxis
public void setInvertTimeAxis(boolean inverted) -
isInvertTimeAxis
public boolean isInvertTimeAxis() -
paintComponent
- Overrides:
paintComponent
in classJComponent
-
actionPerformed
- Specified by:
actionPerformed
in 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:
setPropertiesLoading
in interfaceLoadingMonitor
-
histogramDataUpdated
public void histogramDataUpdated() -
getPropertiesLoading
public int getPropertiesLoading()- Specified by:
getPropertiesLoading
in 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:
setFont
in classJComponent
-
setForeground
- Overrides:
setForeground
in classJComponent
-
setBackground
- Overrides:
setBackground
in 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:
getProperties
in interfaceDynamicPropertyProvider
-
getPropertyValue
- Specified by:
getPropertyValue
in interfaceDynamicPropertyProvider
-
setPropertyValue
- Specified by:
setPropertyValue
in interfaceDynamicPropertyProvider
- Throws:
ClassCastException
-
isPropertyDefined
- Specified by:
isPropertyDefined
in interfaceDynamicPropertyProvider
-
startupComponent
Description copied from interface:ComponentLifecycle
Called when the component is first shown.- Specified by:
startupComponent
in interfaceComponentLifecycle
-
shutdownComponent
public void shutdownComponent()Description copied from interface:ComponentLifecycle
Called when the component is now shown anymore. Any long-running processes should be stopped. All bindings will have also been shutdown.- Specified by:
shutdownComponent
in interfaceComponentLifecycle
-
getAppContext
- Specified by:
getAppContext
in 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:QualityMonitor
Retrieves the data quality code.- Specified by:
getQuality
in interfaceQualityMonitor
-
getDataQuality
public int getDataQuality()Description copied from interface:QualityMonitor
For 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:
getDataQuality
in interfaceQualityMonitor
-
setDataQuality
public void setDataQuality(int value) - Specified by:
setDataQuality
in interfaceQualityMonitor
-
setQuality
Description copied from interface:QualityMonitor
Sets the current data quality to the given value- Specified by:
setQuality
in interfaceQualityMonitor
-
updateQuality
Description copied from interface:QualityMonitor
Updates 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:
updateQuality
in interfaceQualityMonitor
-
paintChildren
- Overrides:
paintChildren
in classJComponent
-
resetAxes
public void resetAxes() -
getExtensionFunctions
- Specified by:
getExtensionFunctions
in interfaceExtensibleComponent
-
setExtensionFunctions
- Specified by:
setExtensionFunctions
in interfaceExtensibleComponent
-
onPowerTableDrop
-