int function ( Point2D arg0 ) { ParamChecks . nullNotPermitted ( arg0 , "srini_string" ) ; int loc0 = getSubplotCount ( ) ; for ( int loc1 = 0 ; loc1 < loc0 ; loc1 ++ ) { PlotRenderingInfo loc2 = getSubplotInfo ( loc1 ) ; Rectangle2D loc3 = loc2 . getDataArea ( ) ; if ( loc3 . contains ( arg0 ) ) { return loc1 ; } } return - 1 ; }
returns the index of the subplot that contains the specified x , y point the `` source '' point . the source point will usually come from a mouse click on a org.jfree.chart.chartpanel , and this method is then used to determine the subplot that contains the source point . concode_field_sep ChartRenderingInfo owner concode_elem_sep long serialVersionUID concode_elem_sep List subplotInfo concode_elem_sep Rectangle2D dataArea concode_elem_sep Rectangle2D plotArea concode_field_sep PlotRenderingInfo getSubplotInfo concode_elem_sep void setPlotArea concode_elem_sep void setDataArea concode_elem_sep void writeObject concode_elem_sep void addSubplotInfo concode_elem_sep boolean equals concode_elem_sep int getSubplotCount concode_elem_sep Object clone concode_elem_sep Rectangle2D getDataArea concode_elem_sep ChartRenderingInfo getOwner concode_elem_sep Rectangle2D getPlotArea concode_elem_sep void readObject