Package com.nuix.nx.controls
Class ReportDisplayPanel.ReportDataChangeListener
- java.lang.Object
-
- com.nuix.nx.controls.ReportDisplayPanel.ReportDataChangeListener
-
- All Implemented Interfaces:
java.beans.PropertyChangeListener
,java.util.EventListener
- Enclosing class:
- ReportDisplayPanel
public class ReportDisplayPanel.ReportDataChangeListener extends java.lang.Object implements java.beans.PropertyChangeListener
This inner class ofReportDisplayPanel
implements a PropertyChangeListener.It is non-static, so it has access to the ReportDisplayPanel's content, and uses that access to apply the changes made in the data model to the display of the content.
-
-
Constructor Summary
Constructors Constructor Description ReportDataChangeListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
propertyChange(java.beans.PropertyChangeEvent event)
Update the surroundingReportDisplayPanel
instance based on changes to the underlyingReportDataModel
.
-
-
-
Method Detail
-
propertyChange
public void propertyChange(java.beans.PropertyChangeEvent event)
Update the surroundingReportDisplayPanel
instance based on changes to the underlyingReportDataModel
.It is expected properties will come in with a name formatted to include both the Section that is being changed and the name of the particular data field being changed. The two names should be delimited with
ReportDataModel.SECTION_FIELD_DELIM
. The results of the events in this class may result in the structure of the report changing: such as new sections or fields being added, as well as updates to fields that already exist.- Specified by:
propertyChange
in interfacejava.beans.PropertyChangeListener
- Parameters:
event
- A PropertyChangeEvent object describing the event source and the property that has changed.
-
-