001 // Copyright (c) 2001 Hursh Jain (http://www.mollypages.org)
002 // The Molly framework is freely distributable under the terms of an
003 // MIT-style license. For details, see the molly pages web site at:
004 // http://www.mollypages.org/. Use, modify, have fun !
005
006 package fc.util;
007
008 /**
009 A horizontal HAlign enumeration.
010
011 @author hursh jain
012 **/
013 public class HAlign
014 {
015 public static final HAlign LEFT = new HAlign("left");
016 public static final HAlign RIGHT = new HAlign("right");
017 public static final HAlign CENTER = new HAlign("center");
018
019 public String toString() { return "HAlign="+name; }
020 private String name;
021 private HAlign(String name) { this.name = name; }
022 } //~class HAlign