JHotDraw 7.4.1

org.jhotdraw.color
Interface HarmonicRule

All Known Implementing Classes:
AbstractHarmonicRule, SimpleHarmonicRule

public interface HarmonicRule

HarmonicRule.

Author:
Werner Randelshofer  @version $Id: HarmonicRule.java 527 2009-06-07 14:28:19Z rawcoder $

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-2010 (c) by the authors and contributors of the JHotDraw project.
Some rights reserved.