use of com.revolsys.value.ThreadBooleanValue in project com.revolsys.open by revolsys.
the class AbstractLayer method clone.
@Override
public AbstractLayer clone() {
final AbstractLayer clone = (AbstractLayer) super.clone();
clone.beanPropertyListener = new BeanPropertyListener(clone);
clone.eventsEnabled = new ThreadBooleanValue(true);
clone.id = this.id = ID_GEN.incrementAndGet();
clone.initialized = false;
clone.layerGroup = null;
clone.propertyChangeSupport = new PropertyChangeSupport(clone);
if (clone.renderer != null) {
clone.renderer = clone.renderer.clone();
}
clone.sync = new Object();
return clone;
}
Aggregations