Re: LabeledRGBWidget

Hi John,

> I'm trying to use a LabeledRGBWidget.  No matter what I set for min and
> max, it always seems to use the minimum and maximum of the ScalarMap I
> pass it.  How do I force it to use the values that I specify in it's
> constructor for it's range?

Try using the LabeledRGBWidget constructor:

  public LabeledRGBWidget(ScalarMap smap, float min, float max,
                          float[][] in_table, boolean update)
                          throws VisADException, RemoteException;

with update = false.  If this doesn't work, please let Curtis
know at curtis@xxxxxxxxxxxxx.

Bill Hibbard, SSEC, 1225 W. Dayton St., Madison, WI  53706
hibbard@xxxxxxxxxxxxxxxxx  608-263-4427  fax: 608-263-6738

  • 1999 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: