[all packages]
[package ]
[class hierarchy]
[index]
public abstract class Graph1
(source file: Graph1.java)
java.lang.Object
|
+----Drawable
|
+----Graph1
The pure class interface.
public abstract class Graph1
extends Drawable
-
A graph with a control line.
- Author:
- Alan Jeffrey
- Version: v1.0 1998/06/11
- Graph1(Constraints, Interface, Interface, int, int)
-
Create a new graph.
- C
-
The constraints of the graph.
- bot
-
The variable for the bottom of the graph.
- controlIn
-
The variable for the position of the incoming control line.
- controlOut
-
The variable for the position of the outgoing control line.
- left
-
The variable for the lhs of the graph.
- right
-
The variable for the rhs of the graph.
- source
-
The interface at the lhs of the graph.
- target
-
The interface at the rhs of the graph.
- top
-
The variable for the top of the graph.
- pad()
-
Pad the graph a bit.
Graph1
public Graph1(Constraints C,
Interface source,
Interface target,
int controlIn,
int controlOut);
-
Create a new graph.
- Parameters:
- C - the constraint set.
- source - the incoming interface.
- target - the outgoing interface.
- controlIn - the incoming control line.
- controlOut - the outgoing control line.
left
public int left;
-
The variable for the lhs of the graph.
right
public int right;
-
The variable for the rhs of the graph.
bot
public int bot;
-
The variable for the bottom of the graph.
top
public int top;
-
The variable for the top of the graph.
C
public Constraints C;
-
The constraints of the graph.
source
public Interface source;
-
The interface at the lhs of the graph.
target
public Interface target;
-
The interface at the rhs of the graph.
controlIn
public int controlIn;
-
The variable for the position of the incoming control line.
controlOut
public int controlOut;
-
The variable for the position of the outgoing control line.
pad
public Graph1 pad();
-
Pad the graph a bit.
- Returns:
- this graph, with extra space at the left and right.
[all packages]
[package ]
[class hierarchy]
[index]
Graph1.html