ikbs.tools.trees
Class RelationSelect

java.lang.Object
  extended by java.util.Observable
      extended by ikbs.tools.trees.Composant
          extended by ikbs.tools.trees.Relation
              extended by ikbs.tools.trees.RelationSelect
All Implemented Interfaces:
Selectable

public class RelationSelect
extends Relation


Field Summary
 
Fields inherited from class ikbs.tools.trees.Relation
angleArrow, backgroundColor, decalage2dPoint, doubleTrait, extremite, forme, FORME_DROITE, FORME_ESCALIER, normal_color, numRel, origine, posLien, selected, showArrow, widthArrow
 
Fields inherited from class ikbs.tools.trees.Composant
bgColor, cible_color, dimension, heightLabel, label, labelColor, shadow_color, shadowSize, show, widthLabel
 
Constructor Summary
RelationSelect(Noeud origine, int x, int y)
           
 
Method Summary
 int height()
           
 int infDroitX()
           
 int infDroitY()
           
 void paint1(java.awt.Graphics g, int xRel, int yRel)
          Pour se dessiner en forme droite
 void paint2(java.awt.Graphics g, int xRel, int yRel)
          Pour se dessiner en escalier
 java.awt.Rectangle rect()
           
 void setPos(int a, int b)
           
 int supGaucheX()
           
 int supGaucheY()
           
 int width()
           
 
Methods inherited from class ikbs.tools.trees.Relation
calculDimension, extremite, getClicked, getDecalage2dPoint, getSelected, infDroit, init, labelExtremite, labelOrigine, lieA, origine, paint, paintArrow, posLien, setBackgroundColor, setClicked, setExtremite, setForme, setOrigine, setPosLien, setSelected, setShowArrow, supGauche, widthLabel
 
Methods inherited from class ikbs.tools.trees.Composant
bgColor, dansRect, dimension, getInfo, getLabel, heightLabel, hideLabel, labelColor, paintShadow, pos, setBgColor, setDimension, setHeight, setHeightLabel, setLabel, setLabelColor, setPos, setPos, setWidth, setWidthLabel, setX, setY, showed, showLabel, sourisDans, toString, x, xd, y
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface ikbs.tools.trees.Selectable
getLabel
 

Constructor Detail

RelationSelect

public RelationSelect(Noeud origine,
                      int x,
                      int y)
Method Detail

supGaucheX

public int supGaucheX()
Overrides:
supGaucheX in class Relation

supGaucheY

public int supGaucheY()
Overrides:
supGaucheY in class Relation

infDroitX

public int infDroitX()
Overrides:
infDroitX in class Relation

infDroitY

public int infDroitY()
Overrides:
infDroitY in class Relation

width

public int width()
Overrides:
width in class Relation

height

public int height()
Overrides:
height in class Relation

setPos

public void setPos(int a,
                   int b)
Overrides:
setPos in class Composant

rect

public java.awt.Rectangle rect()
Overrides:
rect in class Relation

paint1

public void paint1(java.awt.Graphics g,
                   int xRel,
                   int yRel)
Pour se dessiner en forme droite

Overrides:
paint1 in class Relation

paint2

public void paint2(java.awt.Graphics g,
                   int xRel,
                   int yRel)
Pour se dessiner en escalier

Overrides:
paint2 in class Relation