cst.loggingTool.presentationLayer.reports
Class RecordSelectionCriteriaPanel

java.lang.Object
  extended by cst.loggingTool.presentationLayer.reports.RecordSelectionCriteriaPanel
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener

public class RecordSelectionCriteriaPanel
extends java.lang.Object
implements java.awt.event.ActionListener

Manages the section of the ActivityStepReportsViewer which lets the users specify which records to include in the reports.

Users may select any combination of the following two filters:

If no filter is selected, then records are included which have a non-blank date value for a selected activity step.


 Copyright 2010 Medical Research Council Unit for Lifelong Health and Ageing
 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at
      http://www.apache.org/licenses/LICENSE-2.0
 Unless required by applicable law or agreed to in writing, software 
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.  
 

Version:
1.0
Author:
Kevin Garwood (kgarwood@users.sourceforge.net)

Constructor Summary
RecordSelectionCriteriaPanel(SessionProperties sessionProperties)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent event)
           
 boolean bothFiltersSelected()
           
 void commitChanges()
           
 java.util.Date getBeginDate()
           
 java.lang.String getBetweenDatesFilterDescription()
           
 java.util.Date getEndDate()
           
 javax.swing.JPanel getPanel()
           
 java.lang.String getSubjectAttributeDisplayName()
           
 java.lang.String getSubjectAttributeFilterDescription()
           
 java.lang.String getSubjectAttributeStorageName()
           
 java.lang.String getSubjectAttributeValue()
           
 boolean noFiltersSelected()
           
 boolean useBetweenDateFilter()
           
 boolean useSubjectAttributeFilter()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RecordSelectionCriteriaPanel

public RecordSelectionCriteriaPanel(SessionProperties sessionProperties)
Method Detail

commitChanges

public void commitChanges()

bothFiltersSelected

public boolean bothFiltersSelected()

noFiltersSelected

public boolean noFiltersSelected()

getSubjectAttributeFilterDescription

public java.lang.String getSubjectAttributeFilterDescription()

getBetweenDatesFilterDescription

public java.lang.String getBetweenDatesFilterDescription()

useSubjectAttributeFilter

public boolean useSubjectAttributeFilter()

useBetweenDateFilter

public boolean useBetweenDateFilter()

getPanel

public javax.swing.JPanel getPanel()

getBeginDate

public java.util.Date getBeginDate()

getEndDate

public java.util.Date getEndDate()

getSubjectAttributeDisplayName

public java.lang.String getSubjectAttributeDisplayName()

getSubjectAttributeStorageName

public java.lang.String getSubjectAttributeStorageName()

getSubjectAttributeValue

public java.lang.String getSubjectAttributeValue()

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent event)
Specified by:
actionPerformed in interface java.awt.event.ActionListener