ikbs.graphics.cases
Class PanelButtonCas

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by java.awt.Panel
              extended by ikbs.tools.utils.IkbsPanel
                  extended by ikbs.graphics.PanelRef
                      extended by ikbs.graphics.cases.PanelButtonCas
All Implemented Interfaces:
ValueObserver, ObjectListViewerInterface, GetFrame, InfoListener, java.awt.event.ActionListener, java.awt.event.ItemListener, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, java.util.EventListener, javax.accessibility.Accessible

public class PanelButtonCas
extends PanelRef
implements java.awt.event.ItemListener, ValueObserver

IKBS - Editeur des cas Définition de PanelButtonCas, sous classe de IkbsPanel Panel supérieur de l'éditeur de Cas, pour l'édition de valeurs Version 1.0 David Grosser - 15 Janvier 1998

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.awt.Panel
java.awt.Panel.AccessibleAWTPanel
 
Nested classes/interfaces inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Nested classes/interfaces inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
static int ASSOCIER_IMG
           
protected  ChoiceChoix attChoice
           
static int AVANCER
           
protected  java.awt.Label borneInf
           
protected  java.awt.Label borneSup
           
static int DEBUT
           
static int EGAL
           
protected  boolean et
           
static int ET
           
static int FIN
           
protected  boolean first
           
static int INCONNU
           
protected  java.util.Vector listObj
           
static int NUMCAS
           
protected  ChoiceChoix numeroCas
           
protected  TextFieldChoix numField
           
protected  boolean ou
           
static int OU
           
protected  IkbsPanel pAttribut
           
static int RECULER
           
static int SEARCH
           
static int SELECT
           
protected  ChoiceChoix signeChoice
           
protected  ChoiceChoix testNum
           
protected  ChoiceChoix testSymb
           
protected  TextFieldChoix textField
           
protected  TextFieldChoix tf
           
protected  ChoiceChoix valueChoice
           
static int VOIR_IMG
           
 
Fields inherited from class ikbs.graphics.PanelRef
editeur, elementSelected, label, objectListViewer, ressources
 
Fields inherited from class ikbs.tools.utils.IkbsPanel
c
 
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
PanelButtonCas(CaseEditor editeur)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          Action sur les composants du panel
 void afficheInfo()
           
 void attributSelect(DescriptiveAttribute da)
          Lorsque l'on sélectionne un attribut à partir de la liste déroulante Surchargée
 void avancer()
           
 void changeEt()
           
 void changeNumCas()
           
 void changeOu()
           
 void dernier()
           
 void egalClavier()
          Affectation d'une valeur via le clavier
 void egalMenu()
          Action a effectuer via le menu
protected  IkbsPanel getPAttribut()
           
 Value getValue(DescriptiveElement dc)
           
 void inconnu()
           
 void init()
           
 void initEtOu()
           
protected  void initPAttribut()
           
 void itemStateChanged(java.awt.event.ItemEvent e)
           
 void next()
           
 void objectSelect(DescriptiveObject de)
          Lorsque l'on sélectionne un objet à partir de la liste déroulante de objectListViewer Surchargée
 void premier()
           
 void previous()
           
 void reculer()
           
 void search()
           
 void select()
           
 void select(DescriptiveElement d, java.lang.String s)
           
 void setNumCas(int i)
           
 void setValue(DescriptiveElement d, int index)
           
 void setValue(DescriptiveElement d, java.lang.String s)
           
 void setValue(DescriptiveElement d, Value v)
           
 void updateAttribut(DescriptiveElement d, int index)
          méthode déclenchée lorsque l'on sélectionne un attribut
 void updateNumCas()
           
 void updateValue()
           
 void updateValue(DescriptiveComponent dc)
           
 void updateValue(NumericAttribute att)
           
 void updateValue(SymbolicAttribute att)
           
 void updateValue(TaxonomicAttribute att)
           
 void updateValue(TextAttribute att)
           
 void updateValueChoice()
          Mise à jour de la liste des objets et attributs
 void valider()
          Lorsque l'on valide avec la touche entrée
 
Methods inherited from class ikbs.graphics.PanelRef
getElementSelected, getObjectListViewer, initSchema, removeInfo, setElementSelected, setInfo, setObjectListViewer, showImage
 
Methods inherited from class ikbs.tools.utils.IkbsPanel
adaptedSize, getFrame, initGridBagConstraint, xyPosition, xyPosition
 
Methods inherited from class java.awt.Panel
addNotify, getAccessibleContext
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, paramString, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, removeNotify, setComponentZOrder, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, setLayout, transferFocusBackward, transferFocusDownCycle, update, 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, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

AVANCER

public static final int AVANCER
See Also:
Constant Field Values

RECULER

public static final int RECULER
See Also:
Constant Field Values

DEBUT

public static final int DEBUT
See Also:
Constant Field Values

FIN

public static final int FIN
See Also:
Constant Field Values

ET

public static final int ET
See Also:
Constant Field Values

OU

public static final int OU
See Also:
Constant Field Values

SELECT

public static final int SELECT
See Also:
Constant Field Values

INCONNU

public static final int INCONNU
See Also:
Constant Field Values

EGAL

public static final int EGAL
See Also:
Constant Field Values

NUMCAS

public static final int NUMCAS
See Also:
Constant Field Values

ASSOCIER_IMG

public static final int ASSOCIER_IMG
See Also:
Constant Field Values

VOIR_IMG

public static final int VOIR_IMG
See Also:
Constant Field Values

SEARCH

public static final int SEARCH
See Also:
Constant Field Values

borneSup

protected java.awt.Label borneSup

borneInf

protected java.awt.Label borneInf

tf

protected TextFieldChoix tf

numField

protected TextFieldChoix numField

textField

protected TextFieldChoix textField

numeroCas

protected ChoiceChoix numeroCas

attChoice

protected ChoiceChoix attChoice

signeChoice

protected ChoiceChoix signeChoice

valueChoice

protected ChoiceChoix valueChoice

testSymb

protected ChoiceChoix testSymb

testNum

protected ChoiceChoix testNum

listObj

protected java.util.Vector listObj

pAttribut

protected IkbsPanel pAttribut

first

protected boolean first

et

protected boolean et

ou

protected boolean ou
Constructor Detail

PanelButtonCas

public PanelButtonCas(CaseEditor editeur)
Method Detail

init

public void init()

initPAttribut

protected void initPAttribut()

getPAttribut

protected IkbsPanel getPAttribut()

objectSelect

public void objectSelect(DescriptiveObject de)
Lorsque l'on sélectionne un objet à partir de la liste déroulante de objectListViewer Surchargée

Specified by:
objectSelect in interface ObjectListViewerInterface
Overrides:
objectSelect in class PanelRef

attributSelect

public void attributSelect(DescriptiveAttribute da)
Lorsque l'on sélectionne un attribut à partir de la liste déroulante Surchargée

Specified by:
attributSelect in interface ObjectListViewerInterface
Overrides:
attributSelect in class PanelRef

setNumCas

public void setNumCas(int i)

getValue

public Value getValue(DescriptiveElement dc)

updateValueChoice

public void updateValueChoice()
Mise à jour de la liste des objets et attributs


valider

public void valider()
Lorsque l'on valide avec la touche entrée


updateValue

public void updateValue()

updateValue

public void updateValue(SymbolicAttribute att)

updateValue

public void updateValue(TaxonomicAttribute att)

updateValue

public void updateValue(NumericAttribute att)

updateValue

public void updateValue(TextAttribute att)

updateValue

public void updateValue(DescriptiveComponent dc)

updateNumCas

public void updateNumCas()

updateAttribut

public void updateAttribut(DescriptiveElement d,
                           int index)
méthode déclenchée lorsque l'on sélectionne un attribut

Overrides:
updateAttribut in class PanelRef

egalMenu

public void egalMenu()
Action a effectuer via le menu


setValue

public void setValue(DescriptiveElement d,
                     Value v)

setValue

public void setValue(DescriptiveElement d,
                     int index)

setValue

public void setValue(DescriptiveElement d,
                     java.lang.String s)

egalClavier

public void egalClavier()
Affectation d'une valeur via le clavier


changeOu

public void changeOu()

changeEt

public void changeEt()

initEtOu

public void initEtOu()

inconnu

public void inconnu()

search

public void search()

select

public void select()

select

public void select(DescriptiveElement d,
                   java.lang.String s)

changeNumCas

public void changeNumCas()

avancer

public void avancer()

reculer

public void reculer()

premier

public void premier()

dernier

public void dernier()

next

public void next()

previous

public void previous()

itemStateChanged

public void itemStateChanged(java.awt.event.ItemEvent e)
Specified by:
itemStateChanged in interface java.awt.event.ItemListener

afficheInfo

public void afficheInfo()

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Action sur les composants du panel

Specified by:
actionPerformed in interface java.awt.event.ActionListener
Overrides:
actionPerformed in class PanelRef