public class GGroundPlotPanel extends GPanel implements GListener
GPanel.Panel, GPanel.ScrollBarVisibilityGComponent.CopyPasteOperation, GComponent.DisplayIndicatorStatus, GComponent.ItemType, GComponent.OperationNAME_ATTRIBUTE| Constructor and Description |
|---|
GGroundPlotPanel()
Constructor is data are provided with
setData(List) method and not through a file. |
GGroundPlotPanel(GroundTrackDataProvider dataProvider)
Constructor for file-provided data.
|
GGroundPlotPanel(GroundTrackDataProvider dataProvider,
String widgetId)
Constructor for file-provided data.
|
GGroundPlotPanel(String widgetId)
Constructor is data are provided with
setData(List) method and not through a file. |
| Modifier and Type | Method and Description |
|---|---|
void |
after(GEvent e)
Called after the event is processed.
|
void |
before(GEvent e)
Called before the event is processed.
|
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.
|
GFreeChartXY.GFreeChartXYItem |
getItemCoordinates()
Method to get the coordinates of a drawn point.
|
GFreeChartXY.GFreeChartXYItem |
getPlaneCoordinates(boolean isSecondaryAxis)
Method to get the coordinates of the click regardless where the click is.
|
boolean |
isInteractive()
Method to know if the interactive mode is activated for the serie
|
void |
setData(List<GCoordinatesData> data)
Set data.
|
void |
setDefaultConstraints()
set the defaults constraints
|
void |
setFileFilter(GFileFilter fileFilter)
Set the file filter.
|
void |
setInteractive(boolean isInteractive)
Method to set the plot interactive or not
|
void |
setInteractivePrecision(double eps)
Method to set the precision for interactive plots
|
clearConstraint, getClassConstraint, getComponent, getHorizontalScroll, getInnerDescendantClassConstraint, getJPanel, getJScrollPane, getLayoutConstraints, getStringClassConstraint, getVerticalScroll, mainClear, mainDisplay, processMouseWheelEvent, put, setClassConstraint, setColumnConstraints, setConstraint, setHorizontalScroll, setInnerDescendantClassConstraint, setLayoutConstraints, setMargins, setPanelConstraints, setPreferredSize, setRowConstraints, setUnitIncrement, setVerticalScroll, unputactivateConstraintsByType, 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, writeConfigItempublic GGroundPlotPanel()
setData(List) method and not through a file.
Hence no "choose file" button will be available.public GGroundPlotPanel(String widgetId)
setData(List) method and not through a file.
Hence no "choose file" button will be available.widgetId - widget IDpublic GGroundPlotPanel(GroundTrackDataProvider dataProvider)
dataProvider - data providerpublic GGroundPlotPanel(GroundTrackDataProvider dataProvider, String widgetId)
dataProvider - data providerwidgetId - widget IDpublic final void setDefaultConstraints()
GPanelsetDefaultConstraints in class GPanelpublic void display()
throws GException
GDisplaydisplay in interface GDisplayGException - in case of problem while reading the value from file.public void generic()
throws GException
GPanelgeneric in class GPanelGException - in case of problem.public void before(GEvent e) throws GException
GListenerbefore in interface GListenere - event to processed.GException - in case there is a problem managing the event.public void after(GEvent e) throws GException
GListenerafter in interface GListenere - processed event.GException - in case there is a problem managing the event.public GFreeChartXY.GFreeChartXYItem getPlaneCoordinates(boolean isSecondaryAxis)
isSecondaryAxis - We consider secondary axis unitspublic GFreeChartXY.GFreeChartXYItem getItemCoordinates()
public void setInteractive(boolean isInteractive)
isInteractive - plot will be interactive if truepublic boolean isInteractive()
public void setInteractivePrecision(double eps)
eps - precision (relative to the axis length)public void setFileFilter(GFileFilter fileFilter)
fileFilter - file filter.public void setData(List<GCoordinatesData> data)
data - list of GCoordinatesDataCopyright © 2024. All rights reserved.