JHotDraw 7.5.1

org.jhotdraw.color
Interface HarmonicRule

All Known Implementing Classes:
AbstractHarmonicRule, SimpleHarmonicRule

public interface HarmonicRule

HarmonicRule.

Author:
Werner Randelshofer  @version $Id: HarmonicRule.java 633 2010-01-22 12:07:20Z rawcoder $

Method Summary
 void apply(HarmonicColorModel model)
           
 void colorChanged(HarmonicColorModel model, int index, java.awt.Color oldValue, java.awt.Color 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,
                  java.awt.Color oldValue,
                  java.awt.Color newValue)

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