JHotDraw 7.4.1

org.jhotdraw.color
Class AbstractHarmonicRule

java.lang.Object
  extended by org.jhotdraw.color.AbstractHarmonicRule
All Implemented Interfaces:
HarmonicRule
Direct Known Subclasses:
SimpleHarmonicRule

public abstract class AbstractHarmonicRule
extends java.lang.Object
implements HarmonicRule

AbstractHarmonicRule.

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

Field Summary
protected  int baseIndex
           
protected  int[] derivedIndices
           
 
Constructor Summary
AbstractHarmonicRule()
           
 
Method Summary
 int getBaseIndex()
           
 int[] getDerivedIndices()
           
 void setBaseIndex()
           
 void setDerivedIndices(int... indices)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jhotdraw.color.HarmonicRule
apply, colorChanged
 

Field Detail

baseIndex

protected int baseIndex

derivedIndices

protected int[] derivedIndices
Constructor Detail

AbstractHarmonicRule

public AbstractHarmonicRule()
Method Detail

setBaseIndex

public void setBaseIndex()
Specified by:
setBaseIndex in interface HarmonicRule

getBaseIndex

public int getBaseIndex()
Specified by:
getBaseIndex in interface HarmonicRule

setDerivedIndices

public void setDerivedIndices(int... indices)
Specified by:
setDerivedIndices in interface HarmonicRule

getDerivedIndices

public int[] getDerivedIndices()
Specified by:
getDerivedIndices in interface HarmonicRule

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