VTT Java
2010 Version

gov.nih.nlm.nls.vtt.Operations
Class TagOperations

java.lang.Object
  extended by gov.nih.nlm.nls.vtt.Operations.TagOperations

public class TagOperations
extends java.lang.Object

This class provides text Tag related operations.

History:

Version:
V-2010
Author:
NLM NLS Development Team, clu

Method Summary
static boolean Add(VttObj vttObj, Tag tag)
          Add a new tag.
static void QuickTagsLoading(VttObj vttObj)
          Load tags from the default specified tags file.
static boolean Set(VttObj vttObj, Tag tag, int index)
          Set the properties of indexed tag to a new tag
static void UpdateCategoryList(VttObj vttObj, java.util.Vector<TagFilter> categoryList)
          Update the category list of all tags.
static void UpdateNameList(VttObj vttObj, java.util.Vector<TagFilter> nameList)
          Update the name list of all tags.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

QuickTagsLoading

public static void QuickTagsLoading(VttObj vttObj)
Load tags from the default specified tags file.

Parameters:
vttObj - the vttObj Java object

Set

public static boolean Set(VttObj vttObj,
                          Tag tag,
                          int index)
Set the properties of indexed tag to a new tag

Parameters:
vttObj - the vttObj Java object
tag - the new tag
index - the index of selected tag
Returns:
a boolean flag if the setting successful

Add

public static boolean Add(VttObj vttObj,
                          Tag tag)
Add a new tag.

Parameters:
vttObj - the vttObj Java object
tag - the new tag
Returns:
a boolean flag if the adding operation successful

UpdateNameList

public static void UpdateNameList(VttObj vttObj,
                                  java.util.Vector<TagFilter> nameList)
Update the name list of all tags.

Parameters:
vttObj - the vttObj Java object
nameList - the list of all tag names

UpdateCategoryList

public static void UpdateCategoryList(VttObj vttObj,
                                      java.util.Vector<TagFilter> categoryList)
Update the category list of all tags.

Parameters:
vttObj - the vttObj Java object
categoryList - the list of all tag categories

VTT Java
2010 Version

Submit a bug or feature

Copyright © 2010 National Library of Medicine