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 vertical VAlign enumeration. 010 011 @author hursh jain 012 **/ 013 public class VAlign 014 { 015 public static final VAlign TOP = new VAlign("top"); 016 public static final VAlign BOTTOM = new VAlign("bottom"); 017 public static final VAlign MIDDLE = new VAlign("middle"); 018 019 public String toString() { return "VAlign="+name; } 020 private String name; 021 private VAlign(String name) { this.name = name; } 022 } //~class VAlign