com.ontimize.report.item
Class SelectableDateGroupItem
java.lang.Object
com.ontimize.report.TranslatedItem
com.ontimize.report.item.SelectableItem
com.ontimize.report.item.SelectableDateGroupItem
- All Implemented Interfaces:
- java.util.Comparator, Internationalization
- public class SelectableDateGroupItem
- extends SelectableItem
- implements Internationalization, java.util.Comparator
Class created to be added to report group list when columns are dates. It contains information about type of grouping: by day, by month, by quarter or by year.
- Since:
- 5.2059EN
- Author:
- Imatia Innovation SL
| 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
groupingDateType
protected int groupingDateType
groupingDateText
protected java.lang.String groupingDateText
SelectableDateGroupItem
public SelectableDateGroupItem(java.lang.String text,
java.util.ResourceBundle res)
isSelected
public boolean isSelected()
- Overrides:
isSelected in class SelectableItem
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 SelectableItem
setSelected
public void setSelected(boolean sel)
- Overrides:
setSelected in class SelectableItem
getOperation
public int getOperation()
setOperation
public void setOperation(int op)
setGroupDateText
protected void setGroupDateText()
getGroupingDateType
public int getGroupingDateType()
toString
public java.lang.String toString()
- Overrides:
toString in class SelectableItem
compareTo
public int compareTo(java.lang.Object o)
- Overrides:
compareTo in class SelectableItem
compare
public int compare(java.lang.Object o1,
java.lang.Object o2)
- Specified by:
compare in interface java.util.Comparator- Overrides:
compare in class SelectableItem