/** * Set the record that owns this listener. * This method caches the current key values. * @param owner My owner. */ public void setOwner(ListenerOwner owner) { if (owner != null) if (m_buffer == null) { // Save the current key KeyArea keyArea = ((Record)owner).getKeyArea(-1); m_buffer = new VectorBuffer(null); keyArea.setupKeyBuffer(m_buffer, DBConstants.FILE_KEY_AREA); } super.setOwner(owner); } /**
/** * Set the record that owns this listener. * This method caches the current key values. * @param owner My owner. */ public void setOwner(ListenerOwner owner) { if (owner != null) if (m_buffer == null) { // Save the current key KeyArea keyArea = ((Record)owner).getKeyArea(-1); m_buffer = new VectorBuffer(null); keyArea.setupKeyBuffer(m_buffer, DBConstants.FILE_KEY_AREA); } super.setOwner(owner); } /**
/** * Set the record that owns this listener. * This method caches the current key values. * @param owner My owner. */ public void setOwner(ListenerOwner owner) { if (owner != null) if (m_buffer == null) { // Save the current key KeyArea keyArea = ((Record)owner).getKeyArea(-1); m_buffer = new VectorBuffer(null); keyArea.setupKeyBuffer(m_buffer, DBConstants.FILE_KEY_AREA); } super.setOwner(owner); } /**
super.setOwner(owner); if (owner == null) return;
super.setOwner(owner); if (owner == null) return;
super.setOwner(owner); if (owner == null) return;