com.sage.swt.client.widget.property
Class GroupPanelPropertyBindingPropertyEditorWidget

java.lang.Object
  extended by com.google.gwt.user.client.ui.UIObject
      extended by com.google.gwt.user.client.ui.Widget
          extended by com.google.gwt.user.client.ui.Composite
              extended by com.sage.swt.client.widget.property.GroupPanelPropertyBindingPropertyEditorWidget
All Implemented Interfaces:
com.google.gwt.event.dom.client.ClickHandler, com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.shared.EventHandler, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.IsWidget, HasDataToLoad, PropertyEditorWidget, SwtPopupFormClosedHandler

public class GroupPanelPropertyBindingPropertyEditorWidget
extends com.google.gwt.user.client.ui.Composite
implements com.google.gwt.event.dom.client.ClickHandler, SwtPopupFormClosedHandler, PropertyEditorWidget, HasDataToLoad

The widget for editing the data property binding for all the data-aware widgets in the group panel. This is used in the UI Designer. The widget is actually a button - and when you click the button, a dialog is displayed. That dialog displays the various data property binding field in a table - which the user can edit directly. In addition, there are buttons for insert new values, deleting items, and changing their positions.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
 
Field Summary
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
GroupPanelPropertyBindingPropertyEditorWidget(Property property, SwtWidget swtWidget, SwtErrorStack errorStack)
          Constructor.
 
Method Summary
 java.lang.Object getPropertyValue()
          Gets the property value that is shown in the property area of the UI Designer.
 boolean isDataLoaded()
          Indicates whether the PropertyEditorWidget has already loaded the property data
 void onClick(com.google.gwt.event.dom.client.ClickEvent event)
          
 void onPopupFormClosed(SwtPopupFormClosedEvent event)
          Fired when a SwtPopup is closed.
 
Methods inherited from class com.google.gwt.user.client.ui.Composite
getWidget, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, setWidget
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents
 
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString, unsinkEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GroupPanelPropertyBindingPropertyEditorWidget

public GroupPanelPropertyBindingPropertyEditorWidget(Property property,
                                                     SwtWidget swtWidget,
                                                     SwtErrorStack errorStack)
Constructor.

Parameters:
property - The property whose value will be edited.
swtWidget - The SWT widget whose property will be edited.
errorStack - The UI designer's SWT error stack.
Method Detail

onClick

public void onClick(com.google.gwt.event.dom.client.ClickEvent event)

Specified by:
onClick in interface com.google.gwt.event.dom.client.ClickHandler

onPopupFormClosed

public void onPopupFormClosed(SwtPopupFormClosedEvent event)
Fired when a SwtPopup is closed.

Specified by:
onPopupFormClosed in interface SwtPopupFormClosedHandler
Parameters:
event - the event

getPropertyValue

public java.lang.Object getPropertyValue()
Gets the property value that is shown in the property area of the UI Designer.

Specified by:
getPropertyValue in interface PropertyEditorWidget
Returns:
The property value of the widget.

isDataLoaded

public boolean isDataLoaded()
Indicates whether the PropertyEditorWidget has already loaded the property data

Specified by:
isDataLoaded in interface HasDataToLoad
Returns:
True if the property data has already been loaded, false otherwise.


Copyright © 2011 Sage Software, Inc. All rights reserved.