jdbreport.view
Class ReportEditorPane
java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
jdbreport.view.ReportPane
jdbreport.view.ReportEditorPane
- All Implemented Interfaces:
- and.finder.Finder, ActionListener, ImageObserver, MenuContainer, PropertyChangeListener, Serializable, EventListener, Accessible, TargetGrid, UndoListener, CellSelectListener, ReportListListener, HeighCalculator
public class ReportEditorPane
- extends ReportPane
- implements CellSelectListener, ActionListener
- Version:
- 2.0 18.04.2012
- Author:
- Andrey Kholmanskih
- See Also:
- Serialized Form
Fields inherited from class jdbreport.view.ReportPane |
CURRENT_DIRECTORY_PATH, CURRENT_FILE_FILTER, CURRENT_FILTER, CURRENT_IMAGE_PATH, EXCEL_COMMAND, gridMenu, JDBREPORT_CONF, LOOK_AND_FEEL, ODS_COMMAND, POS_X, POS_Y, properties, SIZE_HEIGHT, SIZE_WIDTH, WINDOW_STATE |
Methods inherited from class jdbreport.view.ReportPane |
addReportGrid, addReportGrid, addReportGrid, calcRowHeight, canShowGrid, clear, createDefaultReportBook, createFileChooser, createReportGrid, find, findReportGrid, getCaption, getCopyAction, getCutAction, getDefaultFilter, getDeleteAction, getFileTypeClass, getFindAction, getFocusedGrid, getFocusedIndex, getGridMenu, getParentFrame, getPasteAction, getProperties, getRedoAction, getReportBook, getReportFile, getReportGrid, getReportGridList, getSelectAllAction, getStringMetrics, getTabbedIcon, getTabbedPane, getTabCount, getTabMenu, getUndoAction, getUndoStack, hasRedo, hasUndo, incrementalFind, indexOfTabbed, insertReportBook, insertReportGrid, isDirty, isModified, loadSheet, moveSheet, newReport, open, open, open, open, preview, print, print, print, printPdfDocument, printSheet, pushUndo, pushUndo, redo, removeReportGrid, reportAdded, reportMoved, reportRemoved, resetDirty, save, saveAs, saveQuestion, saveSheet, saveSheet, setDirty, setFocusedGrid, setGridMenu, setGridVisible, setReportBook, setTabMenu, setTitle, showFindPanel, undo, unionUndo, updateCaption |
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, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, 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, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, 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, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle |
saveAction
protected Action saveAction
excelCommand
protected String excelCommand
odsCommand
protected String odsCommand
isWindows
public static final boolean isWindows
ReportEditorPane
public ReportEditorPane(and.properties.XMLProperties properties)
createTabMenu
protected JPopupMenu createTabMenu()
createGridMenu
protected JPopupMenu createGridMenu()
fillGridMenu
protected void fillGridMenu(JPopupMenu menu)
fillAdvancedGridMenu
protected void fillAdvancedGridMenu(JPopupMenu menu)
setRowHeight
public void setRowHeight()
setColumnWidth
public void setColumnWidth()
initActions
protected void initActions()
- Overrides:
initActions
in class ReportPane
showAbout
protected void showAbout()
getCoolBar
protected JPanel getCoolBar()
- This method initializes coolBar
- Returns:
- javax.swing.JPanel
createCoolBar
protected JPanel createCoolBar()
addToolBars
protected void addToolBars()
getBorderDialog
protected BorderDialog getBorderDialog()
getFormatBar
protected JToolBar getFormatBar()
getImageMenu
protected JMenu getImageMenu()
exportToCalc
protected void exportToCalc()
showProperties
protected void showProperties()
createPreferences
protected PreferencesDlg createPreferences()
addAlignAction
protected void addAlignAction(JToolBar alignBar)
createUnionCellItem
protected AbstractButton createUnionCellItem()
createRowBreakItem
protected AbstractButton createRowBreakItem()
createColumnBreakItem
protected AbstractButton createColumnBreakItem()
getPageSetupAction
protected Action getPageSetupAction()
getPrintAction
protected Action getPrintAction()
getPreviewAction
protected Action getPreviewAction()
getOpenAction
protected Action getOpenAction()
getImageAction
protected Action getImageAction()
getSaveImageAction
protected Action getSaveImageAction()
getScaleImageAction
protected and.actions.ToggleAction getScaleImageAction()
getDeleteImageAction
protected Action getDeleteImageAction()
getSaveAction
protected Action getSaveAction()
getPropertiesAction
protected Action getPropertiesAction()
getUnionCellAction
protected and.actions.ToggleAction getUnionCellAction()
getAutoHeightAction
protected and.actions.ToggleAction getAutoHeightAction()
getRowBreakAction
protected and.actions.ToggleAction getRowBreakAction()
getColumnBreakAction
protected and.actions.ToggleAction getColumnBreakAction()
cellSelectedChange
public void cellSelectedChange(CellSelectChangedEvent evt)
- implements CellSelectListener
- Specified by:
cellSelectedChange
in interface CellSelectListener
getStandartBar
protected JToolBar getStandartBar()
createInsertRowButton
protected JButton createInsertRowButton()
cellChanged
protected void cellChanged(JReportGrid rep,
CellWrap cellWrap)
isEnabledAction
protected boolean isEnabledAction()
enableAction
protected void enableAction()
disableAction
protected void disableAction()
moveLeftSheet
protected void moveLeftSheet()
moveRightSheet
protected void moveRightSheet()
loadSheet
public boolean loadSheet()
- Overrides:
loadSheet
in class ReportPane
updateSheetActions
protected void updateSheetActions()
- Overrides:
updateSheetActions
in class ReportPane
propertyChange
public void propertyChange(PropertyChangeEvent evt)
- Specified by:
propertyChange
in interface PropertyChangeListener
- Overrides:
propertyChange
in class ReportPane
addGridListeners
protected void addGridListeners(JReportGrid grid)
- Overrides:
addGridListeners
in class ReportPane
removeGridListeners
protected void removeGridListeners(JReportGrid grid)
- Overrides:
removeGridListeners
in class ReportPane
addBorderAction
protected void addBorderAction(BorderDialog bar)
updateUndoRedoState
protected void updateUndoRedoState()
- Overrides:
updateUndoRedoState
in class ReportPane
getAddSheetAction
protected Action getAddSheetAction()
getDelSheetAction
protected Action getDelSheetAction()
getLoadSheetAction
protected Action getLoadSheetAction()
getSaveSheetAction
protected Action getSaveSheetAction()
getMoveLeftSheetAction
protected Action getMoveLeftSheetAction()
getMoveRightSheetAction
protected Action getMoveRightSheetAction()
getPrintSheetAction
protected Action getPrintSheetAction()
getAboutAction
protected Action getAboutAction()
createHelpMenu
protected JMenu createHelpMenu()
getLfMenu
public JMenu getLfMenu()
saveAs
protected boolean saveAs()
getSaveAsAction
protected Action getSaveAsAction()
createFileMenu
protected JMenu createFileMenu()
getExitAction
protected Action getExitAction()
getFileMenu
public JMenu getFileMenu()
getEditMenu
protected JMenu getEditMenu()
createJMenuBar
public JMenuBar createJMenuBar()
getNewAction
protected Action getNewAction()
changeLookAndFeel
public void changeLookAndFeel()
readProperties
protected void readProperties()
saveProperties
protected void saveProperties()
writeProperties
protected void writeProperties()
initProperties
protected void initProperties()
installListeners
protected void installListeners()
- Overrides:
installListeners
in class ReportPane
uninstallListeners
protected void uninstallListeners()
- Overrides:
uninstallListeners
in class ReportPane
showHelp
protected void showHelp()
getHelpWindow
public HelpWindow getHelpWindow()
showHelp
protected void showHelp(URL url)
actionPerformed
public void actionPerformed(ActionEvent e)
- Specified by:
actionPerformed
in interface ActionListener