com.ontimize.gui
Class Form.SelColumnsDialog.SelectableItem
java.lang.Object
com.ontimize.gui.Form.SelColumnsDialog.TranslatedItem
com.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
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Comparator |
equals |
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
Form.SelColumnsDialog.SelectableItem
public Form.SelColumnsDialog.SelectableItem(java.lang.String text,
boolean df,
java.util.ResourceBundle res)
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)