/** * Sets the maximum width and sends an * {@link AnnotationChangeEvent} to all registered listeners. * * @param max the maximum width (0.0 or less means no maximum). */ public void setMaxWidth(double max) { this.maxWidth = max; fireAnnotationChanged(); }
/** * Sets the maximum height and sends an * {@link AnnotationChangeEvent} to all registered listeners. * * @param max the maximum height. */ public void setMaxHeight(double max) { this.maxHeight = max; fireAnnotationChanged(); }
/** * Sets the maximum width and sends an * {@link AnnotationChangeEvent} to all registered listeners. * * @param max the maximum width (0.0 or less means no maximum). */ public void setMaxWidth(double max) { this.maxWidth = max; fireAnnotationChanged(); }
/** * Sets the maximum height and sends an * {@link AnnotationChangeEvent} to all registered listeners. * * @param max the maximum height. */ public void setMaxHeight(double max) { this.maxHeight = max; fireAnnotationChanged(); }