01: /*******************************************************************************
02: * Copyright (c) 2000, 2005 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: * Chriss Gross (schtoo@schtoo.com) - fix for 61670
11: *******************************************************************************/package org.eclipse.ui.internal.forms.widgets;
12:
13: import org.eclipse.swt.graphics.*;
14: import org.eclipse.swt.graphics.GC;
15:
16: public interface IHyperlinkSegment extends IFocusSelectable {
17: String getHref();
18:
19: String getText();
20:
21: void paintFocus(GC gc, Color bg, Color fg, boolean selected,
22: Rectangle repaintRegion);
23:
24: boolean contains(int x, int y);
25:
26: boolean intersects(Rectangle rect);
27: }
|