ikbs.tools.trees
Class RelationSelect
java.lang.Object
java.util.Observable
ikbs.tools.trees.Composant
ikbs.tools.trees.Relation
ikbs.tools.trees.RelationSelect
- All Implemented Interfaces:
- Selectable
public class RelationSelect
- extends Relation
| 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 |
| 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 |
RelationSelect
public RelationSelect(Noeud origine,
int x,
int y)
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