irc
Interface IRCColorModel

All Known Implementing Classes:
PixxColorModel

public interface IRCColorModel

Color Model.


Method Summary
 java.awt.Color getColor(int i)
          Get the i'th color.
 int getColorCount()
          Get the number of colors.
 void setColor(int i, java.awt.Color c)
          Replace the i'th color with the given color.
 

Method Detail

setColor

public void setColor(int i,
                     java.awt.Color c)
Replace the i'th color with the given color.

Parameters:
i - color index. Must be smaller than getColorCount.
c - new color.

getColorCount

public int getColorCount()
Get the number of colors.

Returns:
color count.

getColor

public java.awt.Color getColor(int i)
Get the i'th color.

Parameters:
i - color index.
Returns:
i'th color.