Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.fudaa.ebli.calque
Class ZEbliFilleCalques  view ZEbliFilleCalques download ZEbliFilleCalques.java

java.lang.Object
  extended byjava.awt.Component
      extended byjava.awt.Container
          extended byjavax.swing.JComponent
              extended byjavax.swing.JInternalFrame
                  extended bycom.memoire.bu.BuInternalFrame
                      extended byorg.fudaa.ebli.impression.EbliFilleImprimable
                          extended byorg.fudaa.ebli.calque.ZEbliFilleCalques
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, java.io.Serializable, javax.swing.event.TreeSelectionListener, javax.swing.WindowConstants

public class ZEbliFilleCalques
extends org.fudaa.ebli.impression.EbliFilleImprimable
implements 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). Il est possible d'ajouter des boutons grace aux methodes addButtonGroup. Par defaut, 3 groupes de boutons sont proposes : selection, standard et navigation. Ils peuvent etre supprimes ou modifies avec les methodes remove

Version:
$Id: ZEbliFilleCalques.java,v 1.2 2003/01/30 17:27:39 deniger Exp $

Nested Class Summary
private  class ZEbliFilleCalques.ButtonRenderer
          Un renderer pour les specificTools.
private  class ZEbliFilleCalques.GroupModel
          Le modele utilise pour afficher la specificToolsList_ dans le panel ViewPreferences.
private  class ZEbliFilleCalques.SpecificToolsManager
          pour l'instant inutile : devrait se charger de la visibilite des specificTools.
private  class ZEbliFilleCalques.ViewPreferences
          Le dialogue qui permet d'afficher la visibilite des specificTools.
private  class ZEbliFilleCalques.VisibleRenderer
          un renderer pour la checkBox.
 
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
 
Field Summary
protected  BArbreCalque arbre_
           
private  javax.swing.AbstractButton[] btSelection_
           
protected  BCalque cqActif_
           
private  BGroupeCalque cqAdmin_
          le groupe de calque d'administration
private  BCalquePositionnementInteraction cqDepVueI_
           
private  ZCalqueSelectionInteraction cqSelectionI_
           
private  BCalqueRepereInteraction cqZoomI_
           
protected  org.fudaa.ebli.repere.BControleNavigation ctNavigation_
          Panel containing navigation tool
private  boolean customize_
           
private  javax.swing.AbstractButton[] enableButtons_
           
(package private)  javax.swing.JMenu[] mnSpecifics_
           
protected  com.memoire.bu.BuLabel mode_
           
protected  javax.swing.JPanel pnNavigation_
          Panel containing navigation buttons
protected  javax.swing.JComponent[] specificTools_
           
private  java.util.ArrayList specificToolsList_
           
private  ZEbliFilleCalques.SpecificToolsManager specificToolsManager_
           
private  ZEbliFilleCalques.ViewPreferences specificToolsPrefView_
           
private  org.fudaa.ebli.calque.state.EbliState state_
          L'etat en cours de la fille calque.
private  EbliAdapteurSuiviSouris suiviSouris_
           
private  BVueCalque vc_
           
 
Fields inherited from class org.fudaa.ebli.impression.EbliFilleImprimable
 
Fields inherited from class com.memoire.bu.BuInternalFrame
SHORTCUT
 
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 javax.swing.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 java.awt.Container
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface org.fudaa.ebli.impression.EbliPageable
DEFAULT_PAGE_FORMAT
 
Fields inherited from interface java.awt.print.Pageable
UNKNOWN_NUMBER_OF_PAGES
 
Fields inherited from interface javax.swing.WindowConstants
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
ZEbliFilleCalques(BVueCalque _vc, BArbreCalque _arbre)
          Constructeur minimal.
ZEbliFilleCalques(BVueCalque _vc, BArbreCalque _arbre, boolean _groupSelection, boolean _groupNavigation, boolean _groupStandard)
          Constructeur qui permet de specifier quels groupes de boutons doivent etre construit.
ZEbliFilleCalques(BVueCalque _vc, BArbreCalque _arbre, com.memoire.bu.BuCommonInterface _appli)
           
ZEbliFilleCalques(BVueCalque _vc, BArbreCalque _arbre, com.memoire.bu.BuCommonInterface _appli, com.memoire.bu.BuInformationsDocument _id)
           
ZEbliFilleCalques(BVueCalque _vc, BArbreCalque _arbre, com.memoire.bu.BuCommonInterface _appli, com.memoire.bu.BuInformationsDocument _id, boolean _groupSelection, boolean _groupNavigation, boolean _groupStandard)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          This method is invoked when an action occurs.
protected  void addEnableButton(javax.swing.AbstractButton[] _add)
          Ajoute les boutons _add a la liste des enableButtons.
protected  void addSpecificComponent(javax.swing.JComponent b)
           
protected  void addSpecificComponent(javax.swing.JComponent[] b)
           
protected  void addSpecificComponent(javax.swing.JComponent[] b, boolean _sep)
           
protected  void addSpecificComponent(javax.swing.JComponent b, boolean _sep)
           
protected  void addSpecificSeparator()
           
protected  void addSpecificSeparator(int i)
           
private  void applyPreferences()
           
protected  com.memoire.bu.BuMenu buildAffichageMenu()
           
private  void buildButtonGroupNavigation()
          Construction du groupe de navigation par defaut.
private  void buildButtonGroupSelection()
          Construction du groupe de selection par defaut.
private  void buildButtonGroupStandard()
          Construction du groupe standard par defaut.
 void clearSelections()
          Methode pour vider la selection.
protected  java.util.ArrayList createArrayList()
           
protected  void ensureSpecificCapacity(int _plus)
           
 BArbreCalque getArbreCalque()
           
protected  javax.swing.AbstractButton getButton(java.lang.String _actionCommand)
           
 BCalque getCalqueActif()
          Renvoie le calque actif ( selectionne dans l'arbre).
 ZCalqueSelectionInteraction getCalqueSelection()
           
 javax.swing.AbstractButton[] getEnableButtons()
          Renvoie les enableButtons : ce sont les boutons qui seront actives ou non avec le changement de calque.
 int getNumberOfPages()
          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.
private  java.lang.String getPreferencesKey(javax.swing.JComponent _ab)
           
private  java.lang.String getPreferencesVisibleKey(javax.swing.JComponent _ab)
           
 javax.swing.JMenu[] getSpecificMenus()
           
 javax.swing.JComponent[] getSpecificTools()
          Renvoie les specific tools de cette fenetre.
 org.fudaa.ebli.calque.state.EbliState getState()
          L'etat en cours de cette frame.
 BVueCalque getVueCalque()
           
 boolean isCustomize()
          Renvoie true si l'affichage peut-etre "customisable".
 boolean isModeVisible()
          Propriete de visibilite du composant de renseignement de l'etat.
private  boolean isPreferencesVisible(javax.swing.JComponent _ab)
           
protected  void majToolBar()
           
 int print(java.awt.Graphics _g, java.awt.print.PageFormat _format, int _numPage)
          La methode centrale qui permet d'imprimer (idem que celle de l'interface printable).
 void repereModifie(org.fudaa.ebli.repere.RepereEvent e)
           
 void restaurer()
           
 void setArbreCalque(BArbreCalque _arbre)
           
 void setCalque(BCalque _c)
           
protected  void setCalqueAdminVisible(boolean _b)
           
 void setCalqueInteractionActif(BCalqueInteraction _b, boolean _a)
           
 void setCustomize(boolean customize)
          Si true, l'affichage peut-etre modifie.
 void setEnableButtons(javax.swing.AbstractButton[] _ab)
          Affectation des boutons dont l'etat sera modifie par le calque actif.
 void setFormatSuiviSouris(java.text.DecimalFormat _f)
          modifer le format d'afficahe des coordonnees de la souris.
 void setModeVisible(boolean _b)
          Rend visible le label décrivant l'etat de ce composant (selection, zoom, deplacement...).
 void setSelected(boolean b)
          This method sets whether this JInternalFrame is the selected frame in the JDesktopPane (or other container).
protected  void setSelectionEnabled(boolean _enable)
          Modifie la propriete enable de tous les boutons du groupe selection.
 void setState(org.fudaa.ebli.calque.state.EbliState _s)
          Modifie l'etat de la fille calque.
 void setVueCalque(BVueCalque _vc)
           
private  void showViewPreferences()
           
protected  void updateEnableButtons()
          Met a jour l'etat des boutons en fonction des actions activees par le calque actif.
 void valueChanged(javax.swing.event.TreeSelectionEvent _evt)
          TreeSelection (mise a jour des etats des boutons de Selection en fonction du calque).
private  void writePreferences()
           
 
Methods inherited from class org.fudaa.ebli.impression.EbliFilleImprimable
getDefaultEbliPageFormat, getEnabledActions, getInformationsDocument, getInformationsSoftware, getPageFormat, getPrintable, setInformationsDocument, setInformationsSoftware
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

cqAdmin_

private BGroupeCalque cqAdmin_
le groupe de calque d'administration


cqDepVueI_

private BCalquePositionnementInteraction cqDepVueI_

cqZoomI_

private BCalqueRepereInteraction cqZoomI_

suiviSouris_

private EbliAdapteurSuiviSouris suiviSouris_

vc_

private BVueCalque vc_

state_

private org.fudaa.ebli.calque.state.EbliState state_
L'etat en cours de la fille calque.


cqSelectionI_

private ZCalqueSelectionInteraction cqSelectionI_

pnNavigation_

protected javax.swing.JPanel pnNavigation_
Panel containing navigation buttons


ctNavigation_

protected org.fudaa.ebli.repere.BControleNavigation ctNavigation_
Panel containing navigation tool


cqActif_

protected BCalque cqActif_

arbre_

protected BArbreCalque arbre_

specificTools_

protected javax.swing.JComponent[] specificTools_

specificToolsList_

private java.util.ArrayList specificToolsList_

specificToolsManager_

private ZEbliFilleCalques.SpecificToolsManager specificToolsManager_

btSelection_

private javax.swing.AbstractButton[] btSelection_

specificToolsPrefView_

private ZEbliFilleCalques.ViewPreferences specificToolsPrefView_

enableButtons_

private javax.swing.AbstractButton[] enableButtons_

mode_

protected com.memoire.bu.BuLabel mode_

customize_

private boolean customize_

mnSpecifics_

javax.swing.JMenu[] mnSpecifics_
Constructor Detail

ZEbliFilleCalques

public ZEbliFilleCalques(BVueCalque _vc,
                         BArbreCalque _arbre)
Constructeur minimal. Les groupes de navigation et standard seront construits.


ZEbliFilleCalques

public ZEbliFilleCalques(BVueCalque _vc,
                         BArbreCalque _arbre,
                         boolean _groupSelection,
                         boolean _groupNavigation,
                         boolean _groupStandard)
Constructeur qui permet de specifier quels groupes de boutons doivent etre construit.


ZEbliFilleCalques

public ZEbliFilleCalques(BVueCalque _vc,
                         BArbreCalque _arbre,
                         com.memoire.bu.BuCommonInterface _appli)

ZEbliFilleCalques

public ZEbliFilleCalques(BVueCalque _vc,
                         BArbreCalque _arbre,
                         com.memoire.bu.BuCommonInterface _appli,
                         com.memoire.bu.BuInformationsDocument _id)

ZEbliFilleCalques

public ZEbliFilleCalques(BVueCalque _vc,
                         BArbreCalque _arbre,
                         com.memoire.bu.BuCommonInterface _appli,
                         com.memoire.bu.BuInformationsDocument _id,
                         boolean _groupSelection,
                         boolean _groupNavigation,
                         boolean _groupStandard)
Method Detail

createArrayList

protected java.util.ArrayList createArrayList()

getPreferencesKey

private java.lang.String getPreferencesKey(javax.swing.JComponent _ab)

getPreferencesVisibleKey

private java.lang.String getPreferencesVisibleKey(javax.swing.JComponent _ab)

isPreferencesVisible

private boolean isPreferencesVisible(javax.swing.JComponent _ab)

writePreferences

private void writePreferences()

setModeVisible

public final void setModeVisible(boolean _b)
Rend visible le label décrivant l'etat de ce composant (selection, zoom, deplacement...).


isModeVisible

public boolean isModeVisible()
Propriete de visibilite du composant de renseignement de l'etat.


setCalqueAdminVisible

protected void setCalqueAdminVisible(boolean _b)

getButton

protected javax.swing.AbstractButton getButton(java.lang.String _actionCommand)

addSpecificSeparator

protected void addSpecificSeparator(int i)

addSpecificSeparator

protected void addSpecificSeparator()

applyPreferences

private void applyPreferences()

setSelectionEnabled

protected void setSelectionEnabled(boolean _enable)
Modifie la propriete enable de tous les boutons du groupe selection.


setVueCalque

public void setVueCalque(BVueCalque _vc)

setArbreCalque

public void setArbreCalque(BArbreCalque _arbre)

setCalque

public void setCalque(BCalque _c)

buildButtonGroupStandard

private void buildButtonGroupStandard()
Construction du groupe standard par defaut.


buildButtonGroupNavigation

private void buildButtonGroupNavigation()
Construction du groupe de navigation par defaut.


buildButtonGroupSelection

private void buildButtonGroupSelection()
Construction du groupe de selection par defaut.


ensureSpecificCapacity

protected void ensureSpecificCapacity(int _plus)

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.


getVueCalque

public BVueCalque getVueCalque()

setCalqueInteractionActif

public void setCalqueInteractionActif(BCalqueInteraction _b,
                                      boolean _a)

getArbreCalque

public BArbreCalque getArbreCalque()

showViewPreferences

private void showViewPreferences()

buildAffichageMenu

protected com.memoire.bu.BuMenu buildAffichageMenu()

majToolBar

protected void majToolBar()

getSpecificMenus

public javax.swing.JMenu[] getSpecificMenus()

getSpecificTools

public javax.swing.JComponent[] getSpecificTools()
Renvoie les specific tools de cette fenetre. Ils seront affiches dans la tool bar de l'application. Des boutons supplémentaires peuvent être ajoutés grace aux fonctions addButtonGroup.


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

repereModifie

public void repereModifie(org.fudaa.ebli.repere.RepereEvent e)

restaurer

public void restaurer()

addSpecificComponent

protected void addSpecificComponent(javax.swing.JComponent b)

addSpecificComponent

protected void addSpecificComponent(javax.swing.JComponent[] b)

addSpecificComponent

protected void addSpecificComponent(javax.swing.JComponent b,
                                    boolean _sep)

addSpecificComponent

protected void addSpecificComponent(javax.swing.JComponent[] b,
                                    boolean _sep)

setFormatSuiviSouris

public void setFormatSuiviSouris(java.text.DecimalFormat _f)
modifer le format d'afficahe des coordonnees de la souris. Si _f est null, les double sont castes en int.


getCalqueSelection

public ZCalqueSelectionInteraction getCalqueSelection()

clearSelections

public void clearSelections()
Methode pour vider la selection.


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

getCalqueActif

public BCalque getCalqueActif()
Renvoie le calque actif ( selectionne dans l'arbre).


valueChanged

public void valueChanged(javax.swing.event.TreeSelectionEvent _evt)
TreeSelection (mise a jour des etats des boutons de Selection en fonction du calque). Affecte le calque actif (getCalqueActif) de cette classe, modifie les calque actifs du calque de selection ( un seul calque actif) et met a jour l'etat des specific tools (si option validee).

Specified by:
valueChanged in interface javax.swing.event.TreeSelectionListener

updateEnableButtons

protected void updateEnableButtons()
Met a jour l'etat des boutons en fonction des actions activees par le calque actif.


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

getEnableButtons

public javax.swing.AbstractButton[] getEnableButtons()
Renvoie les enableButtons : ce sont les boutons qui seront actives ou non avec le changement de calque. La methode getEnabledSpecificTools() de BCalque est utilisee pour les determiner. Cette methode peut-être redefinie pour modifier les outils a activer ou non.


setEnableButtons

public void setEnableButtons(javax.swing.AbstractButton[] _ab)
Affectation des boutons dont l'etat sera modifie par le calque actif.


addEnableButton

protected void addEnableButton(javax.swing.AbstractButton[] _add)
Ajoute les boutons _add a la liste des enableButtons. L'état des boutons est ensuite mis a jour.


getState

public org.fudaa.ebli.calque.state.EbliState getState()
L'etat en cours de cette frame.


setState

public void setState(org.fudaa.ebli.calque.state.EbliState _s)
Modifie l'etat de la fille calque. Pour modifier automatiquement l'etat, il suffit de creer un EbliStateToggleButton (avec l'etat adequate) et de l'ajouter au specificTools.


isCustomize

public boolean isCustomize()
Renvoie true si l'affichage peut-etre "customisable".


setCustomize

public void setCustomize(boolean customize)
Si true, l'affichage peut-etre modifie.