Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 1389

Summary: com.steema.teechart.tools.CursorTool.NearestPoint must be public
Product: Java TeeChart Reporter: Dennis Fridlyand <dzianis.frydliand>
Component: AndroidAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED FIXED    
Severity: normal CC: yeray
Priority: ---    
Version: 3.2015.0108   
Target Milestone: ---   
Hardware: Tablet   
OS: Android   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description Dennis Fridlyand 2015-12-09 13:06:07 EST
I'm trying to create a subclass of com.steema.teechart.tools.CursorTool

There're public methods in this class which returns type NearestPoint. But NearestPoint class is declared as private inner class in CursorTool, so overriding methods that have NearestPoint in their signature is impossible...
Comment 1 yeray alonso 2015-12-18 06:59:54 EST
You are right.
I've modified it so the next maintenance release will include this change.
Comment 2 yeray alonso 2015-12-18 07:25:30 EST
I've made public also the method getNearestPoint(Point p) in NearestPoint.java