public class DefaultReportDialog extends Object
protected ReportEngine reportEngine
public static String TITLE_KEY
public static String PRINTING_COLUMN_KEY
public static String GROUPS_KEY
public static String FUNCTION_KEY
public static String TEMPLATE_KEY
public static String SQL_QUERY_KEY
public static String REPORT_STORE_KEY
public static String GRID_KEY
public static String INCLUDE_ROW_NUMBER_KEY
public static String HIDE_GROUP_DETAIL_KEY
public static String INCLUDE_COLUMN_NAMES_KEY
public static String UNDERLINE_LINES_KEY
public static String FIT_HEADER_KEY
public static String DYNAMIC_HEADER_KEY
public static String AVERAGE_OP_KEY
public static String SUM_OP_KEY
public static String MAXIMUM_OP_KEY
public static String MINIMUM_OP_KEY
public static String UP_BUTTON_KEY
public static String DOWN_BUTTON_KEY
public static String ALL_UP_BUTTON_KEY
public static String ALL_DOWN_BUTTON_KEY
public static String UP_GROUP_BUTTON_KEY
public static String GROUP_DOWN_BUTTON_KEY
public static String ALL_UP_GROUP_BUTTON_KEY
public static String ALL_DOWN_GROUP_BUTTON_KEY
public static String OPTIONS_BUTTON_KEY
public static String ORDER_BUTTON_KEY
public static String CONFIRM_MESSAGE_KEY
public static String RELOAD_REPORT_KEY
public static String ENTITIES_COMBO_KEY
public static String GROUP_KEY
public static String EMPTY_ENTITY_KEY
public static String SIMPLE_LINE_KEY
public static String MULTILINE_KEY
public static String GROUP_BY_DATE_TIME_KEY
public static String GROUP_BY_DATE_KEY
public static String GROUP_BY_MONTH_KEY
public static String GROUP_BY_MONTH_AND_YEAR_KEY
public static String GROUP_BY_QUARTER_KEY
public static String GROUP_BY_QUARTER_AND_YEAR_KEY
public static String GROUP_BY_YEAR_KEY
public static String DYNAMIC_SELECTION_TIP_KEY
public static String GROUP_TIP_KEY
public static String ORDER_TIP_KEY
public static String DYNAMIC_UPDATE_CHECK_KEY
public static String LOAD_TEMPLATE_KEY
public static String SAVE_TEMPLATE_KEY
public static String DELETE_TEMPLATE_KEY
protected EntityReferenceLocator locator
protected Window container
protected JScrollPane scroll
protected JList printingColumnList
protected JPanel configurationPanel
protected JPanel entitiesPanel
protected JList groupList
protected Object[] multigroups
protected JPanel groupListPanel
protected JList functionList
protected JPanel functionListPanel
protected JPanel printingColumnsPanel
protected JPanel templatesPanel
protected JScrollPane sqlQueryPanel
protected TableModel model
protected QueryExpression query
protected ResourceBundle bundle
protected boolean isTable
protected ReportStore[] rs
protected OrderWindow order
protected ColumnWidthWindow wColumn
protected ColumnWidthPopup wPopup
protected JTextArea sqlQueryText
protected JComboBox templateCombo
protected String reportDescription
protected String title
protected String description
protected List orderCols
protected Hashtable settedColumnWidth
protected Form.FormButton optionsButton
protected JPopupMenu optionsMenu
protected JCheckBoxMenuItem grid1CheckMenu
protected JCheckBoxMenuItem rowNumber2CheckMenu
protected JCheckBoxMenuItem includeColumnName3CheckMenu
protected JCheckBoxMenuItem underlineLine4CheckMenu
protected JCheckBoxMenuItem fitHead5CheckMenu
protected JCheckBoxMenuItem dynamicHead6CheckMenu
protected JCheckBoxMenuItem hideGroupDetail7CheckMenu
protected RolloverButton bStore
protected RolloverButton bSQL
protected RolloverButton bRefreshReport
protected JComboBox entitiesCombo
protected JButton orderButton
protected JButton setColumnButton
protected JPopupMenu operationTypePopup
protected ButtonGroup opTypeButtonGroup
protected JRadioButtonMenuItem sumOpMenu
protected JRadioButtonMenuItem minimumOpMenu
protected JRadioButtonMenuItem averageOpMenu
protected JRadioButtonMenuItem maximumOpMenu
protected SelectableFunctionItem currentItem
protected SelectableDateGroupItem currentDateGroupItem
protected JPopupMenu groupPopup
protected JMenuItem groupMenu
protected JPopupMenu ascendingDescendingPopup
protected JRadioButtonMenuItem ascendingOpMenu
protected JRadioButtonMenuItem descendingOpMenu
protected JPopupMenu multilinePopup
protected ButtonGroup multilineGroupButton
protected JRadioButtonMenuItem simpleLineMenu
protected JRadioButtonMenuItem multilineMenu
protected SelectableDynamicItem currentDynamicItem
protected JPopupMenu confMenu
protected JPopupMenu groupByDatePopup
protected ButtonGroup groupByDateGroupButton
protected JRadioButtonMenuItem groupByDateTime
protected JRadioButtonMenuItem groupByDate
protected JRadioButtonMenuItem groupByMonth
protected JRadioButtonMenuItem groupByMonthAndYear
protected JRadioButtonMenuItem groupByQuarter
protected JRadioButtonMenuItem groupByQuarterAndYear
protected JRadioButtonMenuItem groupByYear
protected ItemListener listener
protected DeleteItemListener deleteListener
protected PopupListener operationSelectionListener
protected PopupGroupDateListener dateGroupSelectionListener
protected OrderedPopupListener orderListener
protected DynamicPopupListener dynamicSelectionListener
protected UpdateReportListener updateReportListener
protected JPanel chartPanel
protected ButtonSelection loadButton
protected Form.FormButton saveButton
protected String reportName
protected JToggleButton updateCheck
protected List templates
protected String dscr
protected String user
protected String preferenceKey
protected ApplicationPreferences prefs
protected ReportSetupDialog reportConfigurationDialog
protected ReportDeleteDialog deleteReportDialog
protected JButton upButton
protected JButton downButton
protected JButton allUpButton
protected JButton allDownButton
protected JButton upGroupButton
protected JButton downGroupButton
protected JButton allUpGroupButton
protected JButton allDownGroupButton
protected ListenerSeleccionColumnas columnSelectionListener
protected GroupColumnListener groupColumnListener
protected FunctionListener functionListener
protected DateGroupListener dateGroupListener
protected Table table
public DefaultReportDialog(Frame f, TableModel m, ResourceBundle res, List templateList, String tit, String dscr, String user, String preferenceKey, ApplicationPreferences prefs, Table table)
public DefaultReportDialog(Frame f, TableModel m, ResourceBundle res, List templateList, String tit, String dscr, String user, String preferenceKey, ApplicationPreferences prefs)
public DefaultReportDialog(ReportStore[] rs, EntityReferenceLocator referenceLocator, ResourceBundle res, List templateList, String tit)
public DefaultReportDialog(Frame f, ReportStore[] rs, EntityReferenceLocator referenceLocator, ResourceBundle res, List templateList, String tit, String dscr)
public DefaultReportDialog(Dialog d, TableModel m, ResourceBundle res, List templateList, String tit, String dscr, String user, String preferenceKey, ApplicationPreferences prefs, Table table)
public DefaultReportDialog(Dialog d, TableModel m, ResourceBundle res, List templateList, String tit, String dscr, String user, String preferenceKey, ApplicationPreferences prefs)
public void initTemplateList()
public void setSize(int width,
int height)
public void setVisible(boolean b)
public void setLocation(int x,
int y)
public void init()
public void setDefaultCloseOperation(int operation)
protected void groupColumns()
protected void clearReport()
public RolloverButton getStoreButton()
protected void showReportConfigurationDialog()
public JCheckBoxMenuItem getUnderlineLine4CheckMenu()
public JCheckBoxMenuItem getFitHead5CheckMenu()
public JCheckBoxMenuItem getDynamicHead6CheckMenu()
public JCheckBoxMenuItem getHideGroupDetail7CheckMenu()
public JCheckBoxMenuItem getGrid1CheckMenu()
public JCheckBoxMenuItem getRowNumber2CheckMenu()
public JCheckBoxMenuItem getIncludeColumnName3CheckMenu()
public void dispose()
public void pack()
public void setJMenuBar(JMenuBar jMenuBar)
public ButtonSelection getLoadButton()
public JButton getSaveButton()
public boolean loadConfiguration(String conf)
protected void configureNewReport(String confData)
public Hashtable getSettedColumnWidth()
protected void loadDefaultTemplates()
throws IOException
IOExceptionprotected int saveReportConfiguration(String conf)
protected String getCurrentConfiguration()
protected OrderColumns getOrderColumns()
protected void createReportConfMenu()
public void updateReport(boolean force)
public void updateReport()
public static void checkListStatusButtons(JList list, JButton upAll, JButton up, JButton down, JButton downAll)
protected String getXMLTemplate() throws IOException
IOExceptionprotected Vector getSelectedDynamicColumnName()
public Vector getPrintingColumns()
public Vector getSelectedPrintingColumns()
public Vector getSelectedPrintingAndGroupedColumns()
Vector with non repeated columns.Vectorpublic Container getContentPane()
public Vector getSelectedDynamicColumns()
public Vector getSelectedGroupItems()
public Vector getSelectedGroupColumns()
public Vector getPrintedGroupsFromSelectedGroups()
protected Vector getSelectedColumns()
public Vector getSimpleSelectedGroupColumns()
public Hashtable getSelectedFunctionColumns()
public void setSelectedDateGroupingOperations(String itemText, int operation)
public Hashtable getSelectedDateGroupingColumns()
protected Vector getTextToTranslateColumnsAndSelected()
public TableModel getDataModel(boolean ascending)
public void setDataModel(TableModel model)
public TableSorter getOrderedDataModel(boolean ascending)
ascending - condition to ascending-descending order.com.ontimize.report.TableSorter with orderpublic int getColumnIndex(String columnName, TableModel table)
columnName - the name of columntable - the table modelpublic JPopupMenu getConfMenu()
public JRadioButtonMenuItem getSumOpMenu()
public JRadioButtonMenuItem getAverageOpMenu()
public JRadioButtonMenuItem getMaximumOpMenu()
public JRadioButtonMenuItem getMinimumOpMenu()
public String getSourceTemplateName()
public void updateFunctionList()
public void setFunctionColumns(Vector v)
public void updateColumnClasses()
protected void setPrintingColumns(Vector v)
public JComboBox getEntitiesCombo()
protected Vector getColumns()
public JScrollPane getScroll()
protected void add(StringBuffer sb, String s)
public JList getFunctionList()
public JPanel getFunctionListPanel()
protected void setOrderColumns(OrderColumns h)
protected void initGroup(DefaultListModel l)
protected void setSelectedColumnsToGroup(Vector v)
protected void setSelectedFunctionColumns(Hashtable h)
protected void setSelectedPrintingColumns(Vector v)
public Window getContainer()
protected void setDynamicColumnsToSet(Vector v)
public void addComponentListener(ComponentListener componentListener)
componentListener - ComponentListenerpublic void removeComponentListener(ComponentListener componentListener)
componentListener - ComponentListenerpublic String getTitle()
public void setTitle(String title)
public ResourceBundle getBundle()
public String getDescription()
public void setDescription(String description)
protected void setPrintingColumnPreferences(String stringToParse)
public void setFunctionColumnPreferences(String analyze)
protected void setDynamicColumnPreferences(String analizar)
protected void setGroupColumnPreference(String analizar)
protected void setOrderColumnPreferences(String analizar)
public void setTemplateList(List templates)
public List getTemplateList()
public JComboBox getTemplateCombo()
public void setUser(String user)
public void setPreferenceKey(String preferenceKey)
public void setPreferences(ApplicationPreferences prefs)
public void setModel(TableModel model)
public TableModel getModel()
public void setReportDescription(String reportDescription)
protected void setReportEntity(String entity)
protected void setGroupColumns(Vector v)
protected List getConfigurations()
public UpdateReportListener getUpdateReportListener()
public void deleteConfiguration(String conf)
protected void showDeleteReportDialog()
public void setContainer(Object container)
public void center()
public JButton getUpButton()
public JButton getDownButton()
public JButton getAllUpButton()
public JButton getUpGroupButton()
public JButton getAllDownButton()
public JButton getDownGroupButton()
public JButton getAllUpGroupButton()
public JButton getAllDownGroupButton()
public JPopupMenu getOperationTypePopup()
public boolean isTable()
public SelectableDynamicItem getCurrentDynamicItem()
public void setCurrentDynamicItem(SelectableDynamicItem currentDynamicItem)
public JList getPrintingColumnList()
public JList getGroupList()
public List getOrderCols()
public JPopupMenu getGroupPopup()
public JRadioButtonMenuItem getSimpleLineMenu()
public JRadioButtonMenuItem getMultilineMenu()
public JPopupMenu getMultilinePopup()
public QueryExpression getQuery()
public JRadioButtonMenuItem getAscendingOpMenu()
public JRadioButtonMenuItem getDescendingOpMenu()
public void setCurrentItem(SelectableFunctionItem currentItem)
public SelectableFunctionItem getCurrentItem()
public void setCurrentDateGroupItem(SelectableDateGroupItem currentDateGroupItem)
public SelectableDateGroupItem getCurrentDateGroupItem()
public JPanel getChartPanel()
public JToggleButton getUpdateCheck()
public Object[] getMultigroups()
public Vector getTextsToTranslate()
public void setComponentLocale(Locale l)
public void addTemplates(List templates)
public JPopupMenu getOptionMenu()
public void setOptionMenu(JPopupMenu optionMenu)
public void setResourceBundle(ResourceBundle res)
public ReportEngine getReportEngine()
public JPopupMenu getGroupByDatePopup()
public JRadioButtonMenuItem getGroupByDateMenuItem()
public void setGroupByDateMenuItem(JRadioButtonMenuItem groupByDate)
public JRadioButtonMenuItem getGroupByDateTimeMenuItem()
public void setGroupByDateTimeMenuItem(JRadioButtonMenuItem groupByDateTime)
public JRadioButtonMenuItem getGroupByMonthMenuItem()
public void setGroupByMonthMenuItem(JRadioButtonMenuItem groupByMonth)
public JRadioButtonMenuItem getGroupByMonthAndYearMenuItem()
public void setGroupByMonthAndYearMenuItem(JRadioButtonMenuItem groupByMonthAndYear)
public JRadioButtonMenuItem getGroupByQuarterMenuItem()
public void setGroupByQuarterMenuItem(JRadioButtonMenuItem groupByQuarter)
public JRadioButtonMenuItem getGroupByQuarterAndYearMenuItem()
public void setGroupByQuarterAndYearMenuItem(JRadioButtonMenuItem groupByQuarterAndYear)
public JRadioButtonMenuItem getGroupByYearMenuItem()
public void setGroupByYearMenuItem(JRadioButtonMenuItem groupByYear)
public Table getTable()
public void setTable(Table table)
Copyright © 2016 Imatia Innovation S.L.. All rights reserved.