|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Panel
ikbs.tools.utils.IkbsPanel
ikbs.tools.utils.PanelBuffer
ikbs.tools.trees.GraphViewer
ikbs.tools.trees.ActionGraphViewer
ikbs.graphics.ViewerRef
ikbs.graphics.cases.CaseViewer
public class CaseViewer
IKBS - Visualiseur/éditeur des cas Définition de CaseViewer, sous classe de ViewerRef
| 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 java.lang.String |
IMG_ABSENT
|
static java.lang.String |
IMG_INCONNU
|
static java.awt.Image |
imgAbsent
L'image qui sert a marquer les objet absents |
static java.awt.Image |
imgInconnu
L'image qui sert a marquer les objet absents |
| Fields inherited from class ikbs.tools.trees.ActionGraphViewer |
|---|
anim, attributClic, attributDrag, attributPopUp, canvasPopUp, changedAff, componentPopUp, copyMode, edition, FLUIDITE, index, MAX_ITER, monThread, mousewheel, MOUSEWHEEL_SCROLL, MOUSEWHEEL_ZOOM, NORMAL, RAPIDE, selected, TIME_SLEEP, TRES_RAPIDE, vitesse, xDepart, yDepart |
| Fields inherited from class ikbs.tools.trees.GraphViewer |
|---|
active, affAttributs, backgroundPicture, BG_BOTTOM, BG_CENTER, BG_FITTED, BG_GRILLE, BG_LEFT, BG_NONE, BG_REPEAT, bgAlignment, drag, fontAtt, fontObj, fontRel, formatter, FORMATTER_GD, FORMATTER_GD2, FORMATTER_GD3, FORMATTER_GD4, FORMATTER_GD5, FORMATTER_HB, formeRelation, info, noeudRacine, noeuds, noeudSelect, OFFSCREEN, painted, paintInfo, policeAtt, policeObj, policeRel, pos, posLien, rect, relationMode, relationSelect, select, shadow, shiftPressed, showArrow, showLabelRelation, styleAtt, styleObj, styleRel, x, y, zoom, zoomCanvas |
| Fields inherited from class ikbs.tools.utils.PanelBuffer |
|---|
doubleBuffer, offgraphics, offscreen, offscreensize |
| 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 | |
|---|---|
CaseViewer(ValSchema base)
|
|
| Method Summary | |
|---|---|
void |
afficheInfo()
|
void |
afficher()
|
void |
attributClicked(Attribut a,
Noeud n)
Appelée lorsque l'on clic sur un attribut |
Case |
casCourant()
|
protected void |
creerAjouterNoeud(DescriptiveComponent component)
Déclenchée lorsqu'un nouveau composant a été ajouté au Schema Création de l'objet graphique et des relations |
Noeud |
creerNoeud(DescriptiveComponent dc)
|
void |
deplacerAttribut(int x,
int y)
On empeche le déplacement d'un attribut |
void |
dernier()
|
void |
editer(Attribut a,
Noeud n)
Edition des attributs |
void |
editer(Noeud n)
Edition des noeuds |
void |
editer(Relation uneRelation)
Edition des relations |
boolean |
estDernier()
|
java.awt.Frame |
getFrame()
Retourne la fenêtre englobante du composant qui implémente GetFrame |
static java.awt.Image |
getImgAbsent(Noeud n)
|
static java.awt.Image |
getImgInconnu(Noeud n)
|
void |
init()
Methodes surchargees |
void |
initRessources()
Initialisation des ressources |
Schema |
model()
|
void |
noeudClicked(Noeud n)
Appelée lorsque l'on clic sur un noeud |
int |
numCas()
|
void |
precedent()
|
void |
premier()
|
void |
reCalculDimension()
Pour recalculer la dimension de tous les noeuds |
void |
search(DescriptiveElement d,
java.lang.String s)
|
void |
setBase(ValSchema base)
|
void |
setNumCas(int n)
|
void |
suivant()
|
void |
updateAttValue()
|
void |
updateAttValue(DescriptiveElement d)
|
void |
updateAttValue2(DescriptiveElement d)
Méthode récursive de mise à jour des valeurs |
| Methods inherited from class ikbs.graphics.ViewerRef |
|---|
dispose, rechNoeud, refreshAtt, update |
| Methods inherited from class ikbs.tools.utils.PanelBuffer |
|---|
getDoubleBuffer, initOffGraphics, offscreen, setBounds, setDoubleBuffer, update |
| Methods inherited from class ikbs.tools.utils.IkbsPanel |
|---|
adaptedSize, 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, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, paramString, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, removeNotify, setComponentZOrder, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, setLayout, transferFocusBackward, 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, 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, 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, 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 |
| Methods inherited from interface ikbs.tools.zoom.ZoomInterface |
|---|
deplacer, dimension, getBackground, getPosX, getPosY, getSize, getX, getY, paint, setPosX, setPosY, setX, setY |
| Field Detail |
|---|
public static final java.lang.String IMG_ABSENT
public static final java.lang.String IMG_INCONNU
public static java.awt.Image imgAbsent
public static java.awt.Image imgInconnu
| Constructor Detail |
|---|
public CaseViewer(ValSchema base)
| Method Detail |
|---|
public void init()
init in class ActionGraphViewerpublic static java.awt.Image getImgAbsent(Noeud n)
public static java.awt.Image getImgInconnu(Noeud n)
public void reCalculDimension()
GraphViewer
reCalculDimension in class GraphViewerpublic void initRessources()
public Noeud creerNoeud(DescriptiveComponent dc)
public java.awt.Frame getFrame()
GetFrame
getFrame in interface GetFramegetFrame in class ViewerRefpublic void suivant()
public void precedent()
public void premier()
public void dernier()
public void search(DescriptiveElement d,
java.lang.String s)
public boolean estDernier()
public int numCas()
public Case casCourant()
public void setNumCas(int n)
public void setBase(ValSchema base)
public Schema model()
public void editer(Noeud n)
editer in class GraphViewer
public void editer(Attribut a,
Noeud n)
editer in class GraphViewerpublic void editer(Relation uneRelation)
public void updateAttValue()
protected void creerAjouterNoeud(DescriptiveComponent component)
creerAjouterNoeud in class ViewerRefpublic void updateAttValue(DescriptiveElement d)
public void updateAttValue2(DescriptiveElement d)
public void afficher()
public void attributClicked(Attribut a,
Noeud n)
ActionGraphViewer
attributClicked in class ActionGraphViewerpublic void noeudClicked(Noeud n)
ActionGraphViewer
noeudClicked in class ActionGraphViewer
public void deplacerAttribut(int x,
int y)
deplacerAttribut in class ActionGraphViewerpublic void afficheInfo()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||