Class GraphicsProtocol.SetBackground
java.lang.Object
org.jcsp.lang.TaggedProtocol
org.jcsp.awt.GraphicsProtocol
org.jcsp.awt.GraphicsProtocol.SetBackground
- Enclosing class:
GraphicsProtocol
This is a configuration class for setting the background java.awt.Color
of the active graphics component. A Boolean.TRUE will be returned down
the fromGraphics channel.
-
Nested Class Summary
Nested classes/interfaces inherited from class GraphicsProtocol
GraphicsProtocol.Configure, GraphicsProtocol.General, GraphicsProtocol.MakeMISImage, GraphicsProtocol.SetBackground, GraphicsProtocol.SetPaintable -
Field Summary
FieldsFields inherited from class GraphicsProtocol
GENERAL_TAG, GET_BACKGROUND, GET_BACKGROUND_TAG, GET_COMPONENT, GET_COMPONENT_TAG, GET_DIMENSION, GET_DIMENSION_TAG, MAKE_MIS_IMAGE_TAG, REQUEST_FOCUS, REQUEST_FOCUS_TAG, SET_BACKGROUND_TAG, SET_PAINTABLE_TAGFields inherited from class TaggedProtocol
tag -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
color
-
-
Constructor Details
-
SetBackground
- Parameters:
color- the new background colour for the graphics component.
-