Package adams.gui.visualization.instance
Class InstancePanel
- java.lang.Object
-
- java.awt.Component
-
- java.awt.Container
-
- javax.swing.JComponent
-
- javax.swing.JPanel
-
- adams.gui.core.BasePanel
-
- adams.gui.visualization.core.PaintablePanel
-
- adams.gui.visualization.container.DataContainerPanel<T,M>
-
- adams.gui.visualization.container.DataContainerPanelWithSidePanel<T,M>
-
- adams.gui.visualization.container.DataContainerPanelWithContainerList<Instance,InstanceContainerManager,InstanceContainer>
-
- adams.gui.visualization.instance.InstancePanel
-
- All Implemented Interfaces:
adams.core.CleanUpHandler,adams.core.StatusMessageHandler,adams.db.DatabaseConnectionHandler,adams.db.DatabaseConnectionProvider,adams.db.DatabaseConnectionUser,adams.event.DatabaseConnectionChangeListener,adams.gui.core.AntiAliasingSupporter,adams.gui.core.HelpSupporter,adams.gui.core.PopupMenuCustomizer<MouseEvent>,adams.gui.event.DataChangeListener,adams.gui.event.PaintListener,adams.gui.scripting.ScriptingEngineHandler,adams.gui.sendto.SendToActionSupporter,adams.gui.visualization.container.ContainerListManager<InstanceContainerManager>,adams.gui.visualization.container.ContainerListPopupMenuSupplier<InstanceContainerManager,InstanceContainer>,adams.gui.visualization.core.PaintletManager,adams.gui.visualization.core.plot.HitDetectorSupporter<InstancePointHitDetector>,adams.gui.visualization.core.plot.TipTextCustomizer,adams.gui.visualization.core.PopupMenuCustomizer,ImageObserver,MenuContainer,Serializable,EventListener,Accessible
public class InstancePanel extends adams.gui.visualization.container.DataContainerPanelWithContainerList<Instance,InstanceContainerManager,InstanceContainer> implements adams.gui.event.PaintListener, adams.gui.visualization.core.plot.TipTextCustomizer, adams.gui.core.AntiAliasingSupporter, adams.gui.visualization.core.plot.HitDetectorSupporter<InstancePointHitDetector>
A panel for displaying instances.- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
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
Fields Modifier and Type Field Description protected booleanm_AdjustToVisibleDatawhether to adjust to visible data or not.protected adams.gui.visualization.core.CoordinatesPaintletm_CoordinatesPaintletpaintlet for drawing the X-axis.protected adams.gui.chooser.SpreadSheetFileChooserm_FileChooserthe file chooser for saving a specific sequence.protected HistogramFactory.SetupDialogm_HistogramSetupthe dialog for the histogram setup.protected AbstractInstancePaintletm_InstancePaintletpaintlet for drawing the graph.protected InstancePointHitDetectorm_InstancePointHitDetectorthe hit detector for the tooltip.protected InstanceZoomOverviewPanelm_PanelZoomOverviewthe zoom overview panel.protected intm_ToolTipMaxColumnsthe maximum number of columns for the tooltip.protected intm_ToolTipMaxRowsthe maximum number of rows for the tooltip.protected adams.gui.core.Undom_Undothe undo manager.protected List<adams.gui.dialog.SpreadSheetDialog>m_ViewDialogsthe dialog for displaying a sequence.-
Fields inherited from class adams.gui.visualization.container.DataContainerPanelWithContainerList
m_ContainerList, m_ContainerListCustomizers, m_PlotCustomizers
-
Fields inherited from class adams.gui.visualization.container.DataContainerPanelWithSidePanel
m_FirstRevalidate, m_SidePanel, m_SplitPane
-
Fields inherited from class adams.gui.visualization.container.DataContainerPanel
m_DatabaseConnection, m_DataChangeListeners, m_Manager, m_PanelProperties, m_PlotPanel, m_PlotWrapperPanel, m_StatusMessageHandler, m_Title
-
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 java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
-
-
Constructor Summary
Constructors Constructor Description InstancePanel()Initializes the panel.InstancePanel(String title)Initializes the panel.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanPaint(Graphics g)Returns true if the paintlets can be executed.voidcleanUp()Cleans up data structures, frees up memory.protected InstanceContainerListcreateContainerList()Returns the container list.booleangetAdjustToVisibleData()Returns whether the display is adjusted to only the visible instances or all of them.AbstractInstancePaintletgetContainerPaintlet()Returns the paintlet used for painting the containers.AbstractInstancePaintletgetDataPaintlet()Returns the paintlet for painting the instance.protected adams.db.AbstractDatabaseConnectiongetDefaultDatabaseConnection()Returns the default database connection.InstancePointHitDetectorgetHitDetector()Returns the hit detector.weka.core.InstancesgetInstances()Returns the currently visible instances.adams.gui.scripting.AbstractScriptingEnginegetScriptingEngine()Returns the current scripting engine, can be null.adams.gui.visualization.container.AbstractContainerManagergetSequenceManager()Returns the current container manager.adams.gui.core.UndogetUndo()Returns the current undo manager, can be null.InstanceZoomOverviewPanelgetZoomOverviewPanel()Returns the zoom overview panel.protected voidinitGUI()Initializes the GUI.protected voidinitialize()Initializes the members.booleanisAntiAliasingEnabled()Returns whether anti-aliasing is used.booleanisUndoSupported()Returns whether an Undo manager is currently available.booleanisZoomOverviewPanelVisible()Returns whether the zoom overview panel is visible or not.protected InstanceContainerManagernewContainerManager()Returns the container manager to use.protected voidpostUpdate()Hook method, called after the update was performed.voidprepareUpdate()Updates the axes with the min/max of the new data.StringprocessTipText(adams.gui.visualization.core.PlotPanel panel, Point mouse, String tiptext)Processes the given tip text.voidsaveInstance(InstanceContainer cont)Saves the specified instance as spreadsheet file.voidsetAdjustToVisibleData(boolean value)Sets whether the display is adjusted to only the visible data or everything currently loaded.voidsetAntiAliasingEnabled(boolean value)Sets whether to use anti-aliasing.voidsetDataPaintlet(adams.gui.visualization.core.Paintlet value)Sets the paintlet to use for painting the data.voidsetUndo(adams.gui.core.Undo value)Sets the undo manager to use, can be null if no undo-support wanted.voidsetZoomOverviewPanelVisible(boolean value)Sets the zoom overview panel visible or hides it.voidshowHistogram(List<InstanceContainer> data)Displays the histograms for the given instances.voidstoreColorInReport(int[] indices, String name)Stores the color of the container in the report of container's data object.voidstoreValueInReport(int[] indices, adams.data.report.AbstractField field, Object value)Stores the value in the report of container's data object.booleansupportsStoreColorInReport()Returns true if storing the color in the report of container's data object is supported.booleansupportsStoreValueInReport()Returns true if storing a value in the report of container's data object is supported.voidviewInstance(InstanceContainer cont)Views the specified instance in a table.-
Methods inherited from class adams.gui.visualization.container.DataContainerPanelWithContainerList
customizePopupMenu, getActualSelectedContainerIndices, getContainerList, getContainerListPopupMenu, getSelectedContainerIndices, getTableModelContainers, getTableModelIndices, processAction, showNotes
-
Methods inherited from class adams.gui.visualization.container.DataContainerPanelWithSidePanel
getDividerLocation, getSidePanel, isSidePanelVisible, revalidate, setDividerLocation, setDividerLocation, setSidePanelVisible
-
Methods inherited from class adams.gui.visualization.container.DataContainerPanel
clearHelp, databaseConnectionStateChanged, dataChanged, finishInit, getBackgroundColor, getContainerManager, getDatabaseConnection, getForegroundColor, getHelp, getPlot, getProperties, getSendToClasses, getSendToItem, getStatusMessageHandler, getTitle, hasHelp, hasSendToItem, isHelpHtml, reset, setBackgroundColor, setContainerManager, setDatabaseConnection, setForegroundColor, setHelp, setStatusMessageHandler, setTitle, showHelp, showStatus
-
Methods inherited from class adams.gui.visualization.core.PaintablePanel
addPaintlet, canHandleFixedLabels, check, paint, painted, paintlets, performUpdate, printAll, removePaintlet, update
-
Methods inherited from class adams.gui.core.BasePanel
afterHide, afterShow, beforeHide, beforeShow, closeParent, getParentChild, getParentDialog, getParentFrame, getParentInternalFrame, getParentTitle, initFileChooser, main, printErrorMessage, printException, saveComponent, setEnabledCascade, setEnabledCascade, setParentTitle, setVisible
-
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, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, 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, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
-
-
-
-
Field Detail
-
m_InstancePaintlet
protected AbstractInstancePaintlet m_InstancePaintlet
paintlet for drawing the graph.
-
m_CoordinatesPaintlet
protected adams.gui.visualization.core.CoordinatesPaintlet m_CoordinatesPaintlet
paintlet for drawing the X-axis.
-
m_Undo
protected adams.gui.core.Undo m_Undo
the undo manager.
-
m_AdjustToVisibleData
protected boolean m_AdjustToVisibleData
whether to adjust to visible data or not.
-
m_InstancePointHitDetector
protected InstancePointHitDetector m_InstancePointHitDetector
the hit detector for the tooltip.
-
m_ToolTipMaxColumns
protected int m_ToolTipMaxColumns
the maximum number of columns for the tooltip.
-
m_ToolTipMaxRows
protected int m_ToolTipMaxRows
the maximum number of rows for the tooltip.
-
m_PanelZoomOverview
protected InstanceZoomOverviewPanel m_PanelZoomOverview
the zoom overview panel.
-
m_FileChooser
protected adams.gui.chooser.SpreadSheetFileChooser m_FileChooser
the file chooser for saving a specific sequence.
-
m_ViewDialogs
protected List<adams.gui.dialog.SpreadSheetDialog> m_ViewDialogs
the dialog for displaying a sequence.
-
m_HistogramSetup
protected HistogramFactory.SetupDialog m_HistogramSetup
the dialog for the histogram setup.
-
-
Constructor Detail
-
InstancePanel
public InstancePanel()
Initializes the panel.
-
InstancePanel
public InstancePanel(String title)
Initializes the panel.- Parameters:
title- the title for the panel
-
-
Method Detail
-
initialize
protected void initialize()
Initializes the members.- Overrides:
initializein classadams.gui.visualization.container.DataContainerPanelWithContainerList<Instance,InstanceContainerManager,InstanceContainer>
-
getDefaultDatabaseConnection
protected adams.db.AbstractDatabaseConnection getDefaultDatabaseConnection()
Returns the default database connection.- Specified by:
getDefaultDatabaseConnectionin classadams.gui.visualization.container.DataContainerPanel<Instance,InstanceContainerManager>- Returns:
- the default database connection
-
newContainerManager
protected InstanceContainerManager newContainerManager()
Returns the container manager to use.- Specified by:
newContainerManagerin classadams.gui.visualization.container.DataContainerPanel<Instance,InstanceContainerManager>- Returns:
- the container manager
-
getContainerPaintlet
public AbstractInstancePaintlet getContainerPaintlet()
Returns the paintlet used for painting the containers.- Specified by:
getContainerPaintletin classadams.gui.visualization.container.DataContainerPanel<Instance,InstanceContainerManager>- Returns:
- the paintlet
-
getHitDetector
public InstancePointHitDetector getHitDetector()
Returns the hit detector.- Specified by:
getHitDetectorin interfaceadams.gui.visualization.core.plot.HitDetectorSupporter<InstancePointHitDetector>- Returns:
- the hit detector
-
initGUI
protected void initGUI()
Initializes the GUI.- Overrides:
initGUIin classadams.gui.visualization.container.DataContainerPanelWithContainerList<Instance,InstanceContainerManager,InstanceContainer>
-
createContainerList
protected InstanceContainerList createContainerList()
Returns the container list.- Specified by:
createContainerListin classadams.gui.visualization.container.DataContainerPanelWithContainerList<Instance,InstanceContainerManager,InstanceContainer>- Returns:
- the list
-
getSequenceManager
public adams.gui.visualization.container.AbstractContainerManager getSequenceManager()
Returns the current container manager.- Returns:
- the manager
-
setUndo
public void setUndo(adams.gui.core.Undo value)
Sets the undo manager to use, can be null if no undo-support wanted.- Parameters:
value- the undo manager to use
-
getUndo
public adams.gui.core.Undo getUndo()
Returns the current undo manager, can be null.- Returns:
- the undo manager, if any
-
isUndoSupported
public boolean isUndoSupported()
Returns whether an Undo manager is currently available.- Returns:
- true if an undo manager is set
-
canPaint
protected boolean canPaint(Graphics g)
Returns true if the paintlets can be executed.- Specified by:
canPaintin classadams.gui.visualization.core.PaintablePanel- Parameters:
g- the graphics context- Returns:
- true if painting can go ahead
-
prepareUpdate
public void prepareUpdate()
Updates the axes with the min/max of the new data.- Specified by:
prepareUpdatein classadams.gui.visualization.core.PaintablePanel
-
supportsStoreColorInReport
public boolean supportsStoreColorInReport()
Returns true if storing the color in the report of container's data object is supported.- Specified by:
supportsStoreColorInReportin classadams.gui.visualization.container.DataContainerPanelWithContainerList<Instance,InstanceContainerManager,InstanceContainer>- Returns:
- true if supported
-
storeColorInReport
public void storeColorInReport(int[] indices, String name)Stores the color of the container in the report of container's data object.- Specified by:
storeColorInReportin classadams.gui.visualization.container.DataContainerPanelWithContainerList<Instance,InstanceContainerManager,InstanceContainer>- Parameters:
indices- the indices of the containers of the container managername- the field name to use
-
supportsStoreValueInReport
public boolean supportsStoreValueInReport()
Returns true if storing a value in the report of container's data object is supported.- Specified by:
supportsStoreValueInReportin classadams.gui.visualization.container.DataContainerPanelWithContainerList<Instance,InstanceContainerManager,InstanceContainer>- Returns:
- true if supported
-
storeValueInReport
public void storeValueInReport(int[] indices, adams.data.report.AbstractField field, Object value)Stores the value in the report of container's data object.- Specified by:
storeValueInReportin classadams.gui.visualization.container.DataContainerPanelWithContainerList<Instance,InstanceContainerManager,InstanceContainer>- Parameters:
indices- the indices of the containers of the container managerfield- the field to usevalue- the value to store
-
showHistogram
public void showHistogram(List<InstanceContainer> data)
Displays the histograms for the given instances.- Parameters:
data- the instances to display
-
saveInstance
public void saveInstance(InstanceContainer cont)
Saves the specified instance as spreadsheet file.- Parameters:
cont- the instance to save
-
viewInstance
public void viewInstance(InstanceContainer cont)
Views the specified instance in a table.- Parameters:
cont- the instance to view
-
setZoomOverviewPanelVisible
public void setZoomOverviewPanelVisible(boolean value)
Sets the zoom overview panel visible or hides it.- Parameters:
value- if true then the panel is displayed
-
isZoomOverviewPanelVisible
public boolean isZoomOverviewPanelVisible()
Returns whether the zoom overview panel is visible or not.- Returns:
- true if visible
-
getZoomOverviewPanel
public InstanceZoomOverviewPanel getZoomOverviewPanel()
Returns the zoom overview panel.- Returns:
- the panel
-
setAdjustToVisibleData
public void setAdjustToVisibleData(boolean value)
Sets whether the display is adjusted to only the visible data or everything currently loaded.- Parameters:
value- if true then plot is adjusted to visible data
-
getAdjustToVisibleData
public boolean getAdjustToVisibleData()
Returns whether the display is adjusted to only the visible instances or all of them.- Returns:
- true if the plot is adjusted to only the visible data
-
getDataPaintlet
public AbstractInstancePaintlet getDataPaintlet()
Returns the paintlet for painting the instance.- Specified by:
getDataPaintletin classadams.gui.visualization.container.DataContainerPanelWithContainerList<Instance,InstanceContainerManager,InstanceContainer>- Returns:
- the paintlet
-
setDataPaintlet
public void setDataPaintlet(adams.gui.visualization.core.Paintlet value)
Sets the paintlet to use for painting the data.- Specified by:
setDataPaintletin classadams.gui.visualization.container.DataContainerPanelWithContainerList<Instance,InstanceContainerManager,InstanceContainer>- Parameters:
value- the paintlet
-
setAntiAliasingEnabled
public void setAntiAliasingEnabled(boolean value)
Sets whether to use anti-aliasing.- Specified by:
setAntiAliasingEnabledin interfaceadams.gui.core.AntiAliasingSupporter- Parameters:
value- if true then anti-aliasing is used
-
isAntiAliasingEnabled
public boolean isAntiAliasingEnabled()
Returns whether anti-aliasing is used.- Specified by:
isAntiAliasingEnabledin interfaceadams.gui.core.AntiAliasingSupporter- Returns:
- true if anti-aliasing is used
-
getInstances
public weka.core.Instances getInstances()
Returns the currently visible instances.- Returns:
- the instances, null if none visible
-
processTipText
public String processTipText(adams.gui.visualization.core.PlotPanel panel, Point mouse, String tiptext)
Processes the given tip text. Among the current mouse position, the panel that initiated the call are also provided.- Specified by:
processTipTextin interfaceadams.gui.visualization.core.plot.TipTextCustomizer- Parameters:
panel- the content panel that initiated this callmouse- the mouse positiontiptext- the tiptext so far- Returns:
- the processed tiptext
-
getScriptingEngine
public adams.gui.scripting.AbstractScriptingEngine getScriptingEngine()
Returns the current scripting engine, can be null.- Specified by:
getScriptingEnginein interfaceadams.gui.scripting.ScriptingEngineHandler- Specified by:
getScriptingEnginein classadams.gui.visualization.container.DataContainerPanel<Instance,InstanceContainerManager>- Returns:
- the current engine
-
postUpdate
protected void postUpdate()
Hook method, called after the update was performed.- Overrides:
postUpdatein classadams.gui.visualization.core.PaintablePanel
-
cleanUp
public void cleanUp()
Cleans up data structures, frees up memory.- Specified by:
cleanUpin interfaceadams.core.CleanUpHandler- Overrides:
cleanUpin classadams.gui.visualization.container.DataContainerPanelWithContainerList<Instance,InstanceContainerManager,InstanceContainer>
-
-