1 /* 2 Copyright 2001 by Ralph Hartley 3 This software is licenced under the terms of the 4 Gnu Public Licence 5 */ 6 public abstract class FixedAligner extends ViewTransform { 7 8 // public FixedAligner(int type) { 9 // } 10 // WeakSet alignees = new WeakSet(); 11 public static String getName(Aligner that) { 12 if (that==absolute) return("Absolute"); 13 if (that==datum) return("Datum"); 14 if (that==floating) return("Floating"); 15 if (that instanceof Symbol) return(((Symbol)that).getName()); 16 return(null); 17 } 18 19 } 20 21