//Copyright (c) 2000-2003 San Diego Supercomputer Center (SDSC), //a facility operated by the University of California, San Diego (UCSD) // //Users and possessors of this source code are hereby granted a //nonexclusive, royalty-free copyright and design patent license to //use this code in individual software. License is not granted for //commercial resale, in whole or in part, without prior written //permission from SDSC. This source is provided "AS IS" without express //or implied warranty of any kind. // //For further information, please see: http://mbt.sdsc.edu // package edu.sdsc.mbt.viewables; import java.awt.*; public class ResidueAnnotation { public static int NO_BORDER = 0; public static int OUTSIDE_BORDER = 1; public static int BOTTOM_BORDER = 2; public static int TOP_BORDER = 3; private Color color = null; private int style = NO_BORDER; public ResidueAnnotation(){ style = NO_BORDER; color = Color.black; } public ResidueAnnotation(int s, Color c){ style = s; color = c; } public Color getColor(){ return color; } public int getStyle(){ return style; } }