com.stimulsoft.viewer
Class StiViewerFx

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by javax.swing.JComponent
              extended by javax.swing.JPanel
                  extended by com.stimulsoft.viewer.StiViewerFx
All Implemented Interfaces:
StiViewSettings, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible

public class StiViewerFx
extends javax.swing.JPanel
implements StiViewSettings

Copyright Stimulsoft

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.JComponent
javax.swing.JComponent.AccessibleJComponent
 
Nested classes/interfaces inherited from class java.awt.Component
java.awt.Component.BaselineResizeBehavior
 
Field Summary
static java.awt.Color BACKGROUND_COLOR
           
static java.lang.String LOCALIZATION_FILE_NAME
           
 
Fields inherited from class javax.swing.JComponent
TOOL_TIP_TEXT_KEY, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface com.stimulsoft.viewer.utils.StiViewSettings
CATEGORY_VIEWER, FIND_MATCH_CASE, FIND_MATCH_WHOLE_WORD, KEY_BOOKMARKS_WIDTH, KEY_MAIL_FROM, KEY_MAIL_HOST, KEY_MAIL_NEED_AUTH, KEY_MAIL_PORT, KEY_MAIL_RECIPIENTS, KEY_MAIL_USE_SSL, KEY_MAIL_USER, KEY_SHOW_THUMBNAILS, KEY_THUMBNAILS_WIDTH, KEY_VIEW_MODE, KEY_VIEW_STATE, KEY_ZOOM, REPORT_SAVE_LOAD_PATH
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
StiViewerFx(javax.swing.JFrame parentFrame)
           
 
Method Summary
 void addExitFullScreenButton()
          Add popup topmost button with close full screen mode
 javax.swing.JDialog createPopup(java.awt.Frame parentFrame, boolean modal)
          Create dialog popup viewer window
 javax.swing.JPanel getBottomPanel()
           
 javax.swing.JPanel getCenterBorderPanel()
           
 StiSplitPane getCenterPane()
           
 StiRequestPanel getPanelDialogs()
           
 javax.swing.JFrame getParentFrame()
           
 StiSplitPane getRightPane()
           
 StiBookmarkPannel getStiBookmarkPannel()
           
 StiDesignToolBar getStiDesignToolBar()
           
 StiFindToolBar getStiFindToolBar()
           
 StiMainToolBar getStiMainToolBar()
           
 StiNavigateToolBar getStiNavigateToolBar()
           
 StiThumbnailsPannel getStiThumbnailsPannel()
           
 StiViewModel getStiViewModel()
           
 StiViewModeToolBar getStiViewModeToolBar()
           
 StiViewPannel getStiViewPannel()
           
static void main(java.lang.String[] args)
           
 void showBookmarksPannel(java.lang.Boolean show)
          Show/hide bookmarks pannel
 void showFullScreen(java.lang.Boolean fullScreen)
          Show/hide fullscreen mode
 void showThumbsPannel(java.lang.Boolean show)
          Show/hide thumbs pannel
 void updateTitle(java.lang.String fileName)
           
 
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, setUI, updateUI
 
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, 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, paintImmediately, paintImmediately, print, printAll, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, 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, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, 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, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, createImage, createImage, createVolatileImage, createVolatileImage, dispatchEvent, enable, enableInputMethods, 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, 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, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

LOCALIZATION_FILE_NAME

public static final java.lang.String LOCALIZATION_FILE_NAME
See Also:
Constant Field Values

BACKGROUND_COLOR

public static final java.awt.Color BACKGROUND_COLOR
Constructor Detail

StiViewerFx

public StiViewerFx(javax.swing.JFrame parentFrame)
Method Detail

updateTitle

public void updateTitle(java.lang.String fileName)

showThumbsPannel

public void showThumbsPannel(java.lang.Boolean show)
Show/hide thumbs pannel

Parameters:
show -

showBookmarksPannel

public void showBookmarksPannel(java.lang.Boolean show)
Show/hide bookmarks pannel

Parameters:
show -

showFullScreen

public void showFullScreen(java.lang.Boolean fullScreen)
Show/hide fullscreen mode

Parameters:
fullScreen -

addExitFullScreenButton

public void addExitFullScreenButton()
Add popup topmost button with close full screen mode


getStiMainToolBar

public StiMainToolBar getStiMainToolBar()
Returns:
the stiMainToolBar

getStiDesignToolBar

public StiDesignToolBar getStiDesignToolBar()
Returns:
the stiDesignToolBar

getStiNavigateToolBar

public StiNavigateToolBar getStiNavigateToolBar()
Returns:
the stiNavigateToolBar

getStiViewModeToolBar

public StiViewModeToolBar getStiViewModeToolBar()
Returns:
the stiViewModeToolBar

getStiViewPannel

public StiViewPannel getStiViewPannel()
Returns:
the stiViewPannel

getStiThumbnailsPannel

public StiThumbnailsPannel getStiThumbnailsPannel()
Returns:
the stiThumbnailsPannel

getStiBookmarkPannel

public StiBookmarkPannel getStiBookmarkPannel()
Returns:
the stiBookmarkPannel

getCenterPane

public StiSplitPane getCenterPane()
Returns:
the centerPane

getStiFindToolBar

public StiFindToolBar getStiFindToolBar()
Returns:
the stiFindToolBar

getBottomPanel

public javax.swing.JPanel getBottomPanel()
Returns:
the bottomPanel

getRightPane

public StiSplitPane getRightPane()
Returns:
the rightPane

getParentFrame

public javax.swing.JFrame getParentFrame()
Returns:
the parentFrame

getStiViewModel

public StiViewModel getStiViewModel()
Returns:
the stiViewModel

getPanelDialogs

public StiRequestPanel getPanelDialogs()
Returns:
the panelDialogs

getCenterBorderPanel

public javax.swing.JPanel getCenterBorderPanel()
Returns:
the centerBorderPanel

createPopup

public javax.swing.JDialog createPopup(java.awt.Frame parentFrame,
                                       boolean modal)
Create dialog popup viewer window

Parameters:
parent - Frame parent
modal - modality
Returns:
JDialog viewer owner

main

public static void main(java.lang.String[] args)