public class CustomJasperViewerToolbar extends net.sf.jasperreports.swing.JRViewerToolbar implements Internationalization
JPanel.AccessibleJPanelJComponent.AccessibleJComponentContainer.AccessibleAWTContainerComponent.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategybtnActualSize, btnFirst, btnFitPage, btnFitWidth, btnLast, btnNext, btnPrevious, btnPrint, btnReload, btnSave, btnZoomIn, btnZoomOut, cmbZoom, defaultZoomIndex, lastFolder, lastSaveContributor, MAX_ZOOM, MIN_ZOOM, pnlSep01, pnlSep02, pnlSep03, saveContributors, txtGoTo, viewerContext, zoomDecimalFormat, zoomsaccessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOWBOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTDEBUG_LANGUAGEABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH| Constructor and Description |
|---|
CustomJasperViewerToolbar(net.sf.jasperreports.swing.JRViewerController viewerContext,
DefaultReportDialog reportDialog) |
| Modifier and Type | Method and Description |
|---|---|
void |
changeToolbarIcons() |
void |
createTitleandDescription(DefaultReportDialog reportDialog) |
JTextField |
getDescriptionField() |
Vector |
getTextsToTranslate()
Returns all the texts in the element suitable for being translated.
|
JPanel |
getTitleAndDescriptionPanel() |
JTextField |
getTitleField() |
double |
getZoom() |
protected float |
getZoomRatio() |
protected void |
initComponents() |
protected void |
initSaveContributors() |
boolean |
isfocusAdapterAdded() |
void |
setComponentLocale(Locale l) |
void |
setFocusAdapterAdded(boolean focusAdapterAdded) |
void |
setFocusAdapters(DefaultReportDialog reportDialog) |
void |
setLayout(LayoutManager arg0) |
void |
setResourceBundle(ResourceBundle resourceBundle)
Sets the language resource bundle.
|
void |
setZoom(double zoom) |
addComponentKeyListener, addSaveContributor, fitPage, fitWidth, getSaveContributors, init, isFitPage, isFitWidth, pageChanged, refreshPage, removeSaveContributor, reportLoaded, setFitWidth, setSaveContributors, viewerEvent, zoomChangedgetAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUIaddAncestorListener, 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, 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, updateadd, 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, transferFocusDownCycle, validate, validateTreeaction, 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, transferFocusUpCyclepublic static final String TXT_GO_TO_PAGE_TOOLTIP_KEY
public static final String BTN_SAVE_TOOLTIP_KEY
public static final String BTN_ZOOM_IN_TOOLTIP_KEY
public static final String BTN_ZOOM_OUT_TOOLTIP_KEY
public static final String BTN_SEE_ALL_TOOLTIP_KEY
public static final String BTN_PAPER_FIT_WIDTH_TOOLTIP_KEY
public static final String BTN_PAPER_CURRENT_SIZE_TOOLTIP_KEY
public static final String BTN_END_TOOLTIP_KEY
public static final String BTN_NEXT_TOOLTIP_KEY
public static final String BTN_PREV_TOOLTIP_KEY
public static final String BTN_START_TOOLTIP_KEY
public static final String BTN_REFRESH_TOOLTIP_KEY
public static final String BTN_PRINT_TOOLTIP_KEY
public static final String SAVE_CONTRIBUTOR_CSV
public static final String SAVE_CONTRIBUTOR_DOCX
public static final String SAVE_CONTRIBUTOR_HTML
public static final String SAVE_CONTRIBUTOR_JASPER
public static final String SAVE_CONTRIBUTOR_ODT
public static final String SAVE_CONTRIBUTOR_PDF
public static final String SAVE_CONTRIBUTOR_RTF
public static final String SAVE_CONTRIBUTOR_XLS_SINGLE_SHEET
public static final String SAVE_CONTRIBUTOR_XLS_MULTIPLE_SHEET
public static final String SAVE_CONTRIBUTOR_XML
public static final String SAVE_CONTRIBUTOR_XML_EMBEDDED_IMAGES
public static double defaultZoomRatio
protected double zoom
protected JTextField title
protected JTextField reportDescripcion
protected LayoutManager toolbarLayout
protected JPanel textPanel
protected FocusAdapter focusAdapterTitle
protected FocusAdapter focusAdapterDescription
protected boolean focusAdapterAdded
public CustomJasperViewerToolbar(net.sf.jasperreports.swing.JRViewerController viewerContext,
DefaultReportDialog reportDialog)
public boolean isfocusAdapterAdded()
public void setFocusAdapterAdded(boolean focusAdapterAdded)
protected void initComponents()
protected void initSaveContributors()
initSaveContributors in class net.sf.jasperreports.swing.JRViewerToolbarpublic JTextField getTitleField()
public JTextField getDescriptionField()
public JPanel getTitleAndDescriptionPanel()
public void setLayout(LayoutManager arg0)
public void changeToolbarIcons()
public double getZoom()
public void setZoom(double zoom)
public void createTitleandDescription(DefaultReportDialog reportDialog)
public void setFocusAdapters(DefaultReportDialog reportDialog)
protected float getZoomRatio()
getZoomRatio in class net.sf.jasperreports.swing.JRViewerToolbarpublic void setComponentLocale(Locale l)
setComponentLocale in interface Internationalizationpublic void setResourceBundle(ResourceBundle resourceBundle)
InternationalizationsetResourceBundle in interface InternationalizationresourceBundle - the new language bundle.public Vector getTextsToTranslate()
InternationalizationgetTextsToTranslate in interface InternationalizationCopyright © 2016 Imatia Innovation S.L.. All rights reserved.