|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.umlv.unitex.GenericGraphBox
fr.umlv.unitex.GraphBox
public class GraphBox
This class describes a box of a graph.
Field Summary |
---|
Fields inherited from class fr.umlv.unitex.GenericGraphBox |
---|
FINAL, INITIAL, NORMAL |
Constructor Summary | |
---|---|
GraphBox(int x,
int y,
int type,
GraphicalZone p)
Constructs a new box |
Method Summary | |
---|---|
void |
setContent(java.lang.String s)
Sets the box content. |
void |
sortNodeLabel()
Sorts the lines of the box. |
Methods inherited from class fr.umlv.unitex.GenericGraphBox |
---|
addTransitionTo, draw, drawTransition, drawTransitions, getContent, getGraphClicked, getTransitions, getType, getWidth, getX_in, getX_out, getX, getX1, getY_in, getY_out, getY, getY1, hasTransitionToItself, isSelected, isSelectedByRectangle, maxLineWidth, onlyAddTransitionTo, removeTransitionTo, setSelected, setTransitions, setType, setX_in, setX_out, setX, setX1, setY_in, setY_out, setY, setY1, translate, translateToPosition, update |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GraphBox(int x, int y, int type, GraphicalZone p)
x
- X coordinate of the input point of the boxy
- Y coordinate of the input point of the boxtype
- indicates if the box is initial, final or normalp
- component on which the box will be drawnMethod Detail |
---|
public void setContent(java.lang.String s)
setContent
in class GenericGraphBox
s
- the contentpublic void sortNodeLabel()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |