Code example for NumberFormat

Methods: clone

0
         
        AbstractXYItemLabelGenerator clone 
            = (AbstractXYItemLabelGenerator) super.clone(); 
 
        if (this.xFormat != null) {
            clone.xFormat = (NumberFormat) this.xFormat.clone();
        } 
         
        if (this.yFormat != null) {
            clone.yFormat = (NumberFormat) this.yFormat.clone();
        } 
         
        return clone;
         
    } 
     
}