/** * Removes the scale listener. * * @param sl the sl */ public void removeScaleListener(final ScaleListener sl) { OptionEventDispatcher.remove(sl); }
/** * Removes the background listener. * * @param bl the bl */ public void removeBackgroundListener(final BackgroundListener bl) { OptionEventDispatcher.remove(bl); }
/** * Adds the scale listener. * * @param sl the sl */ public void addScaleListener(final ScaleListener sl) { OptionEventDispatcher.add(sl); }
/** * Adds the background listener. * * @param bl the bl */ public void addBackgroundListener(final BackgroundListener bl) { if (bl == null) return; OptionEventDispatcher.add(bl); }