template_applicatif.wFiche
Class FicheButton

Object
  extended by Component
      extended by Container
          extended by JComponent
              extended by JPanel
                  extended by template_applicatif.wFiche.FicheButton
All Implemented Interfaces:
java.awt.event.ActionListener, java.awt.event.MouseListener, java.awt.image.ImageObserver, MenuContainer, Serializable, java.util.EventListener, javax.accessibility.Accessible, FicheIAction, VueIAide

public class FicheButton
extends JPanel
implements FicheIAction, java.awt.event.ActionListener, java.awt.event.MouseListener, VueIAide


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
 java.util.ArrayList<VueButtonSLBascule> bBascule
           
 java.util.ArrayList<JComponent> bOptions
           
 JPanelImage jpBoutonCenter
           
 
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.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
FicheButton(FicheIAction fa, Sql sql)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent arg0)
           
 void adapteAide()
           
 void addFB(JTextButton jbBascule)
           
 void addFicheBascule(VueButtonSLBascule fb)
           
 void addTitre(JTextLabel head)
           
 void basculeAdd(JTextButton jbBascule)
           
 void disableGradient()
           
 void dispose()
           
 void doRecordClick()
           
 boolean isAidable()
           
 boolean isAppendable()
           
 boolean isRecordable()
           
 void mouseClicked(java.awt.event.MouseEvent arg0)
           
 void mouseEntered(java.awt.event.MouseEvent arg0)
           
 void mouseExited(java.awt.event.MouseEvent arg0)
           
 void mousePressed(java.awt.event.MouseEvent arg0)
           
 void mouseReleased(java.awt.event.MouseEvent arg0)
           
 void setAideVisible(boolean enable)
           
 void setBasculeEnabled(String actionCommandBascule, boolean enable)
           
 void setEnabled(boolean enable)
           
 void setModeAppend()
           
 void setModeAppendUpdated()
           
 void setModeMovable()
           
 void setModeUpdated()
           
 boolean setOnlyAppend()
           
 boolean setOnlyOption()
           
 boolean setOnlyUpdate()
           
 boolean setOnlyVisible()
           
 void setOptionEnabled(String actionCommandOption, boolean enable)
           
 void setRecordVisible(boolean enable)
           
 void setVertical()
           
 void setVisible(boolean enable)
           
 void userAide()
          Utilisateur à fait Aide
 void userAppend()
          Utilisateur à fait Nouveau
 void userCancel()
          Utilisateur à fait Abandon
 void userDelete()
          Utilisateur à fait Effecer
 void userOption(String actionCommand)
          Utilisateur à fait Option
 void userOptionAdd(JComponent jcOption)
           
 void userOptionAdd(String option, String fileIcon)
           
 void userRecord()
          Utilisateur à fait Enregistrer
 void userSetAide()
          Utilisateur à fait click droit Gerer bouton Aide
 
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, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, 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

bBascule

public java.util.ArrayList<VueButtonSLBascule> bBascule

jpBoutonCenter

public JPanelImage jpBoutonCenter

bOptions

public java.util.ArrayList<JComponent> bOptions
Constructor Detail

FicheButton

public FicheButton(FicheIAction fa,
                   Sql sql)
Method Detail

setVertical

public void setVertical()

addTitre

public void addTitre(JTextLabel head)

addFB

public void addFB(JTextButton jbBascule)

addFicheBascule

public void addFicheBascule(VueButtonSLBascule fb)

userOptionAdd

public void userOptionAdd(String option,
                          String fileIcon)
Specified by:
userOptionAdd in interface FicheIAction

userOptionAdd

public void userOptionAdd(JComponent jcOption)
Specified by:
userOptionAdd in interface FicheIAction

basculeAdd

public void basculeAdd(JTextButton jbBascule)

setOptionEnabled

public void setOptionEnabled(String actionCommandOption,
                             boolean enable)

setBasculeEnabled

public void setBasculeEnabled(String actionCommandBascule,
                              boolean enable)

setVisible

public void setVisible(boolean enable)
Overrides:
setVisible in class JComponent

setRecordVisible

public void setRecordVisible(boolean enable)

isRecordable

public boolean isRecordable()

setAideVisible

public void setAideVisible(boolean enable)
Specified by:
setAideVisible in interface VueIAide

isAidable

public boolean isAidable()

isAppendable

public boolean isAppendable()

doRecordClick

public void doRecordClick()

setEnabled

public void setEnabled(boolean enable)
Overrides:
setEnabled in class JComponent

disableGradient

public void disableGradient()

setModeMovable

public void setModeMovable()
Specified by:
setModeMovable in interface FicheIAction

setModeUpdated

public void setModeUpdated()
Specified by:
setModeUpdated in interface FicheIAction

setModeAppend

public void setModeAppend()
Specified by:
setModeAppend in interface FicheIAction

setModeAppendUpdated

public void setModeAppendUpdated()
Specified by:
setModeAppendUpdated in interface FicheIAction

userAppend

public void userAppend()
Description copied from interface: FicheIAction
Utilisateur à fait Nouveau

Specified by:
userAppend in interface FicheIAction

userCancel

public void userCancel()
Description copied from interface: FicheIAction
Utilisateur à fait Abandon

Specified by:
userCancel in interface FicheIAction

userDelete

public void userDelete()
Description copied from interface: FicheIAction
Utilisateur à fait Effecer

Specified by:
userDelete in interface FicheIAction

userRecord

public void userRecord()
Description copied from interface: FicheIAction
Utilisateur à fait Enregistrer

Specified by:
userRecord in interface FicheIAction

userOption

public void userOption(String actionCommand)
Description copied from interface: FicheIAction
Utilisateur à fait Option

Specified by:
userOption in interface FicheIAction

userAide

public void userAide()
Description copied from interface: VueIAide
Utilisateur à fait Aide

Specified by:
userAide in interface VueIAide

userSetAide

public void userSetAide()
Description copied from interface: VueIAide
Utilisateur à fait click droit Gerer bouton Aide

Specified by:
userSetAide in interface VueIAide

adapteAide

public void adapteAide()
Specified by:
adapteAide in interface VueIAide

actionPerformed

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

setOnlyUpdate

public boolean setOnlyUpdate()

setOnlyAppend

public boolean setOnlyAppend()

setOnlyOption

public boolean setOnlyOption()

setOnlyVisible

public boolean setOnlyVisible()

dispose

public void dispose()

mousePressed

public void mousePressed(java.awt.event.MouseEvent arg0)
Specified by:
mousePressed in interface java.awt.event.MouseListener

mouseReleased

public void mouseReleased(java.awt.event.MouseEvent arg0)
Specified by:
mouseReleased in interface java.awt.event.MouseListener

mouseEntered

public void mouseEntered(java.awt.event.MouseEvent arg0)
Specified by:
mouseEntered in interface java.awt.event.MouseListener

mouseExited

public void mouseExited(java.awt.event.MouseEvent arg0)
Specified by:
mouseExited in interface java.awt.event.MouseListener

mouseClicked

public void mouseClicked(java.awt.event.MouseEvent arg0)
Specified by:
mouseClicked in interface java.awt.event.MouseListener