public class PreviewPane extends JPanel implements ReportEventSource
JPanel.AccessibleJPanel
JComponent.AccessibleJComponent
Container.AccessibleAWTContainer
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
Modifier and Type | Field and Description |
---|---|
static String |
CLOSED_PROPERTY |
static String |
ERROR_PROPERTY |
static String |
ICON_THEME_PROPERTY |
static String |
MENU_PROPERTY |
static String |
NUMBER_OF_PAGES_PROPERTY |
static String |
PAGE_NUMBER_PROPERTY |
static String |
PAGINATED_PROPERTY |
static String |
PAGINATING_PROPERTY |
static String |
PREVIEW_MAXIMUM_HEIGHT
The maximum height key.
|
static String |
PREVIEW_MAXIMUM_WIDTH
The maximum width key.
|
static String |
PREVIEW_PREFERRED_HEIGHT
The preferred height key.
|
static String |
PREVIEW_PREFERRED_WIDTH
The preferred width key.
|
static String |
REPORT_CONTROLLER_PROPERTY |
static String |
REPORT_JOB_PROPERTY |
static String |
STATUS_TEXT_PROPERTY |
static String |
STATUS_TYPE_PROPERTY |
static String |
TITLE_PROPERTY |
static String |
ZOOM_MAXIMUM_KEY
The maximum zoom key.
|
static String |
ZOOM_MINIMUM_KEY
The minimum zoom key.
|
static String |
ZOOM_PROPERTY |
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
Constructor and Description |
---|
PreviewPane()
Creates a new
JPanel with a double buffer and a flow layout. |
PreviewPane(boolean init) |
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
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
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
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, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, 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, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener
public static final String STATUS_TEXT_PROPERTY
public static final String STATUS_TYPE_PROPERTY
public static final String REPORT_CONTROLLER_PROPERTY
public static final String ZOOM_PROPERTY
public static final String CLOSED_PROPERTY
public static final String ERROR_PROPERTY
public static final String REPORT_JOB_PROPERTY
public static final String PAGINATING_PROPERTY
public static final String PAGINATED_PROPERTY
public static final String PAGE_NUMBER_PROPERTY
public static final String NUMBER_OF_PAGES_PROPERTY
public static final String ICON_THEME_PROPERTY
public static final String TITLE_PROPERTY
public static final String MENU_PROPERTY
public static final String PREVIEW_PREFERRED_WIDTH
public static final String PREVIEW_PREFERRED_HEIGHT
public static final String PREVIEW_MAXIMUM_WIDTH
public static final String PREVIEW_MAXIMUM_HEIGHT
public static final String ZOOM_MAXIMUM_KEY
public static final String ZOOM_MINIMUM_KEY
public PreviewPane()
JPanel
with a double buffer and a flow layout.public PreviewPane(boolean init)
protected JComboBox createZoomSelector(PreviewPane pane)
public PreviewDrawablePanel getReportPreviewArea()
public boolean isDeferredRepagination()
public void setDeferredRepagination(boolean deferredRepagination)
public PrintReportProcessor getPrintReportProcessor()
protected void setPrintReportProcessor(PrintReportProcessor printReportProcessor)
public JMenu[] getMenu()
protected void setMenu(JMenu[] menus)
public JToolBar getToolBar()
public String getStatusText()
public void setStatusText(String statusText)
public Throwable getError()
public void setError(Throwable error)
public StatusType getStatusType()
public void setStatusType(StatusType statusType)
public ReportController getReportController()
public void setReportController(ReportController reportController)
public MasterReport getReportJob()
getReportJob
in interface ReportEventSource
public void setReportJob(MasterReport reportJob)
public double getZoom()
public void setZoom(double zoom)
public boolean isClosed()
public void setClosed(boolean closed)
public int getNumberOfPages()
getNumberOfPages
in interface ReportEventSource
public void setNumberOfPages(int numberOfPages)
public int getPageNumber()
getPageNumber
in interface ReportEventSource
public void setPageNumber(int pageNumber)
public IconTheme getIconTheme()
protected void setIconTheme(IconTheme theme)
protected void initializeFromReport()
protected void initializeWithoutJob()
protected float parseRelativeFloat(String value)
protected Action[] getToolbarPreActions()
protected JToolBar buildToolbar(boolean floatable)
public void setToolbarFloatable(boolean toolbarFloatable)
public boolean isToolbarFloatable()
public SwingGuiContext getSwingGuiContext()
public KeyedComboBoxModel<Double,String> getZoomModel()
protected final String formatZoomText(double zoom)
public String getTitle()
public void setTitle(String title)
public double[] getZoomFactors()
public boolean isPaginated()
isPaginated
in interface ReportEventSource
public void setPaginated(boolean paginated)
public boolean isPaginating()
isPaginating
in interface ReportEventSource
public void setPaginating(boolean paginating)
public void startPagination()
protected Worker createWorker()
public Object getNoReportDrawable()
public void setNoReportDrawable(Object noReportDrawable)
public Object getPaginatingDrawable()
public void setPaginatingDrawable(Object paginatingDrawable)
protected void updateVisiblePage(int pageNumber)
protected StatusListener getStatusListener()
public void addReportProgressListener(ReportProgressListener progressListener)
public void removeReportProgressListener(ReportProgressListener progressListener)
protected void forwardReportStartedEvent(ReportProgressEvent event)
protected void forwardReportUpdateEvent(ReportProgressEvent event)
protected void forwardReportFinishedEvent(ReportProgressEvent event)
public void addReportHyperlinkListener(ReportHyperlinkListener listener)
public void removeReportHyperlinkListener(ReportHyperlinkListener listener)
protected boolean isHyperlinkSystemActive()
protected void fireReportHyperlinkEvent(ReportHyperlinkEvent event)
protected Configuration computeContextConfiguration()
Copyright © 2017 Hitachi Vantara. All rights reserved.