cst.loggingTool.presentationLayer.reports
Class RecordSelectionCriteriaPanel
java.lang.Object
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:
- subjects which match a pre-selected value of a pre-selected subject attribute.
- subjects which have a value between two dates for a selected activity step.
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)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RecordSelectionCriteriaPanel
public RecordSelectionCriteriaPanel(SessionProperties sessionProperties)
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