1 14 package org.wings; 15 16 import org.wings.plaf.SeparatorCG; 17 18 23 public class SSeparator 24 extends SComponent { 25 28 protected boolean shade = true; 29 30 33 protected int width = 0; 34 35 38 protected int size = 0; 39 40 43 protected int alignment = SConstants.NO_ALIGN; 44 45 46 49 public SSeparator() { 50 } 51 52 53 56 public void setAlignment(int al) { 57 alignment = al; 58 } 59 60 63 public int getAlignment() { 64 return alignment; 65 } 66 67 70 public void setSize(int s) { 71 size = s; 72 } 73 74 79 public int getSize() { 80 return size; 81 } 82 83 88 public void setWidth(int s) { 89 width = s; 90 } 91 92 97 public int getWidth() { 98 return width; 99 } 100 101 106 public void setShade(boolean s) { 107 shade = s; 108 } 109 110 115 public boolean getShade() { 116 return shade; 117 } 118 119 public void setCG(SeparatorCG cg) { 120 super.setCG(cg); 121 } 122 } 123 124 125 | Popular Tags |