package com.wiley.compBooks.EJwithUML.Base.HtmlPrimitives.Core; /** * Style is an extendable enumerated type that captures some * basic styles. Most applications should extend this class * with a set of application specific styles **/ public class Style { private String value; /** Construct a Style object with the specified style class * as its value. */ protected Style(String style) { this.value = style; } public String toString() { return this.value; } public final static Style PAGE_TITLE = new Style("page_title"); public final static Style IMPORTANT_TEXT = new Style("important_text"); public final static Style WARNING_TEXT = new Style("warning_text"); public final static Style NORMAL_TEXT = new Style("normal_text"); public final static Style FINEPRINT_TEXT = new Style("fineprint_text"); public final static Style NORMAL_IMAGE = new Style("normal_image"); public final static Style DEBUG_TABLE = new Style("debug_table"); }