java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JInternalFrame
com.memoire.bu.BuInternalFrame
org.fudaa.ebli.dialog.BInternalDialog
- All Implemented Interfaces:
- javax.accessibility.Accessible, java.awt.event.ActionListener, java.awt.dnd.DropTargetListener, org.fudaa.ebli.impression.EbliPageable, java.util.EventListener, IDialogInterface, java.awt.image.ImageObserver, java.awt.MenuContainer, java.awt.print.Pageable, javax.swing.RootPaneContainer, java.io.Serializable, javax.swing.WindowConstants
- public class BInternalDialog
- extends com.memoire.bu.BuInternalFrame
- implements IDialogInterface, org.fudaa.ebli.impression.EbliPageable, java.awt.dnd.DropTargetListener
- Version:
- $Revision: 1.12 $ $Date: 2001/11/22 17:19:53 $ by $Author: deniger $
| 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 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 |
|
| Methods inherited from class com.memoire.bu.BuInternalFrame |
actionPerformed, adjustActions, getDisabledActions, getShortcut, getShortcut, getSpecificMenus, setClosed, setRootPane, setRootPaneCheckingEnabled, setShortcut, setVisible, simplifyTop, toString, updateUI |
| Methods inherited from class javax.swing.JInternalFrame |
addImpl, addInternalFrameListener, createRootPane, 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, 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, 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 |
| Methods inherited from interface org.fudaa.ebli.dialog.IDialogInterface |
addPropertyChangeListener, getContentPane, pack, removePropertyChangeListener, setClosable, setContentPane, setDefaultCloseOperation, setLocation, setName, setResizable, setSize, setTitle |
children
java.util.Vector children
parent
IDialogInterface parent
modal_
boolean modal_
tools_
javax.swing.JComponent[] tools_
appli_
com.memoire.bu.BuCommonInterface appli_
BInternalDialog
public BInternalDialog(com.memoire.bu.BuCommonInterface app)
BInternalDialog
public BInternalDialog(com.memoire.bu.BuCommonInterface app,
IDialogInterface _parent)
isContentPaneEbliPageable
private boolean isContentPaneEbliPageable()
getContentPaneEbliPageable
private org.fudaa.ebli.impression.EbliPageable getContentPaneEbliPageable()
addChildDialog
public void addChildDialog(IDialogInterface _child)
- Specified by:
addChildDialog in interface IDialogInterface
removeChildDialog
public void removeChildDialog(IDialogInterface _child)
- Specified by:
removeChildDialog in interface IDialogInterface
dispose
public void dispose()
- Description copied from class:
javax.swing.JInternalFrame
- This method makes this JInternalFrame invisible, unselected and closed.
If this JInternalFrame is not closed already, it will fire an
INTERNAL_FRAME_CLoSED event. This method is similar to setClosed but it
doesn't give vetoable listeners a chance to veto and it will not fire an
INTERNAL_FRAME_CLOSING event.
- Specified by:
dispose in interface IDialogInterface
fireDialogTypeChanged
private void fireDialogTypeChanged()
getChildrenDialogs
public IDialogInterface[] getChildrenDialogs()
- Specified by:
getChildrenDialogs in interface IDialogInterface
real_dispose
public void real_dispose(boolean recurse)
- Specified by:
real_dispose in interface IDialogInterface
getComponent
public java.awt.Component getComponent()
- Specified by:
getComponent in interface IDialogInterface
setLocationRelativeTo
public void setLocationRelativeTo(java.awt.Component c)
- Specified by:
setLocationRelativeTo in interface IDialogInterface
show
public void show()
- Description copied from class:
javax.swing.JInternalFrame
- This method displays the JInternalFrame. If it is not visible, this
method will bring this JInternalFrame to the front, make it visible and
select it. If this is the first time this JInternalFrame is made
visible, an INTERNAL_FRAME_OPENED event will be fired.
- Specified by:
show in interface IDialogInterface
isShowing
public boolean isShowing()
- Description copied from class:
java.awt.Component
- Tests whether or not this component is actually being shown on
the screen. This will be true if and only if it this component is
visible and its parent components are all visible.
- Specified by:
isShowing in interface IDialogInterface
setModal
public void setModal(boolean m)
- Specified by:
setModal in interface IDialogInterface
setSelected
public void setSelected(boolean s)
throws java.beans.PropertyVetoException
- Description copied from class:
javax.swing.JInternalFrame
- This method sets whether this JInternalFrame is the selected frame in the
JDesktopPane (or other container). When selected, a JInternalFrame will
have focus and paint its TitlePane differently (usually a different
colour). If this method selects the frame, this JInternalFrame will fire
an INTERNAL_FRAME_ACTIVATED event. If it deselects this frame, it will
fire an INTERNAL_FRAME_DEACTIVATED event.
getSpecificTools
public javax.swing.JComponent[] getSpecificTools()
getEnabledActions
public java.lang.String[] getEnabledActions()
dialogSelected
protected void dialogSelected()
print
public int print(java.awt.Graphics _g,
java.awt.print.PageFormat _format,
int _numPage)
- Description copied from interface:
org.fudaa.ebli.impression.EbliPageable
- La methode centrale qui permet d'imprimer (idem que celle de l'interface
printable). Le format
_format sera celui donne par la methode
Pageable.getPageFormat(int).
- Specified by:
print in interface org.fudaa.ebli.impression.EbliPageable
getInformationsDocument
public com.memoire.bu.BuInformationsDocument getInformationsDocument()
- Description copied from interface:
org.fudaa.ebli.impression.EbliPageable
- Renvoie les informations sur le document.
- Specified by:
getInformationsDocument in interface org.fudaa.ebli.impression.EbliPageable
getInformationsSoftware
public com.memoire.bu.BuInformationsSoftware getInformationsSoftware()
- Description copied from interface:
org.fudaa.ebli.impression.EbliPageable
- Renvoie les informations sur l'application.
- Specified by:
getInformationsSoftware in interface org.fudaa.ebli.impression.EbliPageable
getPrintable
public java.awt.print.Printable getPrintable(int _i)
- Description copied from interface:
java.awt.print.Pageable
- This method returns the
Printable instance for the specified
page. Page numbers start at zero. An exception is thrown if the requested
page does not exist.
- Specified by:
getPrintable in interface java.awt.print.Pageable
getPageFormat
public java.awt.print.PageFormat getPageFormat(int _i)
- Description copied from interface:
java.awt.print.Pageable
- This method returns the
PageFormat instance for the
specified page. Page numbers start at zero. An exception is thrown if the
requested page does not exist.
- Specified by:
getPageFormat in interface java.awt.print.Pageable
getDefaultEbliPageFormat
public org.fudaa.ebli.impression.EbliPageFormat getDefaultEbliPageFormat()
- Description copied from interface:
org.fudaa.ebli.impression.EbliPageable
- Renvoie le format par defaut.Cette methode peut etre deleguee.
- Specified by:
getDefaultEbliPageFormat in interface org.fudaa.ebli.impression.EbliPageable
getNumberOfPages
public int getNumberOfPages()
- Description copied from interface:
java.awt.print.Pageable
- This method returns the number of pages this object contains, or
UNKNOWN_NUMBER_OF_PAGES if it cannot determine the number
of pages to be printed.
- Specified by:
getNumberOfPages in interface java.awt.print.Pageable
dragEnter
public void dragEnter(java.awt.dnd.DropTargetDragEvent dtde)
- Description copied from interface:
java.awt.dnd.DropTargetListener
- Called when the cursor hotspot enters a drop site which will accept the
drag.
- Specified by:
dragEnter in interface java.awt.dnd.DropTargetListener
dragExit
public void dragExit(java.awt.dnd.DropTargetEvent dte)
- Description copied from interface:
java.awt.dnd.DropTargetListener
- Called when the cursor hotspot moves outside of a drop site which will
accept the drag. This could also happen if the drop site is no longer
active, or no longer accepts the drag.
- Specified by:
dragExit in interface java.awt.dnd.DropTargetListener
dragOver
public void dragOver(java.awt.dnd.DropTargetDragEvent dtde)
- Description copied from interface:
java.awt.dnd.DropTargetListener
- Called when the cursor hotspot moves inside of a drop site which will
accept the drag.
- Specified by:
dragOver in interface java.awt.dnd.DropTargetListener
drop
public void drop(java.awt.dnd.DropTargetDropEvent dtde)
- Description copied from interface:
java.awt.dnd.DropTargetListener
- Called when the drag operation has terminated with a drop.
- Specified by:
drop in interface java.awt.dnd.DropTargetListener
dropActionChanged
public void dropActionChanged(java.awt.dnd.DropTargetDragEvent dtde)
- Description copied from interface:
java.awt.dnd.DropTargetListener
- Called when the user modifies the drop gesture. This is often the case
when additional mouse or key events are received during the drag.
- Specified by:
dropActionChanged in interface java.awt.dnd.DropTargetListener