java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JInternalFrame
com.memoire.bu.BuInternalFrame
org.fudaa.ebli.impression.EbliFilleImprimable
org.fudaa.ebli.calque.EbliFilleCalques
- All Implemented Interfaces:
- javax.accessibility.Accessible, java.awt.event.ActionListener, org.fudaa.ebli.impression.EbliPageable, java.util.EventListener, java.awt.image.ImageObserver, java.awt.MenuContainer, java.awt.print.Pageable, javax.swing.RootPaneContainer, SelectionListener, java.io.Serializable, javax.swing.event.TreeSelectionListener, javax.swing.WindowConstants
- public class EbliFilleCalques
- extends org.fudaa.ebli.impression.EbliFilleImprimable
- implements SelectionListener, javax.swing.event.TreeSelectionListener, java.awt.event.ActionListener
Fenetre d'affichage de calques contenant des services de base.
(position souris, zoom fenetre, selection, transformations spatiales).
- Version:
- $Id: EbliFilleCalques.java,v 1.2 2003/01/30 17:27:38 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 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 |
adjustActions, getDisabledActions, getShortcut, getShortcut, 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 |
cqAdmin_
private BGroupeCalque cqAdmin_
cqSelectionI_
protected BCalqueSelectionInteraction cqSelectionI_
cqDepVueI_
private BCalquePositionnementInteraction cqDepVueI_
cqZoomI_
private BCalqueRepereInteraction cqZoomI_
btSelection_
protected com.memoire.bu.BuToggleButton[] btSelection_
pbRepere
private com.memoire.bu.BuPopupButton pbRepere
pnNavigation_
protected javax.swing.JPanel pnNavigation_
- Panel containing navigation buttons
ctNavigation_
protected org.fudaa.ebli.repere.BControleNavigation ctNavigation_
- Panel containing navigation tool
pnSelection_
protected javax.swing.JPanel pnSelection_
pnBoutons_
private javax.swing.JPanel pnBoutons_
- Column tools panel
toolList_
private java.util.Hashtable toolList_
- Tool buttons list. Buttons are referenced by action command
toolVisu_
private java.util.Hashtable toolVisu_
- Tool buttons visibility. Buttons are referenced by action command
toolsInToolBar_
private boolean toolsInToolBar_
- Whether column tools are visible in specific toolbar.
cqActif_
private BCalque cqActif_
hciNonExclusifs_
private java.util.HashSet hciNonExclusifs_
- Liste des calques d'interaction non exclusifs.
suiviSouris_
private EbliAdapteurSuiviSouris suiviSouris_
vc_
private BVueCalque vc_
arbre_
private BArbreCalque arbre_
mnSpecifics_
javax.swing.JMenu[] mnSpecifics_
EbliFilleCalques
public EbliFilleCalques(BVueCalque _vc,
BArbreCalque _arbre)
EbliFilleCalques
public EbliFilleCalques(BVueCalque _vc,
BArbreCalque _arbre,
com.memoire.bu.BuCommonInterface _appli)
EbliFilleCalques
public EbliFilleCalques(BVueCalque _vc,
BArbreCalque _arbre,
com.memoire.bu.BuCommonInterface _appli,
com.memoire.bu.BuInformationsDocument _id)
restaurer
public void restaurer()
addBouton
public void addBouton(javax.swing.AbstractButton b)
formatSuiviSouris
public void formatSuiviSouris(java.text.DecimalFormat _f)
- modifer le format d'afficahe des coordonnees de la souris.
Si _f est null, les double sont castes en int.
getVueCalque
public BVueCalque getVueCalque()
setVueCalque
public void setVueCalque(BVueCalque _vc)
getArbreCalque
public BArbreCalque getArbreCalque()
setArbreCalque
public void setArbreCalque(BArbreCalque _arbre)
setCalque
public void setCalque(BCalque _c)
setSelectionVisible
public void setSelectionVisible(boolean _b)
setBoutonRepereVisible
public void setBoutonRepereVisible(boolean _b)
setBoutonsNavigationVisible
public void setBoutonsNavigationVisible(boolean _b)
- Set navigation buttons visible.
setBoutonsStandardVisible
public void setBoutonsStandardVisible(boolean _b)
- Set standard buttons visible.
setToolsInSpecificBar
public void setToolsInSpecificBar(boolean _b)
- Set column tools in specific toolbar.
setSelected
public void setSelected(boolean b)
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.
videSelection
public void videSelection()
- Methode pour vider programmatiquement la selection.
activeCalqueInteraction
public void activeCalqueInteraction(BCalqueInteraction _cq)
- Rend le calque d'interaction spécifié actif (Dégelé). Les autres sont alors
gelés, sauf les calques d'interactions non exclusifs.
setCalqueInteractionExclusif
public void setCalqueInteractionExclusif(BCalqueInteraction _cq,
boolean _exclusif)
- Définit qu'un calque d'interaction est exclusif. C'est à dire qu'il
inhibe (gèle) les autres calques exclusifs lorsqu'il est dégelé.
Par défaut, tous les calques d'intéraction sont exclusifs.
isCalqueInteractionExclusif
public boolean isCalqueInteractionExclusif(BCalqueInteraction _cq)
- Etat d'exclusivité d'un calque d'interaction.
associeBoutonCalqueInteraction
public void associeBoutonCalqueInteraction(BCalqueInteraction _cqi,
javax.swing.JToggleButton _bt)
- Associe un bouton à un calque d'interaction.
De ce fait, lorsque le bouton est actionné, le calque d'interaction associé
est dégelé/gelé. Si ce calque est dégelé, tous les autres calques exclusifs
sont gelés.
Ce bouton peut être également ajouté au panneau des boutons de
contrôle par la méthode addBouton.
associeBoutonsCalqueInteraction
public void associeBoutonsCalqueInteraction(BCalqueInteraction _cqi,
javax.swing.JToggleButton[] _bts)
- Associe un groupe de boutons à un calque d'interaction.
De ce fait, lorsqu'un bouton est actionné, le calque d'interaction associé
est dégelé/gelé. Si ce calque est dégelé, tous les autres calques exclusifs
sont gelés.
Ces boutons peuvent être également ajoutés au panneau des boutons de
contrôle par la méthode addBouton.
getSpecificMenus
public javax.swing.JMenu[] getSpecificMenus()
getSpecificTools
public javax.swing.JComponent[] getSpecificTools()
buildToolButtons
private void buildToolButtons()
- Construct tool buttons.
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
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
selectedObjects
public void selectedObjects(SelectionEvent _evt)
- Récupération des objets sélectionnés (a surcharger);
- Specified by:
selectedObjects in interface SelectionListener
valueChanged
public void valueChanged(javax.swing.event.TreeSelectionEvent _evt)
- Description copied from interface:
javax.swing.event.TreeSelectionListener
- Receives notification of a change to a tree selection model.
- Specified by:
valueChanged in interface javax.swing.event.TreeSelectionListener
changeModeSelection
public void changeModeSelection(java.awt.event.ActionEvent _e)
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Description copied from interface:
java.awt.event.ActionListener
- This method is invoked when an action occurs.
- Specified by:
actionPerformed in interface java.awt.event.ActionListener