Class WidgetProperties
java.lang.Object
org.eclipse.jface.databinding.swt.typed.WidgetProperties
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <S extends Control>
IWidgetValueProperty<S, Color> Returns a value property for observing the background color of aControl.static <S extends Control>
IWidgetValueProperty<S, Rectangle> bounds()Returns a value property for observing the bounds of aControl.static IWidgetValueProperty<Button, Boolean> Returns a value property for observing the selection state of aButton.static IWidgetValueProperty<CCombo, String> Returns a value property for observing the selection state of aCCombo.static IWidgetValueProperty<Combo, String> Returns a value property for observing the selection state of aCombo.static IWidgetValueProperty<DateTime, Date> Returns a value property for observing the selection state of aDateTime.static <S extends Control>
IWidgetValueProperty<S, Boolean> editable()Returns a value property for observing the editable state of aCCombo(since 1.6),StyledText(since 1.6), orText.static <S extends Widget>
IWidgetValueProperty<S, Boolean> enabled()static <S extends Control>
IWidgetValueProperty<S, Boolean> focused()Returns a value property for observing the focus state of aControl.static <S extends Control>
IWidgetValueProperty<S, Font> font()Returns a value property for observing the font of aControl.static <S extends Control>
IWidgetValueProperty<S, Color> Returns a value property for observing the foreground color of aControl.static <S extends Widget>
IWidgetValueProperty<S, Image> image()static <S extends Control>
IWidgetListProperty<S, String> items()static IWidgetValueProperty<List, String> Returns a value property for observing the selection state of aList.static IWidgetValueProperty<DateTime, LocalDate> Returns a value property for observing the selection state of aDateTimewith theSWT.DATEorSWT.CALENDARstyle.static IWidgetValueProperty<DateTime, LocalTime> static <S extends Control>
IWidgetValueProperty<S, Point> location()Returns a value property for observing the location of aControl.static <S extends Control>
IWidgetValueProperty<S, Integer> maximum()static IWidgetValueProperty<MenuItem, Boolean> Returns a value property for observing the selection state of aMenuItem.static <S extends Widget>
IWidgetValueProperty<S, String> message()static <S extends Control>
IWidgetValueProperty<S, Integer> minimum()static IWidgetValueProperty<Scale, Integer> Returns a value property for observing the selection state of aScale.static <S extends Control>
IWidgetValueProperty<S, Integer> static <S extends Control>
IWidgetValueProperty<S, Point> size()Returns a value property for observing the size of aControl.static IWidgetValueProperty<Slider, Integer> Returns a value property for observing the selection state of aSlider.static IWidgetValueProperty<Spinner, Integer> Returns a value property for observing the selection state of aSpinner.static <S extends Widget>
IWidgetValueProperty<S, String> text()static <S extends Widget>
IWidgetValueProperty<S, String> text(int event) Returns a value property for observing the text of aStyledTextorText.static <S extends Widget>
IWidgetValueProperty<S, String> text(int... events) Returns a value property for observing the text of aStyledTextorText.static <S extends Widget>
IWidgetValueProperty<S, String> Returns a value property for observing the tooltip text of aCTabItem,Control,TabItem,TableColumn,ToolItem,TrayItemorTreeColumn.static <S extends Widget>
IWidgetValueProperty<S, Boolean> visible()static <S extends Widget, T>
IWidgetValueProperty<S, T>
-
Constructor Details
-
WidgetProperties
public WidgetProperties()
-
-
Method Details
-
background
-
bounds
-
editable
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
-
focused
-
font
-
foreground
-
image
-
items
-
location
-
maximum
-
message
-
minimum
-
widgetSelection
-
dateTimeSelection
-
localDateSelection
Returns a value property for observing the selection state of aDateTimewith theSWT.DATEorSWT.CALENDARstyle.- Returns:
- a value property for observing the selection state of a
DateTime. - Since:
- 1.12
-
localTimeSelection
-
buttonSelection
-
comboSelection
-
ccomboSelection
-
listSelection
-
scaleSelection
-
sliderSelection
-
spinnerSelection
-
singleSelectionIndex
-
size
-
text
-
text
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
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
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
-