Package org.jcsp.awt

Class GraphicsProtocol

    • Field Detail

      • GET_DIMENSION

        public static final GraphicsProtocol GET_DIMENSION
        This is an enquiry object to find the size of the active graphics component. The java.awt.Dimension will be returned down the fromGraphics channel.
      • GET_COMPONENT

        public static final GraphicsProtocol GET_COMPONENT
        This is an enquiry object to obtain the active graphics component. The java.awt.Component will be returned down the fromGraphics channel.
      • GET_BACKGROUND

        public static final GraphicsProtocol GET_BACKGROUND
        This is an enquiry object to find the background colour of the active graphics component. The background java.awt.Color will be returned down the fromGraphics channel.
      • REQUEST_FOCUS

        public static final GraphicsProtocol REQUEST_FOCUS
        This is a configuration object to request input focus on the graphics component for keyboard and mouse evnts. A Boolean.TRUE will be returned down the fromGraphics channel.
    • Constructor Detail

      • GraphicsProtocol

        GraphicsProtocol​(int tag)