Свойство | Тип | Описание | |
---|---|---|---|
_boAddedHandler | EventHandler |
||
_collection | IBusinessObjectCollection | ||
_propUpdatedEventHandler | EventHandler |
||
_removedHandler | EventHandler |
||
_table | |||
_uiGridProperties | ICollection | ||
_updatedHandler | EventHandler |
Метод | Описание | |
---|---|---|
Find ( System.Guid objectID ) : IBusinessObject |
Returns a business object that matches the ID provided
|
|
FindRow ( IBusinessObject bo ) : int |
Finds the row number in which a specified business object resides
|
|
GetDataView ( IUIGrid uiGrid ) : IBindingListView |
Returns a data view for the UIGridDef provided
|
|
InitialiseLocalData ( ) : void |
Initialises the local data
|
|
RegisterForEvents ( ) : void |
Adds handlers to be called when updates occur
|
|
UpdateBusinessObjectRowValues ( IBusinessObject businessObject ) : void |
Updates the row values for the specified IBusinessObject.
|
Метод | Описание | |
---|---|---|
BOAddedHandler ( object sender, Habanero.Base.BOEventArgs e ) : void |
Handles the event of a business object being added. Adds a new data row containing the object.
|
|
DataSetProvider ( IBusinessObjectCollection collection ) : System |
Constructor to initialise a provider with a specified business object collection
|
|
DeregisterForBOEvents ( ) : void |
Derigisters the Data Set Provider from all events raised by the BO collection.
|
|
DeregisterForTableEvents ( ) : void |
Deregisters for all events to the _table
|
|
GetValues ( IBusinessObject businessObject ) : object[] |
Gets a list of the property values to display to the user
|
|
RegisterForBOEvents ( ) : void |
Registers for all events from the _collection
|
|
RegisterForTableEvents ( ) : void |
Registers for all events to the _table
|
|
RemovedHandler ( object sender, Habanero.Base.BOEventArgs e ) : void |
Handles the event of a business object being removed. Removes the data row that contains the object.
|
Метод | Описание | |
---|---|---|
AddColumn ( IUIGridColumn uiProperty, IClassDef classDef ) : void | ||
Find ( |
||
Find ( int rowNum ) : IBusinessObject | ||
GetDataTable ( IUIGrid uiGrid ) : |
||
GetPropertyType ( IClassDef classDef, string propertyName ) : |
||
IDUpdatedHandler ( object sender, Habanero.Base.BOEventArgs e ) : void |
Updates the grid ID column when the Business's ID is changed.
|
|
LoadBusinessObject ( IBusinessObject businessObject ) : void |
Adds the Business Object to the DataTable
|
|
PropertyUpdatedHandler ( object sender, Habanero.Base.BOPropUpdatedEventArgs propEventArgs ) : void | ||
UpdatedHandler ( object sender, Habanero.Base.BOEventArgs e ) : void |
Handles the event of a IBusinessObject being updated
|
protected BOAddedHandler ( object sender, Habanero.Base.BOEventArgs e ) : void | ||
sender | object | The object that notified of the event |
e | Habanero.Base.BOEventArgs | Attached arguments regarding the event |
Результат | void |
protected DataSetProvider ( IBusinessObjectCollection collection ) : System | ||
collection | IBusinessObjectCollection | The business object collection |
Результат | System |
protected DeregisterForTableEvents ( ) : void | ||
Результат | void |
public Find ( System.Guid objectID ) : IBusinessObject | ||
objectID | System.Guid | The ID |
Результат | IBusinessObject |
public FindRow ( IBusinessObject bo ) : int | ||
bo | IBusinessObject | The business object to search for |
Результат | int |
public GetDataView ( IUIGrid uiGrid ) : IBindingListView | ||
uiGrid | IUIGrid | The UIGridDef |
Результат | IBindingListView |
protected GetValues ( IBusinessObject businessObject ) : object[] | ||
businessObject | IBusinessObject | The business object whose /// properties are to be displayed |
Результат | object[] |
public abstract InitialiseLocalData ( ) : void | ||
Результат | void |
protected RegisterForTableEvents ( ) : void | ||
Результат | void |
protected RemovedHandler ( object sender, Habanero.Base.BOEventArgs e ) : void | ||
sender | object | The object that notified of the event |
e | Habanero.Base.BOEventArgs | Attached arguments regarding the event |
Результат | void |
public UpdateBusinessObjectRowValues ( IBusinessObject businessObject ) : void | ||
businessObject | IBusinessObject | The |
Результат | void |
protected IBusinessObjectCollection _collection | ||
Результат | IBusinessObjectCollection |
protected EventHandler |
||
Результат | EventHandler |