Class WidgetProperties
- java.lang.Object
-
- org.eclipse.jface.databinding.swt.WidgetProperties
-
@Deprecated public class WidgetProperties extends Object
Deprecated.This class will be removed in a future release. See https://bugs.eclipse.org/bugs/show_bug.cgi?id=546822 for more information. It has been replaced by the classWidgetProperties
. That class creates typed property objects, while this class creates raw property objects.A factory for creating properties of SWTwidgets
.- Since:
- 1.3
- Restriction:
-
-
Constructor Summary
Constructors Constructor Description WidgetProperties()
Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static IWidgetValueProperty
background()
Deprecated.Returns a value property for observing the background color of aControl
.static IWidgetValueProperty
bounds()
Deprecated.Returns a value property for observing the bounds of aControl
.static IWidgetValueProperty
editable()
Deprecated.Returns a value property for observing the editable state of aCCombo
(since 1.6),StyledText
(since 1.6), orText
.static IWidgetValueProperty
enabled()
Deprecated.static IWidgetValueProperty
focused()
Deprecated.Returns a value property for observing the focus state of aControl
.static IWidgetValueProperty
font()
Deprecated.Returns a value property for observing the font of aControl
.static IWidgetValueProperty
foreground()
Deprecated.Returns a value property for observing the foreground color of aControl
.static IWidgetValueProperty
image()
Deprecated.static IWidgetListProperty
items()
Deprecated.static IWidgetValueProperty
location()
Deprecated.Returns a value property for observing the location of aControl
.static IWidgetValueProperty
maximum()
Deprecated.static IWidgetValueProperty
message()
Deprecated.static IWidgetValueProperty
minimum()
Deprecated.static IWidgetValueProperty
selection()
Deprecated.static IWidgetValueProperty
singleSelectionIndex()
Deprecated.static IWidgetValueProperty
size()
Deprecated.Returns a value property for observing the size of aControl
.static IWidgetValueProperty
text()
Deprecated.static IWidgetValueProperty
text(int event)
Deprecated.Returns a value property for observing the text of aStyledText
orText
.static IWidgetValueProperty
text(int... events)
Deprecated.Returns a value property for observing the text of aStyledText
orText
.static IWidgetValueProperty
tooltipText()
Deprecated.Returns a value property for observing the tooltip text of aCTabItem
,Control
,TabItem
,TableColumn
,ToolItem
,TrayItem
orTreeColumn
.static IWidgetValueProperty
visible()
Deprecated.Returns a value property for observing the visibility state of aControl
.
-
-
-
Method Detail
-
background
public static IWidgetValueProperty background()
Deprecated.Returns a value property for observing the background color of aControl
.- Returns:
- a value property for observing the background color of a
Control
.
-
bounds
public static IWidgetValueProperty bounds()
Deprecated.Returns a value property for observing the bounds of aControl
.- Returns:
- a value property for observing the bounds of a
Control
.
-
editable
public static IWidgetValueProperty editable()
Deprecated.Returns a value property for observing the editable state of aCCombo
(since 1.6),StyledText
(since 1.6), orText
.- Returns:
- a value property for observing the editable state of a
CCombo
,StyledText
, orText
.
-
enabled
public static IWidgetValueProperty enabled()
Deprecated.
-
focused
public static IWidgetValueProperty focused()
Deprecated.Returns a value property for observing the focus state of aControl
.- Returns:
- a value property for observing the focus state of a
Control
.
-
font
public static IWidgetValueProperty font()
Deprecated.Returns a value property for observing the font of aControl
.- Returns:
- a value property for observing the font of a
Control
.
-
foreground
public static IWidgetValueProperty foreground()
Deprecated.Returns a value property for observing the foreground color of aControl
.- Returns:
- a value property for observing the foreground color of a
Control
.
-
image
public static IWidgetValueProperty image()
Deprecated.
-
items
public static IWidgetListProperty items()
Deprecated.
-
location
public static IWidgetValueProperty location()
Deprecated.Returns a value property for observing the location of aControl
.- Returns:
- a value property for observing the location of a
Control
.
-
maximum
public static IWidgetValueProperty maximum()
Deprecated.
-
message
public static IWidgetValueProperty message()
Deprecated.
-
minimum
public static IWidgetValueProperty minimum()
Deprecated.
-
selection
public static IWidgetValueProperty selection()
Deprecated.
-
singleSelectionIndex
public static IWidgetValueProperty singleSelectionIndex()
Deprecated.Returns a value property for observing the single selection index of aCCombo
,Combo
,List
orTable
.- Returns:
- a value property for the single selection index of a SWT Combo.
-
size
public static IWidgetValueProperty size()
Deprecated.Returns a value property for observing the size of aControl
.- Returns:
- a value property for observing the size of a
Control
.
-
text
public static IWidgetValueProperty text()
Deprecated.
-
text
public static IWidgetValueProperty text(int event)
Deprecated.Returns a value property for observing the text of aStyledText
orText
.- Parameters:
event
- the SWT event type to register for change events. May beSWT.None
,SWT.Modify
,SWT.FocusOut
orSWT.DefaultSelection
.- Returns:
- a value property for observing the text of a
StyledText
orText
.
-
text
public static IWidgetValueProperty text(int... events)
Deprecated.Returns a value property for observing the text of aStyledText
orText
.- Parameters:
events
- varags of SWT event types to register for change events. May includeSWT.None
,SWT.Modify
,SWT.FocusOut
orSWT.DefaultSelection
.- Returns:
- a value property for observing the text of a
StyledText
orText
.
-
tooltipText
public static IWidgetValueProperty tooltipText()
Deprecated.Returns a value property for observing the tooltip text of aCTabItem
,Control
,TabItem
,TableColumn
,ToolItem
,TrayItem
orTreeColumn
.- Returns:
- a value property for observing the tooltip text of a
CTabItem
,Control
,TabItem
,TableColumn
,ToolItem
,TrayItem
orTreeColumn
.
-
visible
public static IWidgetValueProperty visible()
Deprecated.Returns a value property for observing the visibility state of aControl
.- Returns:
- a value property for observing the visibility state of a
Control
.
-
-