1 21 22 package com.izforge.izpack.gui; 23 24 import java.awt.Component ; 25 26 34 public class TwoColumnConstraints implements Cloneable 35 { 36 37 public static final int NORTH = 9; 40 41 public static final int WEST = 15; 42 43 public static final int WESTONLY = 16; 44 45 public static final int EAST = 26; 46 47 public static final int EASTONLY = 27; 48 49 public static final int BOTH = 29; 50 51 public static final int LEFT = 31; 52 53 public static final int CENTER = 35; 54 55 public static final int RIGHT = 47; 56 57 65 public int position = WEST; 66 67 72 public int align = LEFT; 73 74 75 public boolean indent = false; 76 77 81 public boolean stretch = false; 82 83 84 Component component = null; 85 86 91 public Object clone() 92 { 93 TwoColumnConstraints newObject = new TwoColumnConstraints(); 94 95 newObject.position = position; 96 newObject.align = align; 97 newObject.indent = indent; 98 newObject.stretch = stretch; 99 newObject.component = component; 100 101 return (newObject); 102 } 103 } 104 105 | Popular Tags |