328329330331332333334335336337338
protected void setCurrent (Instance current) { if (_current != current) { _current = current; GroupLayer group = (GroupLayer)content; group.removeAll(); group.add(current.layer()); } } protected Instance _current; // The instance currently visible