public class MD_FormDescriptor
extends java.lang.Object
Constructor and Description |
---|
MD_FormDescriptor(java.util.Collection<Category> categoriesIn,
java.util.Comparator<Category> comparatorIn)
Constructor.
|
MD_FormDescriptor(java.util.Comparator<Category> comparatorIn)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addCategory(java.lang.String name)
Add a category to the descriptor.
|
void |
clear()
Remove all of the categories from the descriptor.
|
boolean |
DoAdd_spectrum_table_fields() |
java.util.Collection<Category> |
getCategories()
Get the list of categories in this desctriptor.
|
void |
removeCategory(java.lang.String name)
Remove a category from the descriptor.
|
void |
setAdd_spectrum_table_fields(boolean add_spectrum_table_fields) |
public MD_FormDescriptor(java.util.Comparator<Category> comparatorIn)
public void addCategory(java.lang.String name)
name
- the name of the category to addpublic void clear()
public java.util.Collection<Category> getCategories()
public void removeCategory(java.lang.String name)
name
- the name of the category to removepublic boolean DoAdd_spectrum_table_fields()
public void setAdd_spectrum_table_fields(boolean add_spectrum_table_fields)