module_standard.wImprime
Class JPanelPrint

Object
  extended by Component
      extended by Container
          extended by JComponent
              extended by JPanel
                  extended by module_standard.wImprime.JPanelPrint
All Implemented Interfaces:
java.awt.event.ActionListener, java.awt.event.KeyListener, java.awt.image.ImageObserver, MenuContainer, java.awt.print.Printable, java.beans.PropertyChangeListener, Serializable, java.util.EventListener, javax.accessibility.Accessible, javax.swing.event.CaretListener

public class JPanelPrint
extends JPanel
implements java.awt.print.Printable, java.awt.event.ActionListener, javax.swing.event.CaretListener, java.awt.event.KeyListener, java.beans.PropertyChangeListener


A_doc
Licence.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class JPanel
JPanel.AccessibleJPanel
 
Nested classes/interfaces inherited from class JComponent
JComponent.AccessibleJComponent
 
Nested classes/interfaces inherited from class Container
Container.AccessibleAWTContainer
 
Nested classes/interfaces inherited from class Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
 
Field Summary
(package private)  String export
           
(package private)  String fermer
           
(package private)  String imprime
           
(package private)  String indexDebut
           
(package private)  String indexFin
           
(package private)  JTextButton jbApercu
           
(package private)  JTextButton jbExport
           
(package private)  JTextButton jbImprime
           
(package private)  JLabel jl
           
(package private)  JPdeA jpdea
           
(package private)  JPEntete jpentete
           
(package private)  JPimpListe jpImpListe
           
(package private)  JPanel jpImprime
           
(package private)  JPanel jpNorth
           
(package private)  JPanel jpUser
           
(package private)  JRadio jrb
           
(package private)  JRadio jrbr
           
(package private)  JScrollPane jsp
           
(package private)  JTextDb jtnbListe
           
(package private)  java.awt.print.PageFormat pf
           
(package private)  boolean printWithIndex
           
(package private)  Sql sql
           
(package private)  boolean userprint
           
(package private)  AbstractVue vue
           
 
Fields inherited from class JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
 
Fields inherited from class Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface java.awt.print.Printable
NO_SUCH_PAGE, PAGE_EXISTS
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
JPanelPrint(AbstractVue vue, JPdeA jpdea, JPEntete jpentete)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent arg0)
           
 void adapte()
           
 void addJPDea()
           
 void apercu()
           
 JTextButton appendButtonExport(String ActionCommand)
           
 JTextButton appendButtonImprimer(String ActionCommand)
           
 void caretUpdate(javax.swing.event.CaretEvent arg0)
           
 void keyPressed(java.awt.event.KeyEvent arg0)
           
 void keyReleased(java.awt.event.KeyEvent arg0)
           
 void keyTyped(java.awt.event.KeyEvent arg0)
           
 void print()
           
 int print(Graphics g, java.awt.print.PageFormat pf, int pageIndex)
           
 void propertyChange(java.beans.PropertyChangeEvent arg0)
           
 void removeJPDea()
           
 void userUpdate()
           
 
Methods inherited from class JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
 
Methods inherited from class JComponent
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, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, 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
 
Methods inherited from class Container
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, transferFocusBackward, transferFocusDownCycle, validate, validateTree
 
Methods inherited from class 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, 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, transferFocusUpCycle
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

sql

Sql sql

vue

AbstractVue vue

jpImpListe

JPimpListe jpImpListe

jpdea

JPdeA jpdea

jpentete

JPEntete jpentete

jsp

JScrollPane jsp

jpNorth

JPanel jpNorth

jpUser

JPanel jpUser

jpImprime

JPanel jpImprime

imprime

String imprime

export

String export

jbImprime

JTextButton jbImprime

jbExport

JTextButton jbExport

fermer

String fermer

jbApercu

JTextButton jbApercu

jtnbListe

JTextDb jtnbListe

jrb

JRadio jrb

jrbr

JRadio jrbr

jl

JLabel jl

pf

java.awt.print.PageFormat pf

userprint

boolean userprint

printWithIndex

boolean printWithIndex

indexDebut

String indexDebut

indexFin

String indexFin
Constructor Detail

JPanelPrint

public JPanelPrint(AbstractVue vue,
                   JPdeA jpdea,
                   JPEntete jpentete)
Method Detail

adapte

public void adapte()

addJPDea

public void addJPDea()

removeJPDea

public void removeJPDea()

appendButtonImprimer

public JTextButton appendButtonImprimer(String ActionCommand)

appendButtonExport

public JTextButton appendButtonExport(String ActionCommand)

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent arg0)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

apercu

public void apercu()

caretUpdate

public void caretUpdate(javax.swing.event.CaretEvent arg0)
Specified by:
caretUpdate in interface javax.swing.event.CaretListener

userUpdate

public void userUpdate()

keyReleased

public void keyReleased(java.awt.event.KeyEvent arg0)
Specified by:
keyReleased in interface java.awt.event.KeyListener

keyTyped

public void keyTyped(java.awt.event.KeyEvent arg0)
Specified by:
keyTyped in interface java.awt.event.KeyListener

keyPressed

public void keyPressed(java.awt.event.KeyEvent arg0)
Specified by:
keyPressed in interface java.awt.event.KeyListener

propertyChange

public void propertyChange(java.beans.PropertyChangeEvent arg0)
Specified by:
propertyChange in interface java.beans.PropertyChangeListener

print

public int print(Graphics g,
                 java.awt.print.PageFormat pf,
                 int pageIndex)
          throws java.awt.print.PrinterException
Specified by:
print in interface java.awt.print.Printable
Throws:
java.awt.print.PrinterException

print

public void print()