|
Eclipse Platform Release 3.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jface.databinding.swt.WidgetProperties
public class WidgetProperties
A factory for creating properties of SWT widgets
.
Constructor Summary | |
---|---|
WidgetProperties()
|
Method Summary | |
---|---|
static IWidgetValueProperty |
background()
Returns a value property for observing the background color of a Control . |
static IWidgetValueProperty |
bounds()
Returns a value property for observing the bounds of a Control . |
static IWidgetValueProperty |
editable()
Returns a value property for observing the editable state of a Text . |
static IWidgetValueProperty |
enabled()
Returns a value property for observing the enablement state of a Control . |
static IWidgetValueProperty |
focused()
Returns a value property for observing the focus state of a Control . |
static IWidgetValueProperty |
font()
Returns a value property for observing the font of a Control . |
static IWidgetValueProperty |
foreground()
Returns a value property for observing the foreground color of a Control . |
static IWidgetValueProperty |
image()
Returns a value property for observing the image of a Button ,
CLabel , Item or Label . |
static IWidgetListProperty |
items()
Returns a list property for observing the items of a CCombo ,
Combo or List . |
static IWidgetValueProperty |
location()
Returns a value property for observing the location of a Control . |
static IWidgetValueProperty |
maximum()
Returns a value property for observing the maximum value of a Scale or Spinner . |
static IWidgetValueProperty |
message()
Returns a value property for observing the message of a Text or
ToolTip . |
static IWidgetValueProperty |
minimum()
Returns a value property for observing the minimum value of a Scale or Spinner . |
static IWidgetValueProperty |
selection()
Returns a value property for observing the selection state of a Button , CCombo , Combo , DateTime ,
List , Scale or Spinner . |
static IWidgetValueProperty |
singleSelectionIndex()
Returns a value property for observing the single selection index of a CCombo , Combo , List or Table . |
static IWidgetValueProperty |
size()
Returns a value property for observing the size of a Control . |
static IWidgetValueProperty |
text()
Returns a value property for observing the text of a Button ,
CCombo , CLabel , Combo , Item ,
Label , Link , Shell , StyledText or
Text . |
static IWidgetValueProperty |
text(int event)
Returns a value property for observing the text of a StyledText
or Text . |
static IWidgetValueProperty |
text(int[] events)
Returns a value property for observing the text of a StyledText
or Text . |
static IWidgetValueProperty |
tooltipText()
Returns a value property for observing the tooltip text of a CTabItem , Control , TabItem , TableColumn ,
ToolItem , TrayItem or TreeColumn . |
static IWidgetValueProperty |
visible()
Returns a value property for observing the visibility state of a Control . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WidgetProperties()
Method Detail |
---|
public static IWidgetValueProperty background()
Control
.
Control
.public static IWidgetValueProperty bounds()
Control
.
Control
.public static IWidgetValueProperty editable()
Text
.
Text
.public static IWidgetValueProperty enabled()
Control
.
Control
.public static IWidgetValueProperty focused()
Control
.
Control
.public static IWidgetValueProperty font()
Control
.
Control
.public static IWidgetValueProperty foreground()
Control
.
Control
.public static IWidgetValueProperty image()
Button
,
CLabel
, Item
or Label
.
Button
,
CLabel
, Item
or Label
.public static IWidgetListProperty items()
CCombo
,
Combo
or List
.
CCombo
,
Combo
or List
.public static IWidgetValueProperty location()
Control
.
Control
.public static IWidgetValueProperty maximum()
Scale
or Spinner
.
Scale
or Spinner
.public static IWidgetValueProperty message()
Text
or
ToolTip
.
Text
or
ToolTip
.public static IWidgetValueProperty minimum()
Scale
or Spinner
.
Scale
or Spinner
.public static IWidgetValueProperty selection()
Button
, CCombo
, Combo
, DateTime
,
List
, Scale
or Spinner
.
Button
, CCombo
, Combo
, DateTime
,
List
, Scale
or Spinner
.public static IWidgetValueProperty singleSelectionIndex()
CCombo
, Combo
, List
or Table
.
public static IWidgetValueProperty size()
Control
.
Control
.public static IWidgetValueProperty text()
Button
,
CCombo
, CLabel
, Combo
, Item
,
Label
, Link
, Shell
, StyledText
or
Text
.
Button
,
CCombo
, CLabel
, Combo
, Item
,
Label
, Link
, Shell
, StyledText
or
Text
.public static IWidgetValueProperty text(int event)
StyledText
or Text
.
event
- the SWT event type to register for change events. May be
SWT.None
, SWT.Modify
, SWT.FocusOut
or
SWT.DefaultSelection
.
StyledText
or Text
.public static IWidgetValueProperty text(int[] events)
StyledText
or Text
.
events
- array of SWT event types to register for change events. May
include SWT.None
, SWT.Modify
,
SWT.FocusOut
or SWT.DefaultSelection
.
StyledText
or Text
.public static IWidgetValueProperty tooltipText()
CTabItem
, Control
, TabItem
, TableColumn
,
ToolItem
, TrayItem
or TreeColumn
.
CTabItem
, Control
, TabItem
,
TableColumn
, ToolItem
, TrayItem
or
TreeColumn
.public static IWidgetValueProperty visible()
Control
.
Control
.
|
Eclipse Platform Release 3.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.