NOTICE! This is a static HTML version of a legacy ImageJ Trac ticket.

The ImageJ project now uses GitHub Issues for issue tracking.

Please file all new issues there.

Ticket #1069 (closed enhancement: fixed)

Opened 2012-03-14T13:47:40-05:00

Last modified 2012-08-29T11:37:02-05:00

Improve color widgets

Reported by: bdezonia Owned by: bdezonia
Priority: minor Milestone: imagej2-b3-headless
Component: UI Framework Version:
Severity: non-issue Keywords:
Cc: Blocked By:
Blocking:

Description

In plugins you can specify ColorRGB parameters. The widget that lets you edit them could use some improvements:

  • support specifying RGB and HSB values
  • support a more fine grained space of clickable values (maybe the widget needs to be bigger too)

Change History

comment:1 Changed 2012-03-16T10:27:49-05:00 by curtis

  • Priority changed from major to minor
  • Status changed from new to accepted
  • Type changed from defect to enhancement
  • Severity changed from serious to non-issue

The Swing color widget is not something we built from scratch, but rather uses  JColorChooser. So these types of changes are predicated on being able to customize the JColorChooser accordingly. Either that, or reimplementing our own widget, or finding a suitable third party color chooser implementation.

comment:2 Changed 2012-06-25T14:05:37-05:00 by curtis

  • Milestone changed from imagej-2.0.0-beta3 to imagej-2.5.0

comment:3 Changed 2012-06-25T14:10:51-05:00 by curtis

  • Owner changed from curtis to bdezonia
  • Status changed from accepted to assigned

For what it's worth, you *can* already specify RGB and HSB values using the "RGB" and "HSB" tabs of the widget. As for "more fine grained space of clickable values" I think the HSB widget is very fine-grained. Please close this ticket if you agree; otherwise please add more detail on what you would like to see improved.

Last edited 2012-06-25T14:11:16-05:00 by curtis

comment:4 Changed 2012-06-25T15:01:10-05:00 by curtis

Hopefully 84633b7c, which reorders the tabs so that the HSB tab is first, removes any shadow of confusion about the color chooser. Please close if you agree.

comment:5 Changed 2012-06-26T10:39:52-05:00 by bdezonia

  • Status changed from assigned to closed
  • Resolution set to fixed

Looks good

comment:6 Changed 2012-08-29T11:37:02-05:00 by bdezonia

  • Milestone changed from imagej-2.5.0 to imagej-2.0.0-beta3