TV-Browser 2.7.5 API

i18nplugin
Interface LanguageNodeIf

All Known Implementing Classes:
PathNode, PropertiesEntryNode, PropertiesNode, TranslationNode

public interface LanguageNodeIf

This interface is important for the treecellrenderer. All TreeNodes that implement this will be colored according the result of the method allTranslationsAvailableFor

Author:
bodum

Field Summary
static int STATE_MISSING_TRANSLATION
           
static int STATE_NON_WELLFORMED
           
static int STATE_NON_WELLFORMED_ARG_COUNT
           
static int STATE_NON_WELLFORMED_ARG_FORMAT
           
static int STATE_NON_WELLFORMED_PUNCTUATION_END
           
static int STATE_OK
           
 
Method Summary
 void save()
          Saves all changes to the User-Directory
 int translationStateFor(Locale locale)
          This method returns the translation state, if all translations are available for a certain locale.
 

Field Detail

STATE_MISSING_TRANSLATION

static final int STATE_MISSING_TRANSLATION
See Also:
Constant Field Values

STATE_NON_WELLFORMED

static final int STATE_NON_WELLFORMED
See Also:
Constant Field Values

STATE_NON_WELLFORMED_ARG_COUNT

static final int STATE_NON_WELLFORMED_ARG_COUNT
See Also:
Constant Field Values

STATE_NON_WELLFORMED_ARG_FORMAT

static final int STATE_NON_WELLFORMED_ARG_FORMAT
See Also:
Constant Field Values

STATE_NON_WELLFORMED_PUNCTUATION_END

static final int STATE_NON_WELLFORMED_PUNCTUATION_END
See Also:
Constant Field Values

STATE_OK

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

translationStateFor

int translationStateFor(Locale locale)
This method returns the translation state, if all translations are available for a certain locale. The implementation has to go thru all child-nodes.

Parameters:
locale - Locale
Returns:
combined translation state for all sub nodes

save

void save()
          throws IOException
Saves all changes to the User-Directory

Throws:
IOException - saving went wrong

TV-Browser 2.7.5 API

TV-Browser 2.7.5, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)