Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.jface.databinding.swt
Class WidgetProperties


java.lang.Object
  extended by 
org.eclipse.jface.databinding.swt.WidgetProperties

public class WidgetProperties
extends Object

A factory for creating properties of SWT widgets.

Since:
1.3

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

WidgetProperties

public WidgetProperties()
Method Detail

background

public static 
IWidgetValueProperty background()
Returns a value property for observing the background color of a Control.

Returns:
a value property for observing the background color of a Control.

bounds

public static 
IWidgetValueProperty bounds()
Returns a value property for observing the bounds of a Control.

Returns:
a value property for observing the bounds of a Control.

editable

public static 
IWidgetValueProperty editable()
Returns a value property for observing the editable state of a Text.

Returns:
a value property for observing the editable state of a Text.

enabled

public static 
IWidgetValueProperty enabled()
Returns a value property for observing the enablement state of a Control.

Returns:
a value property for observing the enablement state of a Control.

focused

public static 
IWidgetValueProperty focused()
Returns a value property for observing the focus state of a Control.

Returns:
a value property for observing the focus state of a Control.

font

public static 
IWidgetValueProperty font()
Returns a value property for observing the font of a Control.

Returns:
a value property for observing the font of a Control.

foreground

public static 
IWidgetValueProperty foreground()
Returns a value property for observing the foreground color of a Control.

Returns:
a value property for observing the foreground color of a Control.

image

public static 
IWidgetValueProperty image()
Returns a value property for observing the image of a Button, CLabel, Item or Label.

Returns:
a value property for observing the image of a Button, CLabel, Item or Label.

items

public static 
IWidgetListProperty items()
Returns a list property for observing the items of a CCombo, Combo or List.

Returns:
a list property for observing the items of a CCombo, Combo or List.

location

public static 
IWidgetValueProperty location()
Returns a value property for observing the location of a Control.

Returns:
a value property for observing the location of a Control.

maximum

public static 
IWidgetValueProperty maximum()
Returns a value property for observing the maximum value of a Scale or Spinner.

Returns:
a value property for observing the maximum value of a Scale or Spinner.

message

public static 
IWidgetValueProperty message()
Returns a value property for observing the message of a Text or ToolTip.

Returns:
a value property for observing the message of a Text or ToolTip.

minimum

public static 
IWidgetValueProperty minimum()
Returns a value property for observing the minimum value of a Scale or Spinner.

Returns:
a value property for observing the minimum value of a Scale or Spinner.

selection

public static 
IWidgetValueProperty selection()
Returns a value property for observing the selection state of a Button, CCombo, Combo, DateTime, List, Scale or Spinner.

Returns:
a value property for observing the selection state of a Button, CCombo, Combo, DateTime, List, Scale or Spinner.

singleSelectionIndex

public static 
IWidgetValueProperty singleSelectionIndex()
Returns a value property for observing the single selection index of a CCombo, Combo, List or Table.

Returns:
a value property for the single selection index of a SWT Combo.

size

public static 
IWidgetValueProperty size()
Returns a value property for observing the size of a Control.

Returns:
a value property for observing the size of a Control.

text

public static 
IWidgetValueProperty text()
Returns a value property for observing the text of a Button, CCombo, CLabel, Combo, Item, Label, Link, Shell, StyledText or Text.

Returns:
a value property for observing the text of a Button, CCombo, CLabel, Combo, Item, Label, Link, Shell, StyledText or Text.

text

public static 
IWidgetValueProperty text(int event)
Returns a value property for observing the text of a StyledText or Text.

Parameters:
event - the SWT event type to register for change events. May be SWT.None, SWT.Modify, SWT.FocusOut or SWT.DefaultSelection.
Returns:
a value property for observing the text of a StyledText or Text.

text

public static 
IWidgetValueProperty text(int[] events)
Returns a value property for observing the text of a StyledText or Text.

Parameters:
events - array of SWT event types to register for change events. May include SWT.None, SWT.Modify, SWT.FocusOut or SWT.DefaultSelection.
Returns:
a value property for observing the text of a StyledText or Text.

tooltipText

public static 
IWidgetValueProperty tooltipText()
Returns a value property for observing the tooltip text of a CTabItem, Control, TabItem, TableColumn, ToolItem, TrayItem or TreeColumn.

Returns:
a value property for observing the tooltip text of a CTabItem, Control, TabItem, TableColumn, ToolItem, TrayItem or TreeColumn.

visible

public static 
IWidgetValueProperty visible()
Returns a value property for observing the visibility state of a Control.

Returns:
a value property for observing the visibility state of a Control.

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire