Ontimize 5.2072EN

com.ontimize.gui
Class Form.SelColumnsDialog.SelectableItem

java.lang.Object
  extended bycom.ontimize.gui.Form.SelColumnsDialog.TranslatedItem
      extended bycom.ontimize.gui.Form.SelColumnsDialog.SelectableItem
All Implemented Interfaces:
java.lang.Comparable, java.util.Comparator, Internationalization
Enclosing class:
Form.SelColumnsDialog

protected class Form.SelColumnsDialog.SelectableItem
extends com.ontimize.gui.Form.SelColumnsDialog.TranslatedItem
implements Internationalization, java.util.Comparator, java.lang.Comparable


Field Summary
protected  boolean defaultColumn
           
protected  java.util.ResourceBundle res
           
protected  boolean selected
           
protected  java.lang.String text
           
protected  java.lang.String translatedText
           
 
Fields inherited from interface com.ontimize.gui.i18n.Internationalization
DEBUG_LANGUAGE
 
Constructor Summary
Form.SelColumnsDialog.SelectableItem(java.lang.String text, boolean df, java.util.ResourceBundle res)
           
 
Method Summary
 int compare(java.lang.Object o1, java.lang.Object o2)
           
 int compareTo(java.lang.Object o)
           
 boolean equals(java.lang.Object o)
           
 java.lang.String getText()
           
 java.util.Vector getTextsToTranslate()
          Returns all the texts in the element suitable for being translated.
 int hashCode()
           
 boolean isDefaultColumn()
           
 boolean isSelected()
           
 void setComponentLocale(java.util.Locale l)
           
 void setResourceBundle(java.util.ResourceBundle res)
          Sets the language resource bundle.
 void setSelected(boolean sel)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.ontimize.gui.i18n.Internationalization
getTextsToTranslate, setComponentLocale
 
Methods inherited from interface java.util.Comparator
equals
 

Field Detail

selected

protected boolean selected

defaultColumn

protected boolean defaultColumn

text

protected java.lang.String text

translatedText

protected java.lang.String translatedText

res

protected java.util.ResourceBundle res
Constructor Detail

Form.SelColumnsDialog.SelectableItem

public Form.SelColumnsDialog.SelectableItem(java.lang.String text,
                                            boolean df,
                                            java.util.ResourceBundle res)
Method Detail

isSelected

public boolean isSelected()

setResourceBundle

public void setResourceBundle(java.util.ResourceBundle res)
Description copied from interface: Internationalization
Sets the language resource bundle. When the application changes the configured language, for all the objects that implement this interface this method must be called with the new file.
The method must translate all the elements that have texts in the GUI

Specified by:
setResourceBundle in interface Internationalization

setSelected

public void setSelected(boolean sel)

isDefaultColumn

public boolean isDefaultColumn()

toString

public java.lang.String toString()

compareTo

public int compareTo(java.lang.Object o)
Specified by:
compareTo in interface java.lang.Comparable

compare

public int compare(java.lang.Object o1,
                   java.lang.Object o2)
Specified by:
compare in interface java.util.Comparator

setComponentLocale

public void setComponentLocale(java.util.Locale l)
Specified by:
setComponentLocale in interface Internationalization

getTextsToTranslate

public java.util.Vector getTextsToTranslate()
Description copied from interface: Internationalization
Returns all the texts in the element suitable for being translated.

Specified by:
getTextsToTranslate in interface Internationalization
Returns:
all the texts in the element suitable for being translated.

getText

public java.lang.String getText()

hashCode

public int hashCode()

equals

public boolean equals(java.lang.Object o)

Ontimize