1 11 package org.eclipse.ui.forms.events; 12 import org.eclipse.swt.events.TypedEvent; 13 import org.eclipse.swt.widgets.Widget; 14 19 public final class HyperlinkEvent extends TypedEvent { 20 private static final long serialVersionUID = 6009335074727417445L; 21 private String label; 22 private int stateMask; 23 37 public HyperlinkEvent(Widget widget, Object href, String label, int stateMask) { 38 super(widget); 39 this.widget = widget; 40 this.data = href; 41 this.label = label; 42 this.stateMask = stateMask; 43 } 44 50 public Object getHref() { 51 return this.data; 52 } 53 58 public String getLabel() { 59 return label; 60 } 61 66 public int getStateMask() { 67 return stateMask; 68 } 69 } 70 | Popular Tags |