Class WidgetProperties
- java.lang.Object
-
- org.eclipse.jface.databinding.swt.WidgetProperties
-
@Deprecated public class WidgetProperties extends Object
Deprecated.This class has replaced by the classWidgetProperties. That class creates typed property objects, while this class creates raw property objects. This class has been preserved for backwards compatibility reasons.A factory for creating properties of SWTwidgets.- Since:
- 1.3
-
-
Constructor Summary
Constructors Constructor Description WidgetProperties()Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static IWidgetValuePropertybackground()Deprecated.Returns a value property for observing the background color of aControl.static IWidgetValuePropertybounds()Deprecated.Returns a value property for observing the bounds of aControl.static IWidgetValuePropertyeditable()Deprecated.Returns a value property for observing the editable state of aCCombo(since 1.6),StyledText(since 1.6), orText.static IWidgetValuePropertyenabled()Deprecated.static IWidgetValuePropertyfocused()Deprecated.Returns a value property for observing the focus state of aControl.static IWidgetValuePropertyfont()Deprecated.Returns a value property for observing the font of aControl.static IWidgetValuePropertyforeground()Deprecated.Returns a value property for observing the foreground color of aControl.static IWidgetValuePropertyimage()Deprecated.static IWidgetListPropertyitems()Deprecated.static IWidgetValuePropertylocation()Deprecated.Returns a value property for observing the location of aControl.static IWidgetValuePropertymaximum()Deprecated.static IWidgetValuePropertymessage()Deprecated.static IWidgetValuePropertyminimum()Deprecated.static IWidgetValuePropertyselection()Deprecated.static IWidgetValuePropertysingleSelectionIndex()Deprecated.static IWidgetValuePropertysize()Deprecated.Returns a value property for observing the size of aControl.static IWidgetValuePropertytext()Deprecated.static IWidgetValuePropertytext(int event)Deprecated.Returns a value property for observing the text of aStyledTextorText.static IWidgetValuePropertytext(int... events)Deprecated.Returns a value property for observing the text of aStyledTextorText.static IWidgetValuePropertytooltipText()Deprecated.Returns a value property for observing the tooltip text of aCTabItem,Control,TabItem,TableColumn,ToolItem,TrayItemorTreeColumn.static IWidgetValuePropertyvisible()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,ListorTable.- 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 aStyledTextorText.- Parameters:
event- the SWT event type to register for change events. May beSWT.None,SWT.Modify,SWT.FocusOutorSWT.DefaultSelection.- Returns:
- a value property for observing the text of a
StyledTextorText.
-
text
public static IWidgetValueProperty text(int... events)
Deprecated.Returns a value property for observing the text of aStyledTextorText.- Parameters:
events- varags of SWT event types to register for change events. May includeSWT.None,SWT.Modify,SWT.FocusOutorSWT.DefaultSelection.- Returns:
- a value property for observing the text of a
StyledTextorText.
-
tooltipText
public static IWidgetValueProperty tooltipText()
Deprecated.Returns a value property for observing the tooltip text of aCTabItem,Control,TabItem,TableColumn,ToolItem,TrayItemorTreeColumn.- Returns:
- a value property for observing the tooltip text of a
CTabItem,Control,TabItem,TableColumn,ToolItem,TrayItemorTreeColumn.
-
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.
-
-