Package ChartDirector

Examples of ChartDirector.HotSpotAdapter


      //to demostrate clickable charts
      viewers[i].setHotSpotCursor(Cursor.getPredefinedCursor(
        Cursor.HAND_CURSOR));
     
      //Define the code to handle mouse clicks on hot spots
      viewers[i].addHotSpotListener(new HotSpotAdapter() {
        public void hotSpotClicked(HotSpotEvent e) {
          onChartClick(e);
      }});
    }   
View Full Code Here

TOP

Related Classes of ChartDirector.HotSpotAdapter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.