1 14 package org.wings; 15 16 import org.wings.plaf.ClickableCG; 17 18 22 public abstract class SAbstractClickable 23 extends SAbstractIconTextCompound { 24 25 31 public SAbstractClickable(String text) { 32 this(text, null, SConstants.LEFT); 33 } 34 35 38 public SAbstractClickable() { 39 this((String ) null); 40 } 41 42 48 public SAbstractClickable(SIcon icon) { 49 this(icon, SConstants.LEFT); 50 } 51 52 62 public SAbstractClickable(SIcon icon, int horizontalAlignment) { 63 this(null, icon, horizontalAlignment); 64 } 65 66 73 public SAbstractClickable(String text, SIcon icon) { 74 setText(text); 75 setIcon(icon); 76 setHorizontalAlignment(SConstants.LEFT); 77 } 78 79 90 public SAbstractClickable(String text, SIcon icon, int horizontalAlignment) { 91 setText(text); 92 setIcon(icon); 93 setHorizontalAlignment(horizontalAlignment); 94 } 95 96 106 public SAbstractClickable(String text, int horizontalAlignment) { 107 this(text, null, horizontalAlignment); 108 } 109 110 public abstract boolean isEpochCheckEnabled(); 111 112 public abstract SimpleURL getURL(); 113 114 public void setCG(ClickableCG cg) { 115 super.setCG(cg); 116 } 117 } 118 | Popular Tags |