project35.desktopDeployment
Class SingleListValueManager

java.lang.Object
  extended by project35.desktopDeployment.ListValueManager
      extended by project35.desktopDeployment.SingleListValueManager
All Implemented Interfaces:
ListTypeListener

public class SingleListValueManager
extends ListValueManager

Manages the list part that displays a single value. Controls the sensitivity of list editing button depending on whether there is a value in the list


Copyright (c) 2008 Kevin Garwood for Project35. The original code was developed by Kevin Garwood for the University of Manchester. Revisions have been made for Project35, a project that is independent of that institution. This code is licensed under the Academic Free License version 3.0. The code attribution for the original code is included here:

Copyright (c) Kevin Garwood and University of Manchester 2007. All rights reserved. Licensed under the Academic Free License version 3.0. For more information on the terms and conditions, please see the file "LICENSE" that is included in this distribution.


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

Field Summary
 
Fields inherited from class project35.desktopDeployment.ListValueManager
buttonPanel, collator, editOnDoubleClickAdaptor, listFieldModel, listTypeManager, project35FormContext, project35UIFactory
 
Constructor Summary
SingleListValueManager(ListTypeManager listTypeManager, Project35FormContext project35FormContext)
           
 
Method Summary
 java.awt.Component getListArea()
           
 java.lang.Object getSelectedRecord()
           
 void listTypeChanged(java.lang.String currentType)
           
 void refresh()
           
 void removeSelectedRecords()
           
 void reset()
           
 void setModel(ListFieldModel listFieldModel)
           
 
Methods inherited from class project35.desktopDeployment.ListValueManager
changeFont, deleteRecords, deregisterToolTipComponents, editRecord, enableContextHelp, getEditButtons, newRecord, referenceRecord, setButtonsBasedOnCurrentRecordType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SingleListValueManager

public SingleListValueManager(ListTypeManager listTypeManager,
                              Project35FormContext project35FormContext)
Method Detail

setModel

public void setModel(ListFieldModel listFieldModel)
Overrides:
setModel in class ListValueManager

listTypeChanged

public void listTypeChanged(java.lang.String currentType)
Specified by:
listTypeChanged in interface ListTypeListener
Specified by:
listTypeChanged in class ListValueManager

getListArea

public java.awt.Component getListArea()
Specified by:
getListArea in class ListValueManager

removeSelectedRecords

public void removeSelectedRecords()
Specified by:
removeSelectedRecords in class ListValueManager

getSelectedRecord

public java.lang.Object getSelectedRecord()

refresh

public void refresh()
Specified by:
refresh in class ListValueManager

reset

public void reset()
Specified by:
reset in class ListValueManager