001/* 002 * (C) Copyright 2013 Nuxeo SA (http://nuxeo.com/) and others. 003 * 004 * Licensed under the Apache License, Version 2.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * 008 * http://www.apache.org/licenses/LICENSE-2.0 009 * 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013 * See the License for the specific language governing permissions and 014 * limitations under the License. 015 * 016 * Contributors: 017 * Martin Pernollet 018 */ 019 020package org.nuxeo.ecm.platform.groups.audit.service.acl.excel; 021 022public class ByteColor { 023 public static ByteColor BLACK = new ByteColor((byte) 0x00, (byte) 0x00, (byte) 0x00); 024 025 public static ByteColor WHITE = new ByteColor((byte) 0xFF, (byte) 0xFF, (byte) 0xFF); 026 027 public static ByteColor GREEN = new ByteColor((byte) 0x00, (byte) 0xFF, (byte) 0x00); 028 029 public static ByteColor RED = new ByteColor((byte) 0xFF, (byte) 0x00, (byte) 0x00); 030 031 public static ByteColor BLUE = new ByteColor((byte) 0x00, (byte) 0x00, (byte) 0xFF); 032 033 public ByteColor(byte r, byte g, byte b) { 034 this.r = r; 035 this.g = g; 036 this.b = b; 037 } 038 039 public byte r; 040 041 public byte g; 042 043 public byte b; 044}