00001 package org.gel.mauve.gui; 00002 00003 import java.awt.RenderingHints; 00004 00005 public class MauveRenderingHints { 00006 public static RenderingHints.Key KEY_SIMILARITY_DENSITY = new SimilarityDensityKey ( 00007 42); 00008 00009 private static class SimilarityDensityKey extends RenderingHints.Key { 00010 protected SimilarityDensityKey (int privatekey) { 00011 super (privatekey); 00012 } 00013 00014 public boolean isCompatibleValue (Object value) { 00015 return (value instanceof Double); 00016 } 00017 } 00018 00019 }
1.3.6