Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4313120

ColorUIResource: add Alpha channel support (plus another request)

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.2.2
    • client-libs



      Name: krT82822 Date: 02/16/2000


      java version "1.2.2"
      Classic VM (build JDK-1.2.2-001, native threads, nojit)

      a) Please add a ColorUIResource constructor which let us define the value for the alpha channel.

      b) In addition,
      ColorUIResource and FontUIResource extend, respectively, Color and Font.
      Now I would like a containment rather extension.
      Why? Because I implemented a Font and Color Cache. Now I have to use separate
      caches for the "normal" Font and Color Objects and for the UIResource versions.
      If u make implement it as containment, I would even have to use two caches, but
      for example the Font-Objects, which are heavier could be shared by the
      FontUIResource-Objects.

      (Review ID: 100102)
      ======================================================================

            svioletsunw Scott Violet (Inactive)
            kryansunw Kevin Ryan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: