JHotDraw 7.2

org.jhotdraw.color
Interface HarmonicRule

All Known Implementing Classes:
AbstractHarmonicRule, SimpleHarmonicRule

public interface HarmonicRule

HarmonicRule.

Author:
Werner Randelshofer  @version 1.0 Apr 27, 2008 Created.

Method Summary
 void apply(HarmonicColorModel model)
           
 void colorChanged(HarmonicColorModel model, int index, CompositeColor oldValue, CompositeColor newValue)
           
 int getBaseIndex()
           
 int[] getDerivedIndices()
           
 void setBaseIndex()
           
 void setDerivedIndices(int... indices)
           
 

Method Detail

setBaseIndex

void setBaseIndex()

getBaseIndex

int getBaseIndex()

setDerivedIndices

void setDerivedIndices(int... indices)

getDerivedIndices

int[] getDerivedIndices()

apply

void apply(HarmonicColorModel model)

colorChanged

void colorChanged(HarmonicColorModel model,
                  int index,
                  CompositeColor oldValue,
                  CompositeColor newValue)

Copyright 1996-2009 (c) by the authors and contributors of the JHotDraw project.
Some rights reserved.