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

Quick Search    Search Deep

org.fudaa.fudaa.lido.editor
Class LidoCustomizer  view LidoCustomizer download LidoCustomizer.java

java.lang.Object
  extended byjava.awt.Component
      extended byjava.awt.Container
          extended byjavax.swing.JComponent
              extended byjavax.swing.JPanel
                  extended bycom.memoire.bu.BuPanel
                      extended byorg.fudaa.ebli.dialog.BDialogContent
                          extended byorg.fudaa.fudaa.lido.editor.LidoCustomizer
All Implemented Interfaces:
javax.accessibility.Accessible, java.awt.event.ActionListener, java.awt.dnd.DropTargetListener, java.util.EventListener, org.fudaa.fudaa.commun.FudaaParamListener, java.awt.image.ImageObserver, java.awt.event.KeyListener, java.awt.MenuContainer, java.beans.PropertyChangeListener, java.io.Serializable
Direct Known Subclasses:
LidoBiefEditor, LidoCustomizerImprimable, LidoLimiteEditor, LidoLimitePermEditor, LidoLoiclmLibraryEditor, LidoNoeudEditor, LidoNombreSectionsEditor, LidoNonpermTempEditor, LidoPermCalEditor, LidoPermPlanimetrageEditor, LidoPermSectionsEditor, LidoSingulariteEditor, LidoStricklerEditor

public abstract class LidoCustomizer
extends org.fudaa.ebli.dialog.BDialogContent
implements org.fudaa.fudaa.commun.FudaaParamListener, java.awt.dnd.DropTargetListener

Version:
$Revision: 1.23 $ $Date: 2001/09/11 09:05:18 $ by $Author: deniger $

Nested Class Summary
 
Nested classes inherited from class javax.swing.JPanel
javax.swing.JPanel.AccessibleJPanel
 
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
private  boolean dndAcceptFlavor_
           
private  java.awt.Component dndDropComponent_
           
private  java.awt.Point dndDropLocation_
           
private  org.fudaa.fudaa.lido.dnd.LidoDnDTransferParam dndDropParam_
           
private  java.awt.datatransfer.DataFlavor dndFlavor_
           
protected  org.fudaa.fudaa.commun.FudaaParamEvent LIDO_MODIFY_EVENT
           
private  boolean objectModified_
           
 
Fields inherited from class org.fudaa.ebli.dialog.BDialogContent
INSETS_SIZE, reponse_
 
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 java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
protected LidoCustomizer(org.fudaa.ebli.dialog.BDialogContent _parent, java.lang.String _title)
           
protected LidoCustomizer(org.fudaa.ebli.dialog.BDialogContent _parent, java.lang.String _title, javax.swing.JComponent _message)
           
protected LidoCustomizer(com.memoire.bu.BuCommonInterface app, org.fudaa.ebli.dialog.BDialogContent _parent, java.lang.String _title)
           
protected LidoCustomizer(java.lang.String _title)
           
protected LidoCustomizer(java.lang.String _title, javax.swing.JComponent _message)
           
 
Method Summary
protected  void base_init()
           
protected  void dndDropSucceeded()
           
protected  java.awt.Component dndGetDropComponent()
           
protected  java.awt.Point dndGetDropLocation()
           
protected  org.fudaa.fudaa.lido.dnd.LidoDnDTransferParam dndGetDropObject()
           
protected  java.lang.Class dndGetSourceParamClass()
           
protected  void dndInitDropTarget(java.awt.Component c)
           
protected  boolean dndIsDropAccepted(java.awt.Point p)
           
 void dragEnter(java.awt.dnd.DropTargetDragEvent dtde)
          Called when the cursor hotspot enters a drop site which will accept the drag.
 void dragExit(java.awt.dnd.DropTargetEvent dte)
          Called when the cursor hotspot moves outside of a drop site which will accept the drag.
 void dragOver(java.awt.dnd.DropTargetDragEvent dtde)
          Called when the cursor hotspot moves inside of a drop site which will accept the drag.
 void drop(java.awt.dnd.DropTargetDropEvent dtde)
          Called when the drag operation has terminated with a drop.
 void dropActionChanged(java.awt.dnd.DropTargetDragEvent dtde)
          Called when the user modifies the drop gesture.
 void fermer()
           
protected abstract  boolean getValeurs()
           
protected abstract  boolean isObjectModificationImportant(java.lang.Object o)
           
 boolean isObjectModified()
           
protected  void objectCreated()
           
protected  void objectDeleted()
           
protected  void objectModified()
           
 void paramStructCreated(org.fudaa.fudaa.commun.FudaaParamEvent e)
           
 void paramStructDeleted(org.fudaa.fudaa.commun.FudaaParamEvent e)
           
 void paramStructModified(org.fudaa.fudaa.commun.FudaaParamEvent e)
           
abstract  boolean restore()
           
abstract  void setObject(java.lang.Object _n)
           
protected  void setObjectModified(boolean b)
           
protected abstract  void setValeurs()
           
 void show()
          Makes this component visible on the screen.
 
Methods inherited from class org.fudaa.ebli.dialog.BDialogContent
actionPerformed, activate, add, add, add, add, add, addAction, addAction, addActionList, addActionListener, containsAction, finalize, getActionPanel, getContentPane, getDialog, getInformationsSoftware, getSelectedActionList, getTitle, keyPressed, keyReleased, keyTyped, pack, propertyChange, removeAction, setActionPanel, setActionPanel, setClosable, setContentPane, setEnabledAction, setModal, setName, setNavPanel, setResizable, setTitle, setToDialog, setToInternalDialog, showBuError, showBuMessage
 
Methods inherited from class com.memoire.bu.BuPanel
paint, paintComponent
 
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
 
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, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, 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, reshape, 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, setVisible, unregisterKeyboardAction, update
 
Methods inherited from class java.awt.Container
addContainerListener, addImpl, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setLayout, 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, getFocusCycleRootAncestor, 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, hide, 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, setSize, setSize, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

LIDO_MODIFY_EVENT

protected org.fudaa.fudaa.commun.FudaaParamEvent LIDO_MODIFY_EVENT

objectModified_

private boolean objectModified_

dndAcceptFlavor_

private boolean dndAcceptFlavor_

dndFlavor_

private java.awt.datatransfer.DataFlavor dndFlavor_

dndDropLocation_

private java.awt.Point dndDropLocation_

dndDropComponent_

private java.awt.Component dndDropComponent_

dndDropParam_

private org.fudaa.fudaa.lido.dnd.LidoDnDTransferParam dndDropParam_
Constructor Detail

LidoCustomizer

protected LidoCustomizer(java.lang.String _title)

LidoCustomizer

protected LidoCustomizer(java.lang.String _title,
                         javax.swing.JComponent _message)

LidoCustomizer

protected LidoCustomizer(org.fudaa.ebli.dialog.BDialogContent _parent,
                         java.lang.String _title)

LidoCustomizer

protected LidoCustomizer(com.memoire.bu.BuCommonInterface app,
                         org.fudaa.ebli.dialog.BDialogContent _parent,
                         java.lang.String _title)

LidoCustomizer

protected LidoCustomizer(org.fudaa.ebli.dialog.BDialogContent _parent,
                         java.lang.String _title,
                         javax.swing.JComponent _message)
Method Detail

base_init

protected void base_init()

restore

public abstract boolean restore()

setObject

public abstract void setObject(java.lang.Object _n)

fermer

public void fermer()

show

public void show()
Description copied from class: java.awt.Component
Makes this component visible on the screen.


objectModified

protected void objectModified()

objectDeleted

protected void objectDeleted()

objectCreated

protected void objectCreated()

isObjectModified

public boolean isObjectModified()

setObjectModified

protected void setObjectModified(boolean b)

paramStructCreated

public void paramStructCreated(org.fudaa.fudaa.commun.FudaaParamEvent e)
Specified by:
paramStructCreated in interface org.fudaa.fudaa.commun.FudaaParamListener

paramStructDeleted

public void paramStructDeleted(org.fudaa.fudaa.commun.FudaaParamEvent e)
Specified by:
paramStructDeleted in interface org.fudaa.fudaa.commun.FudaaParamListener

paramStructModified

public void paramStructModified(org.fudaa.fudaa.commun.FudaaParamEvent e)
Specified by:
paramStructModified in interface org.fudaa.fudaa.commun.FudaaParamListener

isObjectModificationImportant

protected abstract boolean isObjectModificationImportant(java.lang.Object o)

setValeurs

protected abstract void setValeurs()

getValeurs

protected abstract boolean getValeurs()

dndInitDropTarget

protected void dndInitDropTarget(java.awt.Component c)

dndGetSourceParamClass

protected java.lang.Class dndGetSourceParamClass()

dndIsDropAccepted

protected boolean dndIsDropAccepted(java.awt.Point p)

dndDropSucceeded

protected void dndDropSucceeded()

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

dndGetDropLocation

protected java.awt.Point dndGetDropLocation()

dndGetDropComponent

protected java.awt.Component dndGetDropComponent()

dndGetDropObject

protected org.fudaa.fudaa.lido.dnd.LidoDnDTransferParam dndGetDropObject()

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