Esempio n. 1
0
 /// <summary>
 /// The progress mode for a given cell. This method is only called for
 /// columns of type |progressmeter|.
 /// </summary>
 public int GetProgressMode(int row, TreeColumn col)
 {
     //return _treeView.GetProgressMode(row, col._treeColumn);
     throw new NotImplementedException();
 }
Esempio n. 2
0
 /// <summary>
 /// The progress mode for a given cell. This method is only called for
 /// columns of type |progressmeter|.
 /// </summary>
 public int GetProgressMode(int row, TreeColumn col)
 {
     return(_treeView.GetProgressMode(row, col._treeColumn));
 }
Esempio n. 3
0
 /// <summary>
 /// The image path for a given cell. For defining an icon for a cell.
 /// If the empty string is returned, the :moz-tree-image pseudoelement
 /// will be used.
 /// </summary>
 public string GetImageSrc(int row, TreeColumn col)
 {
     return(nsString.Get(_treeView.GetImageSrc, row, col._treeColumn));
 }
Esempio n. 4
0
		/// <summary>
		/// Called on the view when a header is clicked.
		/// </summary>
		public void CycleHeader(TreeColumn col)
		{
			_treeView.CycleHeader( col._treeColumn );
		}
Esempio n. 5
0
 /// <summary>
 /// The value for a given cell. This method is only called for columns
 /// of type other than |text|.
 /// </summary>
 public string GetCellValue(int row, TreeColumn col)
 {
     return nsString.Get(_treeView.Instance.GetCellValue, row, col._treeColumn.Instance);
 }
Esempio n. 6
0
 /// <summary>
 /// Called on the view when a cell in a non-selectable cycling column (e.g., unread/flag/etc.) is clicked.
 /// </summary>
 public void CycleCell(int row, TreeColumn col)
 {
     _treeView.CycleCell(row, col._treeColumn);
 }
Esempio n. 7
0
 /// <summary>
 /// setCellText is called when the contents of the cell have been edited by the user.
 /// </summary>
 public void SetCellText(int row, TreeColumn col, string value)
 {
     nsString.Set(_treeView.SetCellText, row, col._treeColumn, value);
 }
Esempio n. 8
0
 /// <summary>
 /// isSelectable is called to ask the view if the cell is selectable.
 /// This method is only called if the selection style is |cell| or |text|.
 /// XXXvarga shouldn't this be called isCellSelectable?
 /// </summary>
 public bool IsSelectable(int row, TreeColumn col)
 {
     return _treeView.Instance.IsSelectable(row, col._treeColumn.Instance);
 }
Esempio n. 9
0
 /// <summary>
 /// A command API that can be used to invoke commands on a specific cell.
 /// </summary>
 public void PerformActionOnCell(string action, int row, TreeColumn col)
 {
     _treeView.Instance.PerformActionOnCell(action, row, col._treeColumn.Instance);
 }
Esempio n. 10
0
 /// <summary>
 /// The image path for a given cell. For defining an icon for a cell.
 /// If the empty string is returned, the :moz-tree-image pseudoelement
 /// will be used.
 /// </summary>
 public string GetImageSrc(int row, TreeColumn col)
 {
     return nsString.Get(_treeView.Instance.GetImageSrc, row, col._treeColumn.Instance);
 }
Esempio n. 11
0
 /// <summary>
 /// The progress mode for a given cell. This method is only called for
 /// columns of type |progressmeter|.
 /// </summary>
 public int GetProgressMode(int row, TreeColumn col)
 {
     return _treeView.Instance.GetProgressMode(row, col._treeColumn.Instance);
 }
Esempio n. 12
0
		/// <summary>
		/// setCellText is called when the contents of the cell have been edited by the user.
		/// </summary>
		public void SetCellText(int row, TreeColumn col,string value)
		{
			nsString.Set( _treeView.SetCellText, row, col._treeColumn, value );
		}
Esempio n. 13
0
		/// <summary>
		/// isEditable is called to ask the view if the cell contents are editable.
		/// A value of true will result in the tree popping up a text field when
		/// the user tries to inline edit the cell.
		/// </summary>
		public bool IsEditable(int row,  TreeColumn col)
		{
			return _treeView.IsEditable( row, col._treeColumn );
		}
Esempio n. 14
0
		/// <summary>
		/// Called on the view when a cell in a non-selectable cycling column (e.g., unread/flag/etc.) is clicked.
		/// </summary>
		public void CycleCell(int row, TreeColumn col)
		{
			_treeView.CycleCell(row, col._treeColumn);
		}
Esempio n. 15
0
 /// <summary>
 /// The text for a given cell.  If a column consists only of an image, then
 /// the empty string is returned.
 /// </summary>
 public string GetCellText(int row, TreeColumn col)
 {
     return(nsString.Get(_treeView.GetCellText, row, col._treeColumn));
 }
Esempio n. 16
0
 /// <summary>
 /// setCellValue is called when the value of the cell has been set by the user.
 /// This method is only called for columns of type other than |text|.
 /// </summary>
 public void SetCellValue(int row, TreeColumn col, string value)
 {
     nsString.Set(_treeView.Instance.SetCellValue, row, col._treeColumn.Instance, value);
 }
Esempio n. 17
0
 /// <summary>
 /// Called on the view when a header is clicked.
 /// </summary>
 public void CycleHeader(TreeColumn col)
 {
     _treeView.CycleHeader(col._treeColumn);
 }
Esempio n. 18
0
 /// <summary>
 /// Called on the view when a cell in a non-selectable cycling column (e.g., unread/flag/etc.) is clicked.
 /// </summary>
 public void CycleCell(int row, TreeColumn col)
 {
     _treeView.Instance.CycleCell(row, col._treeColumn.Instance);
 }
Esempio n. 19
0
 /// <summary>
 /// isSelectable is called to ask the view if the cell is selectable.
 /// This method is only called if the selection style is |cell| or |text|.
 /// XXXvarga shouldn't this be called isCellSelectable?
 /// </summary>
 public bool IsSelectable(int row, TreeColumn col)
 {
     return(_treeView.IsSelectable(row, col._treeColumn));
 }
Esempio n. 20
0
 /// <summary>
 /// Called on the view when a header is clicked.
 /// </summary>
 public void CycleHeader(TreeColumn col)
 {
     _treeView.Instance.CycleHeader(col._treeColumn.Instance);
 }
Esempio n. 21
0
 /// <summary>
 /// A command API that can be used to invoke commands on a specific cell.
 /// </summary>
 public void PerformActionOnCell(string action, int row, TreeColumn col)
 {
     _treeView.PerformActionOnCell(action, row, col._treeColumn);
 }
Esempio n. 22
0
		/// <summary>
		/// The text for a given cell.  If a column consists only of an image, then
		/// the empty string is returned.
		/// </summary>
		public string GetCellText(int row, TreeColumn col)
		{
			return nsString.Get(_treeView.GetCellText, row, col._treeColumn);
		}