001 package hirondelle.web4jtools.codegenerator.codes; 002 003 /** Style of user interface corresponding to an <tt>ActionTemplateXXX</tt>. */ 004 public enum UiStyle { 005 006 ListAndEdit ("List and Edit"), 007 ShowAndApply ("Show and Apply"); 008 009 /** Render for display to the end user. */ 010 public String getForDisplay(){ 011 return fName; 012 } 013 014 // PRIVATE // 015 private UiStyle(String aName) { 016 fName = aName; 017 } 018 private final String fName; 019 }