Package org.cesilko.rachota.gui
Class ReportContentWizardStep
java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
org.cesilko.rachota.gui.WizardStep
org.cesilko.rachota.gui.ReportContentWizardStep
- All Implemented Interfaces:
ImageObserver
,MenuContainer
,PropertyChangeListener
,Serializable
,EventListener
,Accessible
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class javax.swing.JPanel
JPanel.AccessibleJPanel
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate JCheckBox
private JCheckBox
private JCheckBox
private JCheckBox
private JCheckBox
private JCheckBox
private JComboBox
private JLabel
private JLabel
private JLabel
private JLabel
private JLabel
private JLabel
private JLabel
private JLabel
private JLabel
private JLabel
private JLabel
private JLabel
private JLabel
private JLabel
private JLabel
private JLabel
private JPanel
private JPanel
private Integer
private JRadioButton
private JRadioButton
private JRadioButton
private JRadioButton
private Vector
private JScrollPane
private JSpinner
private JScrollPane
private JScrollPane
private JTextArea
private JTextArea
private JTextArea
private JTextField
private JTextField
private JTextField
private JTextField
private JTextField
Fields inherited from class org.cesilko.rachota.gui.WizardStep
description
Fields inherited from class javax.swing.JComponent
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
Fields inherited from class java.awt.Component
accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
-
Constructor Summary
ConstructorsConstructorDescriptionReportContentWizardStep
(GenericWizard wizard) Creates new form ReportTypeWizardStep -
Method Summary
Modifier and TypeMethodDescriptionprivate void
Method called when user wants to (not)include duration for each row.private void
Method called when user wants to (not)include notes for each row.private void
Method called when user wants to (not)include number of occurrences for each row.private void
Method called when user wants to (not)enumerate projects/tasks for each row.getFont()
Returns font that should be used for all widgets in this component based on the language preferences specified by user.private void
This method is called from within the constructor to initialize the form.protected boolean
Returns whether everything is set correctly in the wizard step.private void
keyPressed
(KeyEvent evt) Method called when user pressed some key.void
Method called when property of some other wizard step changed.private void
User wants to list tasks grouped in projects.private void
User wants to list only individual tasks.private void
Method called when user wants that table rows represent projects.private void
Method called when user wants that table rows represent tasks.protected void
setFocus()
Method to set focus to the initial component.private void
private void
private void
Method called when Currency textfield loses its focus.private void
Method called when Currency textfield loses its focus.private void
txTaxFocusLost
(FocusEvent evt) Method called when Currency textfield loses its focus.Methods inherited from class org.cesilko.rachota.gui.WizardStep
getDescription
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
-
Field Details
-
cbDuration
-
cbFilters
-
cbNotes
-
cbOccurrences
-
cbProjectsTasks
-
cbTimesChart
-
cmbSortBy
-
lbCurrency
-
lbCustomerDetails
-
lbDueDate
-
lbDueDays
-
lbInvoiceInclude
-
lbInvoiceTitle
-
lbPaymentDetails
-
lbPrice
-
lbReportInclude
-
lbReportTitle
-
lbRows
-
lbShow
-
lbSortBy
-
lbTax
-
lbTaxPercentage
-
lbYourDetails
-
pnInvoice
-
pnReport
-
rbInvoiceProjectsTasks
-
rbInvoiceTasks
-
rbReportProjects
-
rbReportTasks
-
spCustomerDetails
-
spDueDate
-
spPaymentDetails
-
spYourDetails
-
taCustomerDetails
-
taPaymentDetails
-
taYourDetails
-
txCurrency
-
txInvoiceTitle
-
txPrice
-
txReportTitle
-
txTax
-
previousDueDays
-
sortBy
-
-
Constructor Details
-
ReportContentWizardStep
Creates new form ReportTypeWizardStep
-
-
Method Details
-
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 interfaceMenuContainer
- Overrides:
getFont
in classWizardStep
- 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
Method called when user wants that table rows represent tasks.- Parameters:
evt
- Event that generated this call.
-
rbReportProjectsActionPerformed
Method called when user wants that table rows represent projects.- Parameters:
evt
- Event that generated this call.
-
cbDurationActionPerformed
Method called when user wants to (not)include duration for each row.- Parameters:
evt
- Event that generated this call.
-
cbProjectsTasksActionPerformed
Method called when user wants to (not)enumerate projects/tasks for each row.- Parameters:
evt
- Event that generated this call.
-
cbOccurrencesActionPerformed
Method called when user wants to (not)include number of occurrences for each row.- Parameters:
evt
- Event that generated this call.
-
cbNotesActionPerformed
Method called when user wants to (not)include notes for each row.- Parameters:
evt
- Event that generated this call.
-
rbInvoiceProjectsTasksActionPerformed
User wants to list tasks grouped in projects.- Parameters:
evt
- Event that generated this call.
-
rbInvoiceTasksActionPerformed
User wants to list only individual tasks.- Parameters:
evt
- Event that generated this call.
-
txCurrencyFocusLost
Method called when Currency textfield loses its focus.- Parameters:
evt
- Event that generated this call.
-
txTaxFocusLost
Method called when Currency textfield loses its focus.- Parameters:
evt
- Event that generated this call.
-
txPriceFocusLost
Method called when Currency textfield loses its focus.- Parameters:
evt
- Event that generated this call.
-
keyPressed
Method called when user pressed some key.- Parameters:
evt
- Event that generated this call.
-
spDueDateStateChanged
-
propertyChange
Method called when property of some other wizard step changed.- Specified by:
propertyChange
in interfacePropertyChangeListener
- Specified by:
propertyChange
in classWizardStep
- 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 classWizardStep
- Returns:
- True if wizard step is set correctly.
-
setFocus
protected void setFocus()Method to set focus to the initial component.- Specified by:
setFocus
in classWizardStep
-
setProperties
private void setProperties()
-