java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JInternalFrame
com.memoire.bu.BuInternalFrame
com.memoire.dja.DjaFrame
org.fudaa.ebli.impression.EbliDjaFrame
- All Implemented Interfaces:
- javax.accessibility.Accessible, java.awt.event.ActionListener, com.memoire.bu.BuCutCopyPasteInterface, com.memoire.bu.BuPrintable, com.memoire.bu.BuSelectFindReplaceInterface, EbliPageable, java.util.EventListener, java.awt.image.ImageObserver, java.awt.MenuContainer, java.awt.print.Pageable, javax.swing.RootPaneContainer, java.io.Serializable, javax.swing.WindowConstants
- public class EbliDjaFrame
- extends com.memoire.dja.DjaFrame
- implements EbliPageable
Une "surcharge" de DjaFrame qui gere l'impression.
- Version:
- $Id: EbliDjaFrame.java,v 1.1 2001/11/27 13:27:48 deniger Exp $
| Nested classes inherited from class javax.swing.JInternalFrame |
javax.swing.JInternalFrame.AccessibleJInternalFrame, javax.swing.JInternalFrame.JDesktopIcon |
| Nested classes inherited from class javax.swing.JComponent |
javax.swing.JComponent.AccessibleJComponent |
| Nested classes inherited from class java.awt.Container |
java.awt.Container.AccessibleAWTContainer |
| Nested classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
| Fields inherited from class com.memoire.dja.DjaFrame |
app_, btAddText_, btBack_, btBackground_, btForeground_, btFront_, btOverlap_, btRecenter_, btRemoveText_, btResize_, btTextColor_, btTextFont_, file_, grid_, pbBrcks_, pbForms_, pbLinks_, pbStrks_, pbThkns_, pbUml_, tbInteractive_, tools_ |
| Fields inherited from class javax.swing.JInternalFrame |
closable, CONTENT_PANE_PROPERTY, desktopIcon, FRAME_ICON_PROPERTY, frameIcon, GLASS_PANE_PROPERTY, iconable, IS_CLOSED_PROPERTY, IS_ICON_PROPERTY, IS_MAXIMUM_PROPERTY, IS_SELECTED_PROPERTY, isClosed, isIcon, isMaximum, isSelected, LAYERED_PANE_PROPERTY, maximizable, MENU_BAR_PROPERTY, resizable, ROOT_PANE_PROPERTY, rootPane, rootPaneCheckingEnabled, title, TITLE_PROPERTY |
| Fields inherited from class java.awt.Container |
|
|
Constructor Summary |
EbliDjaFrame(com.memoire.bu.BuCommonImplementation _app,
java.lang.String _file,
com.memoire.dja.DjaGrid _grid)
cf EbliDjaFrame(_app, _file, _grid,true,null) |
EbliDjaFrame(com.memoire.bu.BuCommonImplementation _app,
java.lang.String _file,
com.memoire.dja.DjaGrid _grid,
boolean _tools)
cf EbliDjaFrame(_app, _file, _grid,_tools,null) |
EbliDjaFrame(com.memoire.bu.BuCommonImplementation _app,
java.lang.String _file,
com.memoire.dja.DjaGrid _grid,
boolean _tools,
com.memoire.bu.BuInformationsDocument _id)
Appelle le constructeur de DjaFrame(_app,_file,_grid,_tools. |
| Methods inherited from class com.memoire.dja.DjaFrame |
actionPerformed, copy, cut, duplicate, find, getEnabledActions, getFile, getGrid, getImage, getSource, getSpecificTools, paste, print, replace, select, setFile, setSelected |
| Methods inherited from class com.memoire.bu.BuInternalFrame |
adjustActions, getDisabledActions, getShortcut, getShortcut, getSpecificMenus, setClosed, setRootPane, setRootPaneCheckingEnabled, setShortcut, setVisible, simplifyTop, toString, updateUI |
| Methods inherited from class javax.swing.JInternalFrame |
addImpl, addInternalFrameListener, createRootPane, dispose, doDefaultCloseAction, fireInternalFrameEvent, getAccessibleContext, getContentPane, getDefaultCloseOperation, getDesktopIcon, getDesktopPane, getFocusCycleRootAncestor, getFocusOwner, getFrameIcon, getGlassPane, getInternalFrameListeners, getJMenuBar, getLayer, getLayeredPane, getMenuBar, getMostRecentFocusOwner, getNormalBounds, getRootPane, getTitle, getUI, getUIClassID, getWarningString, hide, isClosable, isClosed, isFocusCycleRoot, isIcon, isIconifiable, isMaximizable, isMaximum, isResizable, isRootPaneCheckingEnabled, isSelected, moveToBack, moveToFront, pack, paintComponent, paramString, remove, removeInternalFrameListener, reshape, restoreSubcomponentFocus, setClosable, setContentPane, setDefaultCloseOperation, setDesktopIcon, setFocusCycleRoot, setFrameIcon, setGlassPane, setIcon, setIconifiable, setJMenuBar, setLayer, setLayer, setLayeredPane, setLayout, setMaximizable, setMaximum, setMenuBar, setNormalBounds, setResizable, setTitle, setUI, show, toBack, toFront |
| Methods inherited from class javax.swing.JComponent |
addAncestorListener, addNotify, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getGraphics, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPreferredSize, getRegisteredKeyStrokes, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFont, setForeground, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, unregisterKeyboardAction, update |
| Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, 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, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, 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, processMouseEvent, 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, size, transferFocus, transferFocusBackward, transferFocusUpCycle |
delegueImpression_
private EbliPageableDelegate delegueImpression_
- Le delegue charge de l'impression
is_
private com.memoire.bu.BuInformationsSoftware is_
- Les informations sur le logiciel utiles pour les entetes et pied de pages.
id_
private com.memoire.bu.BuInformationsDocument id_
- Les informations sur le document utiles pour les entetes et pied de pages.
EbliDjaFrame
public EbliDjaFrame(com.memoire.bu.BuCommonImplementation _app,
java.lang.String _file,
com.memoire.dja.DjaGrid _grid)
- cf
EbliDjaFrame(_app, _file, _grid,true,null)
EbliDjaFrame
public EbliDjaFrame(com.memoire.bu.BuCommonImplementation _app,
java.lang.String _file,
com.memoire.dja.DjaGrid _grid,
boolean _tools)
- cf
EbliDjaFrame(_app, _file, _grid,_tools,null)
EbliDjaFrame
public EbliDjaFrame(com.memoire.bu.BuCommonImplementation _app,
java.lang.String _file,
com.memoire.dja.DjaGrid _grid,
boolean _tools,
com.memoire.bu.BuInformationsDocument _id)
- Appelle le constructeur de
DjaFrame(_app,_file,_grid,_tools.
Si _app est non nulle, recupere les
BuInformationsSoftware;sinon instanciation de nouvelles infos.
De meme pour les BuInformationsDocument. Ces infos sont
utilisees pour les entetes et pied de page (getInformations...
setInformationsSoftware
public void setInformationsSoftware(com.memoire.bu.BuInformationsSoftware _is)
- Modifications des informations utilisees pour les entetes et pieds de
pages.
setInformationsSoftware
public void setInformationsSoftware(com.memoire.bu.BuInformationsDocument _id)
- Modifications des informations utilisees pour les entetes et pieds de
pages.
getPrintable
public java.awt.print.Printable getPrintable(int _i)
- Renvoie une instance de
Printable pour la page
_i.
- Specified by:
getPrintable in interface java.awt.print.Pageable
getPageFormat
public java.awt.print.PageFormat getPageFormat(int _i)
- Renvoie une instance de
PageeFormat pour la page
_i.
- Specified by:
getPageFormat in interface java.awt.print.Pageable
getDefaultEbliPageFormat
public EbliPageFormat getDefaultEbliPageFormat()
- Le format de page utilise par defaut.
- Specified by:
getDefaultEbliPageFormat in interface EbliPageable
getInformationsSoftware
public com.memoire.bu.BuInformationsSoftware getInformationsSoftware()
- Renvoie les informations utilisees pour les entetes et pieds de
pages.
- Specified by:
getInformationsSoftware in interface EbliPageable
getInformationsDocument
public com.memoire.bu.BuInformationsDocument getInformationsDocument()
- Renvoie les informations utilisees pour les entetes et pieds de
pages.
- Specified by:
getInformationsDocument in interface EbliPageable
print
public int print(java.awt.Graphics _g,
java.awt.print.PageFormat _format,
int _numPage)
- Utilise la methode
EbliPrinter.printComponent sur l'objet
DjaGrid.
- Specified by:
print in interface EbliPageable
getNumberOfPages
public int getNumberOfPages()
- Renvoie 1.
- Specified by:
getNumberOfPages in interface java.awt.print.Pageable