/******************************************************************************* * Copyright (c) 2004, 2008 John Krasnay and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * John Krasnay - initial API and implementation *******************************************************************************/ package net.sf.vex.core; /** * Wrapper for a toolkit-defined color. Color objects are system resources. * They should be retrieved with the Graphics.createColor method and should * be disposed when no longer needed. */ public interface ColorResource { public static final int SELECTION_BACKGROUND = 0; public static final int SELECTION_FOREGROUND = 1; public void dispose(); }