net.sourceforge.nite.meta
Interface NStyle

All Known Implementing Classes:
NiteStyle

public interface NStyle

Information about a "style": a specification used by the NITE Interface Engine (NIE) or the Observable Track Annotation Board (OTAB).

Author:
jonathan

Field Summary
static int DISPLAY
           
static int EDITOR
           
static int NIE
           
static int OTAB
           
 
Method Summary
 int getApplication()
          returns one of NIE or OTAB depending on which program this is a spec for.
 java.util.List getCodingNames()
          Find the codings that can be used / edited - returns a List of Strings
 java.lang.String getDescription()
          returns a textual description of the style that can be used, for example, in a GUI list to be chosen from
 java.lang.String getExtension()
          returns the filename extension of the style as used in filenames
 java.lang.String getName()
          returns the name of the style as used in filenames
 java.util.List getObjectSetNames()
          Find the object sets that can be used / edited - returns a List of Strings
 java.util.List getOntologyNames()
          Find the ontologies that can be used - returns a List of Strings
 int getType()
          returns one of EDITOR or DISPLAY depending on whether the NOM can be changed by this stylesheet.
 

Field Detail

EDITOR

static final int EDITOR
See Also:
Constant Field Values

DISPLAY

static final int DISPLAY
See Also:
Constant Field Values

NIE

static final int NIE
See Also:
Constant Field Values

OTAB

static final int OTAB
See Also:
Constant Field Values
Method Detail

getName

java.lang.String getName()
returns the name of the style as used in filenames


getExtension

java.lang.String getExtension()
returns the filename extension of the style as used in filenames


getDescription

java.lang.String getDescription()
returns a textual description of the style that can be used, for example, in a GUI list to be chosen from


getType

int getType()
returns one of EDITOR or DISPLAY depending on whether the NOM can be changed by this stylesheet.


getApplication

int getApplication()
returns one of NIE or OTAB depending on which program this is a spec for.


getCodingNames

java.util.List getCodingNames()
Find the codings that can be used / edited - returns a List of Strings


getObjectSetNames

java.util.List getObjectSetNames()
Find the object sets that can be used / edited - returns a List of Strings


getOntologyNames

java.util.List getOntologyNames()
Find the ontologies that can be used - returns a List of Strings