Class ReportContentWizardStep

  • All Implemented Interfaces:
    java.awt.image.ImageObserver, java.awt.MenuContainer, java.beans.PropertyChangeListener, java.io.Serializable, java.util.EventListener, javax.accessibility.Accessible

    public class ReportContentWizardStep
    extends WizardStep
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from class javax.swing.JPanel

        javax.swing.JPanel.AccessibleJPanel
      • Nested classes/interfaces inherited from class javax.swing.JComponent

        javax.swing.JComponent.AccessibleJComponent
      • Nested classes/interfaces inherited from class java.awt.Container

        java.awt.Container.AccessibleAWTContainer
      • Nested classes/interfaces inherited from class java.awt.Component

        java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private void cbDurationActionPerformed​(java.awt.event.ActionEvent evt)
      Method called when user wants to (not)include duration for each row.
      private void cbNotesActionPerformed​(java.awt.event.ActionEvent evt)
      Method called when user wants to (not)include notes for each row.
      private void cbOccurrencesActionPerformed​(java.awt.event.ActionEvent evt)
      Method called when user wants to (not)include number of occurrences for each row.
      private void cbProjectsTasksActionPerformed​(java.awt.event.ActionEvent evt)
      Method called when user wants to (not)enumerate projects/tasks for each row.
      java.awt.Font getFont()
      Returns font that should be used for all widgets in this component based on the language preferences specified by user.
      private void initComponents()
      This method is called from within the constructor to initialize the form.
      protected boolean isSetCorrectly()
      Returns whether everything is set correctly in the wizard step.
      private void keyPressed​(java.awt.event.KeyEvent evt)
      Method called when user pressed some key.
      void propertyChange​(java.beans.PropertyChangeEvent evt)
      Method called when property of some other wizard step changed.
      private void rbInvoiceProjectsTasksActionPerformed​(java.awt.event.ActionEvent evt)
      User wants to list tasks grouped in projects.
      private void rbInvoiceTasksActionPerformed​(java.awt.event.ActionEvent evt)
      User wants to list only individual tasks.
      private void rbReportProjectsActionPerformed​(java.awt.event.ActionEvent evt)
      Method called when user wants that table rows represent projects.
      private void rbReportTasksActionPerformed​(java.awt.event.ActionEvent evt)
      Method called when user wants that table rows represent tasks.
      protected void setFocus()
      Method to set focus to the initial component.
      private void setProperties()  
      private void spDueDateStateChanged​(javax.swing.event.ChangeEvent evt)  
      private void txCurrencyFocusLost​(java.awt.event.FocusEvent evt)
      Method called when Currency textfield loses its focus.
      private void txPriceFocusLost​(java.awt.event.FocusEvent evt)
      Method called when Currency textfield loses its focus.
      private void txTaxFocusLost​(java.awt.event.FocusEvent evt)
      Method called when Currency textfield loses its focus.
      • Methods inherited from class javax.swing.JPanel

        getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
      • Methods inherited from class javax.swing.JComponent

        addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
      • Methods inherited from class java.awt.Container

        add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTree
      • Methods inherited from class java.awt.Component

        action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setMixingCutoutShape, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • cbDuration

        private javax.swing.JCheckBox cbDuration
      • cbFilters

        private javax.swing.JCheckBox cbFilters
      • cbNotes

        private javax.swing.JCheckBox cbNotes
      • cbOccurrences

        private javax.swing.JCheckBox cbOccurrences
      • cbProjectsTasks

        private javax.swing.JCheckBox cbProjectsTasks
      • cbTimesChart

        private javax.swing.JCheckBox cbTimesChart
      • cmbSortBy

        private javax.swing.JComboBox cmbSortBy
      • lbCurrency

        private javax.swing.JLabel lbCurrency
      • lbCustomerDetails

        private javax.swing.JLabel lbCustomerDetails
      • lbDueDate

        private javax.swing.JLabel lbDueDate
      • lbDueDays

        private javax.swing.JLabel lbDueDays
      • lbInvoiceInclude

        private javax.swing.JLabel lbInvoiceInclude
      • lbInvoiceTitle

        private javax.swing.JLabel lbInvoiceTitle
      • lbPaymentDetails

        private javax.swing.JLabel lbPaymentDetails
      • lbPrice

        private javax.swing.JLabel lbPrice
      • lbReportInclude

        private javax.swing.JLabel lbReportInclude
      • lbReportTitle

        private javax.swing.JLabel lbReportTitle
      • lbRows

        private javax.swing.JLabel lbRows
      • lbShow

        private javax.swing.JLabel lbShow
      • lbSortBy

        private javax.swing.JLabel lbSortBy
      • lbTax

        private javax.swing.JLabel lbTax
      • lbTaxPercentage

        private javax.swing.JLabel lbTaxPercentage
      • lbYourDetails

        private javax.swing.JLabel lbYourDetails
      • pnInvoice

        private javax.swing.JPanel pnInvoice
      • pnReport

        private javax.swing.JPanel pnReport
      • rbInvoiceProjectsTasks

        private javax.swing.JRadioButton rbInvoiceProjectsTasks
      • rbInvoiceTasks

        private javax.swing.JRadioButton rbInvoiceTasks
      • rbReportProjects

        private javax.swing.JRadioButton rbReportProjects
      • rbReportTasks

        private javax.swing.JRadioButton rbReportTasks
      • spCustomerDetails

        private javax.swing.JScrollPane spCustomerDetails
      • spDueDate

        private javax.swing.JSpinner spDueDate
      • spPaymentDetails

        private javax.swing.JScrollPane spPaymentDetails
      • spYourDetails

        private javax.swing.JScrollPane spYourDetails
      • taCustomerDetails

        private javax.swing.JTextArea taCustomerDetails
      • taPaymentDetails

        private javax.swing.JTextArea taPaymentDetails
      • taYourDetails

        private javax.swing.JTextArea taYourDetails
      • txCurrency

        private javax.swing.JTextField txCurrency
      • txInvoiceTitle

        private javax.swing.JTextField txInvoiceTitle
      • txPrice

        private javax.swing.JTextField txPrice
      • txReportTitle

        private javax.swing.JTextField txReportTitle
      • txTax

        private javax.swing.JTextField txTax
      • previousDueDays

        private java.lang.Integer previousDueDays
      • sortBy

        private java.util.Vector sortBy
    • Constructor Detail

      • ReportContentWizardStep

        public ReportContentWizardStep​(GenericWizard wizard)
        Creates new form ReportTypeWizardStep
    • Method Detail

      • getFont

        public java.awt.Font getFont()
        Returns font that should be used for all widgets in this component based on the language preferences specified by user.
        Specified by:
        getFont in interface java.awt.MenuContainer
        Overrides:
        getFont in class WizardStep
        Returns:
        Font to be used in this component.
      • initComponents

        private void initComponents()
        This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.
      • rbReportTasksActionPerformed

        private void rbReportTasksActionPerformed​(java.awt.event.ActionEvent evt)
        Method called when user wants that table rows represent tasks.
        Parameters:
        evt - Event that generated this call.
      • rbReportProjectsActionPerformed

        private void rbReportProjectsActionPerformed​(java.awt.event.ActionEvent evt)
        Method called when user wants that table rows represent projects.
        Parameters:
        evt - Event that generated this call.
      • cbDurationActionPerformed

        private void cbDurationActionPerformed​(java.awt.event.ActionEvent evt)
        Method called when user wants to (not)include duration for each row.
        Parameters:
        evt - Event that generated this call.
      • cbProjectsTasksActionPerformed

        private void cbProjectsTasksActionPerformed​(java.awt.event.ActionEvent evt)
        Method called when user wants to (not)enumerate projects/tasks for each row.
        Parameters:
        evt - Event that generated this call.
      • cbOccurrencesActionPerformed

        private void cbOccurrencesActionPerformed​(java.awt.event.ActionEvent evt)
        Method called when user wants to (not)include number of occurrences for each row.
        Parameters:
        evt - Event that generated this call.
      • cbNotesActionPerformed

        private void cbNotesActionPerformed​(java.awt.event.ActionEvent evt)
        Method called when user wants to (not)include notes for each row.
        Parameters:
        evt - Event that generated this call.
      • rbInvoiceProjectsTasksActionPerformed

        private void rbInvoiceProjectsTasksActionPerformed​(java.awt.event.ActionEvent evt)
        User wants to list tasks grouped in projects.
        Parameters:
        evt - Event that generated this call.
      • rbInvoiceTasksActionPerformed

        private void rbInvoiceTasksActionPerformed​(java.awt.event.ActionEvent evt)
        User wants to list only individual tasks.
        Parameters:
        evt - Event that generated this call.
      • txCurrencyFocusLost

        private void txCurrencyFocusLost​(java.awt.event.FocusEvent evt)
        Method called when Currency textfield loses its focus.
        Parameters:
        evt - Event that generated this call.
      • txTaxFocusLost

        private void txTaxFocusLost​(java.awt.event.FocusEvent evt)
        Method called when Currency textfield loses its focus.
        Parameters:
        evt - Event that generated this call.
      • txPriceFocusLost

        private void txPriceFocusLost​(java.awt.event.FocusEvent evt)
        Method called when Currency textfield loses its focus.
        Parameters:
        evt - Event that generated this call.
      • keyPressed

        private void keyPressed​(java.awt.event.KeyEvent evt)
        Method called when user pressed some key.
        Parameters:
        evt - Event that generated this call.
      • spDueDateStateChanged

        private void spDueDateStateChanged​(javax.swing.event.ChangeEvent evt)
      • propertyChange

        public void propertyChange​(java.beans.PropertyChangeEvent evt)
        Method called when property of some other wizard step changed.
        Specified by:
        propertyChange in interface java.beans.PropertyChangeListener
        Specified by:
        propertyChange in class WizardStep
        Parameters:
        evt - Event that generated this call.
      • isSetCorrectly

        protected boolean isSetCorrectly()
        Returns whether everything is set correctly in the wizard step.
        Specified by:
        isSetCorrectly in class WizardStep
        Returns:
        True if wizard step is set correctly.
      • setFocus

        protected void setFocus()
        Method to set focus to the initial component.
        Specified by:
        setFocus in class WizardStep
      • setProperties

        private void setProperties()