/*
* ColorProfileMaryam.java
*
* Created on March 20, 2007, 12:12 PM
*
* To change this template, choose Tools | Template Manager
* and open the template in the editor.
*/

package sidnet.colorprofiles;

/**
*
* @author Oliver
*/

import sidnet.core.gui.*;
import sidnet.core.interfaces.ColorProfile;
import java.awt.Color;

/**
 *
 * @author Oliviu Ghica
 */
public class ColorProfileMaryam extends ColorProfile{
    // Events list - lowest number - highest priority 
    // public static final int DEAD       = 0;   // pre-defined in the ColorProfile
    // public static final int SELECTED   = 1;   // pre-defined in the ColorProfile
    public static final int MONITOR    = 2;
    public static final int ISOLATED   = 3;
    public static final int DATA       = 4;
    public static final int TRANSMIT   = 5;
    public static final int RECEIVE    = 6;
    public static final int SLEEP      = 7;
    public static final int SINK       = 8;
    public static final int SENSE      = 9;
    public static final int DEFAULT    = 10; // !!!! default must be declared, and it must be the last one, DEFAULT = colorNum - 1 !!!!!
   
    private static final int colorNum  = 11;
    /**
     * Constructor function in which you must define the assignment of
colors to the array
     */
    public ColorProfileMaryam() {
        
        super(colorNum);
       
        // null means transparent, or, I don't care of this color
        innerColorList[MONITOR]     = Color.blue;          outerColorList[MONITOR]    = Color.black; /* Monitor Node's Color*/
        innerColorList[ISOLATED]    = Color.yellow;          outerColorList[MONITOR]    = Color.black; /* Monitor Node's Color*/
        innerColorList[DATA]        = Color.red;           outerColorList[DATA]       = null;
        innerColorList[TRANSMIT]    = null;                outerColorList[TRANSMIT]   = Color.red;
        innerColorList[RECEIVE]     = Color.green;         outerColorList[RECEIVE]    = null;
        innerColorList[SLEEP]       = Color.gray;          outerColorList[SLEEP]      = null;
        innerColorList[SINK]        = Color.red;           outerColorList[SINK]       = null;
        innerColorList[SENSE]       = Color.blue;          outerColorList[SENSE]      = null;
        
        innerColorList[DEFAULT]     = Color.white;         outerColorList[DEFAULT]    = Color.black;
        
       
    }
}
