KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > jface > internal > databinding > internal > swt > SWTProperties


1 /*******************************************************************************
2  * Copyright (c) 2005, 2007 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  * Matt Carter - bug 170668
11  * Brad Reynolds - bug 170848
12  *******************************************************************************/

13 package org.eclipse.jface.internal.databinding.internal.swt;
14
15 /**
16  * Constants used to describe properties of SWT controls.
17  *
18  * @since 1.0
19  *
20  */

21 public interface SWTProperties {
22
23     /**
24      * Applies to Control
25      */

26     public static final String JavaDoc ENABLED = "enabled"; //$NON-NLS-1$
27
/**
28      * Applies to Control
29      */

30     public static final String JavaDoc VISIBLE = "visible"; //$NON-NLS-1$
31
/**
32      * Applies to Control
33      */

34     public static final String JavaDoc TOOLTIP_TEXT = "tooltip"; //$NON-NLS-1$
35
/**
36      * Applies to
37      */

38     public static final String JavaDoc ITEMS = "items"; //$NON-NLS-1$
39
/**
40      * Applies to Spinner
41      */

42     public static final String JavaDoc MAX = "max"; //$NON-NLS-1$
43
/**
44      * Applies to Spinner
45      */

46     public static final String JavaDoc MIN = "min"; //$NON-NLS-1$
47
/**
48      * Applies to Spinner, Button
49      */

50     public static final String JavaDoc SELECTION = "selection"; //$NON-NLS-1$
51
/**
52      * Applies to Spinner, Button
53      */

54     public static final String JavaDoc SELECTION_INDEX = "index"; //$NON-NLS-1$
55
/**
56      * Applies to Text, Label, Combo
57      */

58     public static final String JavaDoc TEXT = "text"; //$NON-NLS-1$
59

60     /**
61      * Applies to Label, CLabel.
62      */

63     public static final String JavaDoc IMAGE = "image"; //$NON-NLS-1$
64
/**
65      * Applies to Control
66      */

67     public static final String JavaDoc FOREGROUND = "foreground"; //$NON-NLS-1$
68
/**
69      * Applies to Control
70      */

71     public static final String JavaDoc BACKGROUND = "background"; //$NON-NLS-1$
72
/**
73      * Applies to Control
74      */

75     public static final String JavaDoc FONT = "font"; //$NON-NLS-1$
76

77 }
78
Popular Tags