Project

General

Profile

« Previous | Next » 

Revision 3be6ef3e

Added by Niels Hoffmann over 13 years ago

performed javacscript:fix and worked on documentation

View differences:

taxeditor-editor/src/main/java/eu/etaxonomy/taxeditor/forms/ISelectable.java
16 16

  
17 17

  
18 18
/**
19
 * <p>ISelectable interface.</p>
20
 *
19 21
 * @author n.hoffmann
20 22
 * @created Feb 22, 2010
21 23
 * @version 1.0
22 24
 */
23 25
public interface ISelectable{
24 26
	
27
	/** Constant <code>SELECTED</code> */
25 28
	public static Color SELECTED = Display.getCurrent().getSystemColor(SWT.COLOR_LIST_SELECTION);
29
	/** Constant <code>NOT_SELECTED</code> */
26 30
	public static Color NOT_SELECTED = Display.getCurrent().getSystemColor(SWT.COLOR_WHITE);
27 31
	
28 32
	/**
29
	 * @param b
33
	 * <p>setSelected</p>
34
	 *
35
	 * @param selected a boolean.
30 36
	 */
31 37
	public void setSelected(boolean selected);
32 38
	
39
	/**
40
	 * <p>getColor</p>
41
	 *
42
	 * @param selected a boolean.
43
	 * @return a {@link org.eclipse.swt.graphics.Color} object.
44
	 */
33 45
	public Color getColor(boolean selected);
34 46
}

Also available in: Unified diff