project35.tabletDeployment
Class TabletIDFieldView

java.lang.Object
  extended by project35.desktopDeployment.DataFieldView
      extended by project35.desktopDeployment.EditFieldView
          extended by project35.tabletDeployment.TabletTextFieldView
              extended by project35.tabletDeployment.TabletIDFieldView
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener, CustomisedFieldView, TextComponentSupplier, ContextHelpItem

public class TabletIDFieldView
extends TabletTextFieldView
implements CustomisedFieldView, java.awt.event.ActionListener

Renders text field views for EditFieldModel model components. Text fields can be associated with ontology services. If a field has at least one service, the field label will be prefixed by a "*"


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.tabletDeployment.TabletTextFieldView
clear, dialog, markUp, minTextComponentWidth, ontologyServiceManager, ontologyServices, pluginsList, pointWithinMarkUp, text, textFieldModel, useTextArea
 
Fields inherited from class project35.desktopDeployment.EditFieldView
edit, editFieldModel, ontologyContext, plugins, schemaConceptPropertyManager
 
Fields inherited from class project35.desktopDeployment.DataFieldView
activityArea, collator, dataFieldModel, font, label, name, project35FormContext, project35UIFactory
 
Constructor Summary
TabletIDFieldView()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent event)
           
 void deregisterToolTipComponents()
          helps ensure that the field view removes its UI components from the the tool tip manager
 void initialiseField(Project35FormContext project35FormContext, DataFieldModel dataFieldModel, java.util.ArrayList additionalParameters)
           
 
Methods inherited from class project35.tabletDeployment.TabletTextFieldView
choosePlugin, clearValues, createOntologyServices, disableOntologyServices, getPrimaryOntologyService, getSelectedText, getTextComponent, getValue, initialise, isDirty, keepValue, newJTextField, pasteClipboardText, reset, restoreValue, setEditable, setFieldValue
 
Methods inherited from class project35.desktopDeployment.EditFieldView
changeFont, editFieldWithEditingComponent, getEditFieldEditingComponent, getModel, getValueSupplier, initialise, setUnits, setValueSupplier
 
Methods inherited from class project35.desktopDeployment.DataFieldView
enableContextHelp, getActivityArea, getFont, getHelpLink, getLabel, getName, hasFocus, indicateErrors, isContextHelpEnabled, isRequiredField, setActivityArea, setHelpLink, setName, setRequiredField
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TabletIDFieldView

public TabletIDFieldView()
Method Detail

initialiseField

public void initialiseField(Project35FormContext project35FormContext,
                            DataFieldModel dataFieldModel,
                            java.util.ArrayList additionalParameters)
Specified by:
initialiseField in interface CustomisedFieldView
Overrides:
initialiseField in class TabletTextFieldView

deregisterToolTipComponents

public void deregisterToolTipComponents()
Description copied from class: EditFieldView
helps ensure that the field view removes its UI components from the the tool tip manager

Overrides:
deregisterToolTipComponents in class TabletTextFieldView

actionPerformed

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