cst.adminTool.presentationLayer
Class UserEditor

java.lang.Object
  extended by cst.adminTool.presentationLayer.UserEditor
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener

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

Manages the GUI used to update the details of a single end-user. Invoked by the UserRegistryEditor dialog to add or update the details of an end-user.


 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
UserEditor(SessionProperties sessionProperties)
           
UserEditor(SessionProperties sessionProperties, boolean onlyEditPassword)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent event)
           
 User getUser()
           
 boolean isCancelled()
           
 void setUser(User user)
           
 void show()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserEditor

public UserEditor(SessionProperties sessionProperties)

UserEditor

public UserEditor(SessionProperties sessionProperties,
                  boolean onlyEditPassword)
Method Detail

show

public void show()

isCancelled

public boolean isCancelled()

getUser

public User getUser()

setUser

public void setUser(User user)

actionPerformed

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