The Meta-Environment API

nl.cwi.sen1.configapi.types.property
Class TextCategory

java.lang.Object
  extended by aterm.pure.ATermVisitableImpl
      extended by aterm.pure.ATermImpl
          extended by aterm.pure.ATermApplImpl
              extended by nl.cwi.sen1.configapi.AbstractType
                  extended by nl.cwi.sen1.configapi.types.Property
                      extended by nl.cwi.sen1.configapi.types.property.TextCategory
All Implemented Interfaces:
aterm.ATerm, aterm.ATermAppl, aterm.Identifiable, jjtraveler.Visitable, shared.SharedObject, shared.SharedObjectWithID

public class TextCategory
extends Property


Field Summary
private static int index_category
           
private static int index_map
           
 
Fields inherited from class nl.cwi.sen1.configapi.AbstractType
term
 
Fields inherited from class aterm.pure.ATermImpl
factory
 
Fields inherited from interface aterm.ATerm
AFUN, APPL, BLOB, INT, LIST, LONG, PLACEHOLDER, REAL
 
Constructor Summary
TextCategory(Factory factory, aterm.ATermList annos, aterm.AFun fun, aterm.ATerm[] args)
           
 
Method Summary
 shared.SharedObject duplicate()
           
 boolean equivalent(shared.SharedObject peer)
           
 TextCategoryName getCategory()
           
 TextAttributeMap getMap()
           
 boolean hasCategory()
           
protected  int hashFunction()
           
 boolean hasMap()
           
 boolean isTextCategory()
           
protected  aterm.ATermAppl make(aterm.AFun fun, aterm.ATerm[] args, aterm.ATermList annos)
           
 aterm.ATermAppl setArgument(aterm.ATerm arg, int i)
           
 Property setCategory(TextCategoryName _category)
           
 Property setMap(TextAttributeMap _map)
           
 aterm.ATerm toTerm()
           
 
Methods inherited from class nl.cwi.sen1.configapi.types.Property
getAction, getEditor, getExtension, getLabel, getLanguage, getList, getPath, hasAction, hasEditor, hasExtension, hasLabel, hasLanguage, hasList, hasPath, isAction, isEditor, isEqual, isImport, isLibraryPath, isModulePath, isScript, isScriptPath, isSortProperty, setAction, setEditor, setExtension, setLabel, setLanguage, setList, setPath
 
Methods inherited from class nl.cwi.sen1.configapi.AbstractType
getConfigapiFactory, isSortActionDescription, isSortActionDescriptionList, isSortColor, isSortConfiguration, isSortEvent, isSortItem, isSortItemLabels, isSortKeyModifier, isSortKeyModifierList, isSortPropertyList, isSortShortCut, isSortTextAttribute, isSortTextAttributeMap, isSortTextCategoryName, isSortTextStyle, isSortVirtualButton, isSortVirtualKey, setTerm, toString
 
Methods inherited from class aterm.pure.ATermApplImpl
accept, getAFun, getArgument, getArgumentArray, getArguments, getArity, getName, getNrSubTerms, getSubTerm, getType, init, initHashCode, isQuoted, make, make, match, setAnnotations, setSubTerm
 
Methods inherited from class aterm.pure.ATermImpl
equals, getAnnotation, getAnnotations, getFactory, getPureFactory, getUniqueIdentifier, hasAnnotations, hashCode, init, internSetAnnotations, isEqual, match, match, removeAnnotation, removeAnnotations, setAnnotation, setHashCode, setUniqueIdentifier, writeToSharedTextFile, writeToTextFile, writeToTextFile
 
Methods inherited from class aterm.pure.ATermVisitableImpl
getChildAt, getChildCount, setChildAt
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface aterm.ATerm
equals, getAnnotation, getAnnotations, getFactory, hasAnnotations, hashCode, isEqual, match, match, removeAnnotation, removeAnnotations, setAnnotation, writeToSharedTextFile, writeToTextFile
 
Methods inherited from interface jjtraveler.Visitable
getChildAt, getChildCount, setChildAt
 
Methods inherited from interface aterm.Identifiable
getUniqueIdentifier
 

Field Detail

index_category

private static int index_category

index_map

private static int index_map
Constructor Detail

TextCategory

public TextCategory(Factory factory,
                    aterm.ATermList annos,
                    aterm.AFun fun,
                    aterm.ATerm[] args)
Method Detail

duplicate

public shared.SharedObject duplicate()
Specified by:
duplicate in interface shared.SharedObject
Overrides:
duplicate in class aterm.pure.ATermApplImpl

equivalent

public boolean equivalent(shared.SharedObject peer)
Specified by:
equivalent in interface shared.SharedObject
Overrides:
equivalent in class aterm.pure.ATermApplImpl

make

protected aterm.ATermAppl make(aterm.AFun fun,
                               aterm.ATerm[] args,
                               aterm.ATermList annos)
Overrides:
make in class aterm.pure.ATermApplImpl

toTerm

public aterm.ATerm toTerm()
Specified by:
toTerm in class AbstractType

isTextCategory

public boolean isTextCategory()
Overrides:
isTextCategory in class Property

hasCategory

public boolean hasCategory()
Overrides:
hasCategory in class Property

hasMap

public boolean hasMap()
Overrides:
hasMap in class Property

getCategory

public TextCategoryName getCategory()
Overrides:
getCategory in class Property

setCategory

public Property setCategory(TextCategoryName _category)
Overrides:
setCategory in class Property

getMap

public TextAttributeMap getMap()
Overrides:
getMap in class Property

setMap

public Property setMap(TextAttributeMap _map)
Overrides:
setMap in class Property

setArgument

public aterm.ATermAppl setArgument(aterm.ATerm arg,
                                   int i)
Specified by:
setArgument in interface aterm.ATermAppl
Overrides:
setArgument in class aterm.pure.ATermApplImpl

hashFunction

protected int hashFunction()
Overrides:
hashFunction in class aterm.pure.ATermApplImpl

The Meta-Environment API