public class GDetachedPlotPanel extends GDetachedPanel
GPanel.Panel, GPanel.ScrollBarVisibility
GComponent.CopyPasteOperation, GComponent.DisplayIndicatorStatus, GComponent.ItemType, GComponent.Operation
NAME_ATTRIBUTE
Modifier and Type | Method and Description |
---|---|
void |
display()
Called when the element is to be displayed, so it can perform the actions required for its display, and
the display of its inmmediate descendants.
|
void |
generic()
Abstract generic function that need to be implemented by the descendants.
|
void |
setCalculatorMode()
Sets Calculator mode for the plot panel
|
void |
setDatasetPlotProperties(String datasetId,
Shape shape,
String tooltipColumnName)
Set the plot properties for a certain dataset.
|
void |
setSelectedDispFile(List<File> selectedFiles)
Set the selected file.
|
void |
setSelectedFile(File selectedFile)
Set the selected file.
|
void |
setTitle(String title)
Method to change the title of the detached panel.
|
void |
updateWithNewVar(List<ColumnInfo> info,
List<Double[]> data)
Adds new Variables to the plot panel
|
applyVisible, getJFrame, mainDisplay, setVisible, windowActivated, windowClosed, windowClosing, windowDeactivated, windowDeiconified, windowIconified, windowOpened
clearConstraint, getClassConstraint, getComponent, getHorizontalScroll, getInnerDescendantClassConstraint, getJPanel, getJScrollPane, getLayoutConstraints, getStringClassConstraint, getVerticalScroll, mainClear, processMouseWheelEvent, put, setClassConstraint, setColumnConstraints, setConstraint, setDefaultConstraints, setHorizontalScroll, setInnerDescendantClassConstraint, setLayoutConstraints, setMargins, setPanelConstraints, setPreferredSize, setRowConstraints, setUnitIncrement, setVerticalScroll, unput
activateConstraintsByType, attachCopyPasteMenu, attachCopyPasteMenu, beginOfElement, beginOfElement, beginOfElement, beginOfElement, clearAllInnerDescendantConstraint, clearInnerDescendantContraint, composeWidgetId, doDisplay, endOfElement, getCommentInConfigFile, getConstraint, getCurrentOperation, getDisplayIndicatorStatus, getDisplayIsModifiedIndicator, getElement, getGClassName, getGPanel, getGParent, getGUnitInConfigFile, getInnerDescendantConstraint, getName, getNameInConfigFile, getOperationSaveValue, getPathInConfigFile, getSimpleWidgetId, getStatus, getStringConstraint, getSubComponent, getWidgetId, handleCopyPasteEvent, handleCopyPasteEvent, handleProcessEventException, isCopyPasteEvent, isEnabled, isForcedStatus, isModified, launchInvalidPositionException, mouseWheelMoved, parseSimpleConstraint, processGEvent, setBusyCursor, setCommentInConfigFile, setCopyPasteMenuEnabled, setCurrentOperation, setDataForConstraintsByType, setDisplayIsModifiedIndicator, setElement, setEnabled, setForcedStatus, setGPanel, setGParent, setGUnitInConfigFile, setInnerDescendantConstraint, setName, setNameAndCommentInConfigFile, setNameInConfigFile, setPathInConfigFile, setStatus, setStringConstraint, setToolTipText, setWidgetId, setWidth, setWindowBusyCursor, updateIsModifiedIndicator, writeCollection, writeCollection, writeCollection, writeCollection, writeConfigItem, writeConfigItem, writeConfigItem, writeConfigItem, writeConfigItem
public void generic() throws GException
generic
in class GPanel
GException
- in case of problem.public void display() throws GException
display
in interface GDisplay
display
in class GDetachedPanel
GException
- in case of problem while reading the value from file.public void setTitle(String title)
title
- title of the detached panel.public void setSelectedFile(File selectedFile) throws GPlotDataReaderException
selectedFile
- the selected file.GPlotDataReaderException
- in case of problem loading the selected file.public void setSelectedDispFile(List<File> selectedFiles) throws GPlotDataReaderException
selectedFiles
- the selected file.GPlotDataReaderException
- in case of problem loading the selected file.public void setDatasetPlotProperties(String datasetId, Shape shape, String tooltipColumnName)
datasetId
- dataset identifier.shape
- the shape for the symbol.tooltipColumnName
- name of the column to use for the tooltips.public void setCalculatorMode()
public void updateWithNewVar(List<ColumnInfo> info, List<Double[]> data)
info
- List of column information of the new variablesdata
- List of data of the new variablesCopyright © 2024. All rights reserved.