tmozIObjectView Interface Reference

View. More...

List of all members.

Public Member Functions

boolean close (in long force)
 Close view.
boolean updateData ()
 Update data.

Public Attributes

readonly attribute boolean modified
 Modification flag.


Detailed Description

View.

Interface for view representation. This interface is directly connected with some tmozIViewObject - data source.


Member Function Documentation

boolean close ( in long  force  ) 

Close view.

Method will close this view.

Parameters:
force flag if user can cancel close operation
  • 0 user can be ask to save modified data. User can cancel this operation.
  • 1 user cannot cancel operation and view have to be closed immidietly
Returns:
Return true if view was closed. Return false if was not closed.

boolean updateData (  ) 

Update data.

Function allows to save modified data back to the data source (tmozIViewObject).

Returns:
Return true if data were saved. Return false if failed.


Member Data Documentation

readonly attribute boolean modified

Modification flag.

  • true True if view was modified
  • false False if view is not modified and contains unchanged data.


Generated on Thu Aug 27 12:37:06 2009 for Tahiti XPCOM API