com.ontimize.report.item
Class SelectableFunctionItem
java.lang.Object
com.ontimize.report.TranslatedItem
com.ontimize.report.item.SelectableFunctionItem
- All Implemented Interfaces:
- java.util.Comparator, Internationalization
- Direct Known Subclasses:
- PredefinedFunctionItem
- public class SelectableFunctionItem
- extends TranslatedItem
- implements Internationalization, java.util.Comparator
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Comparator |
equals |
selected
protected boolean selected
operation
protected int operation
operationText
protected java.lang.String operationText
SelectableFunctionItem
public SelectableFunctionItem(java.lang.String text,
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- Overrides:
setResourceBundle in class TranslatedItem
setSelected
public void setSelected(boolean sel)
setOperation
public void setOperation(int op)
setOperationText
protected void setOperationText()
getOperation
public int getOperation()
toString
public java.lang.String toString()
- Overrides:
toString in class TranslatedItem
compareTo
public int compareTo(java.lang.Object o)
compare
public int compare(java.lang.Object o1,
java.lang.Object o2)
- Specified by:
compare in interface java.util.Comparator