Package org.jcsp.awt

Class GraphicsProtocol.SetBackground

Enclosing class:
GraphicsProtocol

public static final class GraphicsProtocol.SetBackground extends 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.
  • Constructor Details

    • SetBackground

      public SetBackground(Color color)
      Parameters:
      color - the new background colour for the graphics component.