|
CSP for Java (JCSP) 1.1-rc4 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Display
Objects implementing this interface provide graphics services to a CSProcess
.
CSProcess
. Such an object provides
an occam3-like CALL channel between the application
CSProcess and the active graphics component (such as
ActiveCanvas
) on which it wishes to draw.
DisplayList
Method Summary | |
---|---|
boolean |
change(GraphicsCommand[] c,
int i)
Changes the array of GraphicsCommands to be interpreted by replacing elements i onwards with the new ones. |
boolean |
change(GraphicsCommand c,
int i)
Changes the array of GraphicsCommands to be executed by replacing element i with the new one. |
int |
extend(GraphicsCommand c)
Extends the array of GraphicsCommands to be executed by one command. |
int |
extend(GraphicsCommand[] c)
Extends the array of GraphicsCommands to be interpreted. |
GraphicsCommand[] |
get()
Returns a copy of the array of GraphicsCommands currently held. |
void |
set(GraphicsCommand c)
Sets the GraphicsCommand to be interpreted. |
void |
set(GraphicsCommand[] c)
Sets the array of GraphicsCommands to be interpreted. |
Method Detail |
---|
void set(GraphicsCommand[] c)
c
- the array of GraphicsCommands to be interpreted.void set(GraphicsCommand c)
c
- the array of GraphicsCommands to be interpreted.int extend(GraphicsCommand[] c)
c
- the extra GraphicsCommands to be interpreted.
int extend(GraphicsCommand c)
c
- the extra GraphicsCommand to be interpreted.
boolean change(GraphicsCommand[] c, int i)
c
- the new GraphicsCommands to be interpreted.i
- the start index for the replacement.
boolean change(GraphicsCommand c, int i)
c
- the new GraphicsCommand to be interpreted.i
- the index for the replacement.
GraphicsCommand[] get()
|
CSP for Java (JCSP) 1.1-rc4 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |