Class VolumeProfileStudy.VPSummary
java.lang.Object
com.motivewave.platform.sdk.draw.Figure
com.motivewave.platform.sdk.profile.VolumeProfileStudy.VPSummary
- Enclosing class:
VolumeProfileStudy
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
contains
(double x, double y, DrawContext ctx) This method is called by the study framework to determine if the figure contains the x and y coordinates.void
draw
(Graphics2D gc, DrawContext ctx) This method draws the figure on the graph (using the given Graphics2D).getPopupMessage
(double x, double y, DrawContext ctx) Gets the popup message for the given (x,y) coordinate.void
layout
(DrawContext ctx) This method is called to translate any real values in the figure to the graph (represented by the DrawContext).Methods inherited from class com.motivewave.platform.sdk.draw.Figure
getBounds, isUnderlay, isVisible, setBounds, setPopupMessage, setUnderlay
-
Constructor Details
-
VPSummary
protected VPSummary()
-
-
Method Details
-
contains
Description copied from class:Figure
This method is called by the study framework to determine if the figure contains the x and y coordinates. -
getPopupMessage
Description copied from class:Figure
Gets the popup message for the given (x,y) coordinate. By default, this will return the message that is set by calling the setPopupMessage(msg) method. Override to return different messages using the x,y coordinate.- Overrides:
getPopupMessage
in classFigure
- Parameters:
x
- x coordinatey
- y coordinatectx
- Draw Context- Returns:
- popup message to display for the given (x,y) coordinate
-
layout
Description copied from class:Figure
This method is called to translate any real values in the figure to the graph (represented by the DrawContext). -
draw
Description copied from class:Figure
This method draws the figure on the graph (using the given Graphics2D). This method is called by the study framework to display the figure on the graph.
-