public class FPDFViewer extends FPanel implements FormElementWithDisplayPropertyI, AsyncRefreshExecutorI, de.ipcon.swing.AnnotationListener
| Modifier and Type | Field and Description |
|---|---|
static java.util.LinkedHashMap |
myActions |
static java.util.HashMap |
myAttributes |
static java.util.HashMap |
myElements |
XMLConfigureInfoinhibitFocusChange, SCROLLING_MODE_ANY, SCROLLING_MODE_HORIZONTAL_ONLY, SCROLLING_MODE_VERTICAL_ONLY, TEXTURE_CENTERED, TEXTURE_REPEATTOOL_TIP_TEXT_KEY, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOWBOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTALL_ACTIONS, AVAILABLE_ACTION_KIND, CONTEXTMENU_ACTION_KIND, LOCAL_ACTION_KIND, MENU_ACTION_KIND, NO_LOCAL_ACTION_KIND, NO_TOPMDI_ONLY_ACTION_KIND, NOT_AVAILABLE_ACTION_KIND, REFRESH_FROM_TRANSACTION, REFRESH_FROM_USER, SHORTCUT_ACTION_KIND, TOOLBAR_ACTION_KIND, TOPMDI_ONLY_ACTION_KIND| Constructor and Description |
|---|
FPDFViewer(FormContextI _ftx,
electric.xml.Element _confroot) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
action_fitOnPage_enabled() |
void |
action_fitOnPage() |
void |
action_fitOnPage(java.awt.event.ActionEvent a) |
boolean |
action_nextPage_enabled() |
void |
action_nextPage() |
void |
action_nextPage(java.awt.event.ActionEvent a) |
boolean |
action_nextVPage_enabled() |
void |
action_nextVPage() |
boolean |
action_open_enabled() |
void |
action_open() |
void |
action_open(java.awt.event.ActionEvent a) |
boolean |
action_previousPage_enabled() |
void |
action_previousPage() |
void |
action_previousPage(java.awt.event.ActionEvent a) |
boolean |
action_previousVPage_enabled() |
void |
action_previousVPage() |
boolean |
action_print_enabled() |
void |
action_print() |
void |
action_print(java.awt.event.ActionEvent a) |
boolean |
action_saveAs_enabled() |
void |
action_saveAs() |
void |
action_saveAs(java.awt.event.ActionEvent a) |
boolean |
action_turnLeft_enabled() |
void |
action_turnLeft() |
void |
action_turnLeft(java.awt.event.ActionEvent a) |
boolean |
action_turnRight_enabled() |
void |
action_turnRight() |
void |
action_turnRight(java.awt.event.ActionEvent a) |
boolean |
action_zoomIn_enabled() |
void |
action_zoomIn() |
void |
action_zoomIn(java.awt.event.ActionEvent a) |
boolean |
action_zoomOut_enabled() |
void |
action_zoomOut() |
void |
action_zoomOut(java.awt.event.ActionEvent a) |
void |
annotationAdded(de.ipcon.swing.Annotation anno) |
void |
annotationChanged(de.ipcon.swing.Annotation anno) |
void |
annotationRemoved(de.ipcon.swing.Annotation anno) |
void |
annotationsDrawn(java.util.List annos) |
void |
annotationSelected(de.ipcon.swing.Annotation anno) |
java.lang.Object |
calculateDisplayValue(AsyncRefreshRequestI r)
Calculates a display value for an asynchronous refresh request.
|
boolean |
calculationMightBeExpensive() |
void |
close() |
void |
drawAnnotations(java.util.List annos) |
java.util.HashMap |
getAttributeMap()
Returns the map of attributes supported by this FPanel.
|
java.util.LinkedHashMap |
getDefaultActionMap()
Returns the default action map for this FPanel.
|
java.lang.String |
getDisplayProperty() |
java.util.HashMap |
getElementMap()
Returns the map of elements supported by this FPanel.
|
BO |
getRealBO() |
void |
handleAnnotationColorEditA(electric.xml.Attribute a) |
void |
handleAnnotationColorSavedA(electric.xml.Attribute a) |
void |
handleAnnotationFontA(electric.xml.Attribute a) |
void |
handleBufferedImageA(electric.xml.Attribute a) |
void |
handleEnableAnnotationsA(electric.xml.Attribute a) |
void |
handleFitOnPageA(electric.xml.Attribute a) |
void |
handleFitWidthA(electric.xml.Attribute a) |
void |
handleForceAntialiasingA(electric.xml.Attribute a) |
void |
handleLowQualityA(electric.xml.Attribute a) |
void |
handleOnAnnotationAddedE(electric.xml.Element e) |
void |
handleOnAnnotationChangedE(electric.xml.Element e) |
void |
handleOnAnnotationRemovedE(electric.xml.Element e) |
void |
handleOnAnnotationSelectedE(electric.xml.Element e) |
void |
handlePropertyA(electric.xml.Attribute a) |
void |
handleScaleBicubicA(electric.xml.Attribute a) |
void |
handleScaleToFitA(electric.xml.Attribute a) |
void |
handleZoomValueA(electric.xml.Attribute a) |
void |
initGroovyScript() |
void |
lockDisplayValue()
Locks the UI component that displays the value to prevent concurrent inputs during
async refresh operations.
|
void |
postRefresh() |
void |
postRefresh(int from) |
void |
refresh(int from) |
void |
registerActionImpl(FormAction a) |
void |
renderDisplayValue(AsyncRefreshRequestI r,
java.lang.Object displayValue)
Renders the calculated value on the UI.
|
void |
restoreLockstateOfDisplayValue()
Unlocks the UI component that displays the value again.
|
void |
setDisplayProperty(java.lang.String $18) |
void |
setExplicitBytes(byte[] bytes) |
void |
setSize(java.awt.Dimension d) |
void |
setSize(int w,
int h) |
java.io.File |
writePdfTo(java.io.File f) |
_refreshActions, action_editForm_available, action_editForm_enabled, action_editForm, action_refreshView_available, action_refreshView, action_reopenView_available, action_reopenView_enabled, action_reopenView, addBeanA, addFormElementListener, addHandleA, addHandleE, afterSave, afterSetValue, assureTransferHandler, beforeSave, beforeSetValue, callLog, cancelPendingRefreshRequests, checkEditable, checkVisible, evalScript, evalScript, evalScript, evalScript, evalScript, fhide, focusNextComponent, focusPreviousComponent, fshow, getActions, getActionsOfKind, getActionsOfKind, getBO, getConfRoot, getCtx, getDebugName, getFormActions, getFtx, getInstrumentedSchema, getLastRefreshRequest, getMaximumSize, getMinimumSize, getMissingPropertiesPolicy, getPreferredSize, getRefreshRequestsPending, getSchema, handleActionE, handleAttributes, handleDropAllowedIfE, handleEditableA, handleEditableIfE, handleElement, handleElements, handleElements, handleElements, handleImpliedA, handleMaximumSizeA, handleMaxSizeA, handleMinimumSizeA, handleMinSizeA, handleMissingPropertiesPolicyA, handleNameA, handleNewElement, handleNewElement, handleNewElement, handleOnAfterSaveE, handleOnAfterSetValueE, handleOnBeforeSaveE, handleOnBeforeSetValueE, handleOnConstructionE, handleOnDropE, handleOnFocusGainedE, handleOnFocusLostE, handleOnMDIActivateE, handleOnMDICloseE, handleOnMDIDeactivateE, handleOnMDIOpenE, handleOnRefreshE, handleOnSyncE, handlePreferredSizeA, handlePrefSizeA, handleScriptE, handleVirtualPropertyE, handleVisibleIfE, hasPreferredSizeOverride, invokeAction, invokeAction, isClosed, isDebug, isDefinedEditable, isEditable, isExplicitEditable, isGUIBuilt, isImpliedElement, isInputPossible, isShown, mdiActivate, mdiClose, mdiDeactivate, mdiOpen, postConstructor, postInit, postRefresh, processFocusVeto, processFocusVeto, queueDelayedRefresh, queueDelayedRefresh, reallyHandleVirtualPropertyE, refresh, refreshActions, refreshActions, registerFormAction, removeFormElementListener, requestFocus, requestFocusInWindow, requestFocusInWindow, runAndDeclare, runAndDeclare, setConfRoot, setDebug, setEditable, setFtx, setGUIBuilt, setMissingPropertiesPolicy, setShown, shouldShow, sync, syncImpl, waitForAsyncRefreshes, willCareForChildActions, willCareForChildRefreshgetPreferredScrollableViewportSize, getScrollableBlockIncrement, getScrollableTracksViewportHeight, getScrollableTracksViewportWidth, getScrollableUnitIncrement, getScrollingMode, grabFocus, init, init, init, paintComponent, setScrollingMode, setTexturegetAccessibleContext, getUI, getUIClassID, setUI, updateUIaddAncestorListener, 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, getNextFocusableComponent, getPopupLocation, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintImmediately, paintImmediately, print, printAll, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, 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, updateadd, 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, transferFocusDownCycle, validateaction, 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, 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, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycleequals, getClass, hashCode, notify, notifyAll, wait, wait, waitaddFormElementListener, afterSave, afterSetValue, beforeSave, beforeSetValue, getActions, getActionsOfKind, getConfRoot, getCtx, getDebugName, getFtx, getName, getSchema, handleAttributes, handleElement, handleElements, handleNewElement, isClosed, isDebug, isEditable, isGUIBuilt, isInputPossible, isShown, mdiActivate, mdiClose, mdiDeactivate, mdiOpen, postInit, refresh, removeFormElementListener, requestFocus, setEditable, sync, toDebugName, willCareForChildActions, willCareForChildRefreshpublic static java.util.HashMap myAttributes
public static java.util.HashMap myElements
public static java.util.LinkedHashMap myActions
public FPDFViewer(FormContextI _ftx, electric.xml.Element _confroot)
public void close()
close in interface FormElementIclose in class FPanelpublic void initGroovyScript()
public void handlePropertyA(electric.xml.Attribute a)
public void handleLowQualityA(electric.xml.Attribute a)
public void handleForceAntialiasingA(electric.xml.Attribute a)
public void handleBufferedImageA(electric.xml.Attribute a)
public void handleScaleBicubicA(electric.xml.Attribute a)
public void handleFitWidthA(electric.xml.Attribute a)
public void handleFitOnPageA(electric.xml.Attribute a)
public void handleScaleToFitA(electric.xml.Attribute a)
public void handleEnableAnnotationsA(electric.xml.Attribute a)
public void handleAnnotationFontA(electric.xml.Attribute a)
public void handleAnnotationColorEditA(electric.xml.Attribute a)
public void handleAnnotationColorSavedA(electric.xml.Attribute a)
public void handleZoomValueA(electric.xml.Attribute a)
public void handleOnAnnotationAddedE(electric.xml.Element e)
public void handleOnAnnotationRemovedE(electric.xml.Element e)
public void handleOnAnnotationChangedE(electric.xml.Element e)
public void handleOnAnnotationSelectedE(electric.xml.Element e)
public void registerActionImpl(FormAction a)
registerActionImpl in class FPanelpublic java.util.HashMap getAttributeMap()
FPanelSubclasses can and should override this method to provide their own attribute map.
getAttributeMap in interface FormElementIgetAttributeMap in class FPanelpublic java.util.HashMap getElementMap()
FPanelSubclasses can and should override this method to provide their own element map.
getElementMap in interface FormElementIgetElementMap in class FPanelpublic java.util.LinkedHashMap getDefaultActionMap()
FPanelSubclasses can and should override this method to provide their own default action map.
getDefaultActionMap in class FPanelpublic void refresh(int from)
refresh in interface FormElementIrefresh in class FPanelpublic boolean calculationMightBeExpensive()
calculationMightBeExpensive in class FPanelpublic void postRefresh()
postRefresh in class FPanelpublic void postRefresh(int from)
postRefresh in interface FormElementIpostRefresh in class FPanelpublic void setExplicitBytes(byte[] bytes)
public void setSize(java.awt.Dimension d)
setSize in class java.awt.Componentpublic void setSize(int w,
int h)
setSize in class java.awt.Componentpublic void annotationAdded(de.ipcon.swing.Annotation anno)
annotationAdded in interface de.ipcon.swing.AnnotationListenerpublic void annotationSelected(de.ipcon.swing.Annotation anno)
annotationSelected in interface de.ipcon.swing.AnnotationListenerpublic void annotationChanged(de.ipcon.swing.Annotation anno)
annotationChanged in interface de.ipcon.swing.AnnotationListenerpublic void annotationRemoved(de.ipcon.swing.Annotation anno)
annotationRemoved in interface de.ipcon.swing.AnnotationListenerpublic void annotationsDrawn(java.util.List annos)
annotationsDrawn in interface de.ipcon.swing.AnnotationListenerpublic void drawAnnotations(java.util.List annos)
public java.lang.Object calculateDisplayValue(AsyncRefreshRequestI r)
AsyncRefreshExecutorIcalculateDisplayValue in interface AsyncRefreshExecutorIr - The refresh request containing all necessary
context and data for the calculation.public void renderDisplayValue(AsyncRefreshRequestI r, java.lang.Object displayValue)
AsyncRefreshExecutorIrenderDisplayValue in interface AsyncRefreshExecutorIr - The original refresh request.displayValue - The raw Object value returned by the calculateDisplayValue method,
or a caught Exception.public void lockDisplayValue()
AsyncRefreshExecutorIlockDisplayValue in interface AsyncRefreshExecutorIpublic void restoreLockstateOfDisplayValue()
AsyncRefreshExecutorIrestoreLockstateOfDisplayValue in interface AsyncRefreshExecutorIpublic void action_nextPage()
public void action_nextPage(java.awt.event.ActionEvent a)
public boolean action_nextPage_enabled()
public void action_previousPage()
public void action_previousPage(java.awt.event.ActionEvent a)
public boolean action_previousPage_enabled()
public void action_fitOnPage()
public void action_fitOnPage(java.awt.event.ActionEvent a)
public boolean action_fitOnPage_enabled()
public void action_zoomIn()
public void action_zoomIn(java.awt.event.ActionEvent a)
public boolean action_zoomIn_enabled()
public void action_zoomOut()
public void action_zoomOut(java.awt.event.ActionEvent a)
public boolean action_zoomOut_enabled()
public void action_turnLeft()
public void action_turnLeft(java.awt.event.ActionEvent a)
public boolean action_turnLeft_enabled()
public void action_turnRight()
public void action_turnRight(java.awt.event.ActionEvent a)
public boolean action_turnRight_enabled()
public void action_print()
public void action_print(java.awt.event.ActionEvent a)
public boolean action_print_enabled()
public void action_saveAs()
public void action_saveAs(java.awt.event.ActionEvent a)
public boolean action_saveAs_enabled()
public void action_open()
public void action_open(java.awt.event.ActionEvent a)
public boolean action_open_enabled()
public boolean action_previousVPage_enabled()
public void action_previousVPage()
public boolean action_nextVPage_enabled()
public void action_nextVPage()
public BO getRealBO()
public java.io.File writePdfTo(java.io.File f)
public java.lang.String getDisplayProperty()
getDisplayProperty in interface FormElementWithDisplayPropertyIpublic void setDisplayProperty(java.lang.String $18)
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.