macaw.presentationLayer
Class RawVariableEditor

java.lang.Object
  extended by macaw.presentationLayer.VariableEditor
      extended by macaw.presentationLayer.RawVariableEditor
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener, DisplayableListParentForm

public class RawVariableEditor
extends VariableEditor


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)

Field Summary
 
Fields inherited from class macaw.presentationLayer.VariableEditor
aliasFilePathChoicesField, aliasFilePathLabelText, allowWriteAccess, alternativeVariableSelectionPanel, availabilityChoicesField, availabilityLabelText, categoryChoicesField, categoryLabelText, cleaningStatePanel, close, committedChanges, currentUser, currentUserID, database, dialog, editLabelValues, filePathField, filePathLabelText, instructionsTextArea, isCodedField, isCodedText, labelField, labelLabelText, log, nameField, nameLabelText, notesField, okCancelPanel, ontologyTermsPanel, save, sessionProperties, showChangeHistory, supportingDocumentsPanel, userInterfaceFactory, yearField, yearLabelText
 
Constructor Summary
RawVariableEditor(SessionProperties sessionProperties, boolean allowWriteAccess)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent event)
           
 void commitChanges()
           
 Displayable getData()
           
 void setData(RawVariable rawVariable, boolean isNewRecord)
           
 
Methods inherited from class macaw.presentationLayer.VariableEditor
addField, close, createDataLibraryAndFilePanel, createIsCleanedPanel, createNameLabelPanel, createNotesFieldPanel, createRubricCardFields, createRubricCardPanel, createYearFormQuestionNumberPanel, editLabelValues, isCancelled, restoreVariableFields, saveVariableFields, setData, show, showChangeHistory, updateFilePath, updateValueLabelsButtonState
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RawVariableEditor

public RawVariableEditor(SessionProperties sessionProperties,
                         boolean allowWriteAccess)
Method Detail

setData

public void setData(RawVariable rawVariable,
                    boolean isNewRecord)

getData

public Displayable getData()
Specified by:
getData in class VariableEditor

actionPerformed

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

commitChanges

public void commitChanges()
                   throws MacawException
Specified by:
commitChanges in interface DisplayableListParentForm
Specified by:
commitChanges in class VariableEditor
Throws:
MacawException