コード例 #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();
 }
コード例 #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));
 }
コード例 #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));
 }
コード例 #4
0
ファイル: TreeView.cs プロジェクト: RSchwoerer/Terminals
		/// <summary>
		/// Called on the view when a header is clicked.
		/// </summary>
		public void CycleHeader(TreeColumn col)
		{
			_treeView.CycleHeader( col._treeColumn );
		}
コード例 #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);
 }
コード例 #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);
 }
コード例 #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);
 }
コード例 #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);
 }
コード例 #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);
 }
コード例 #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);
 }
コード例 #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);
 }
コード例 #12
0
ファイル: TreeView.cs プロジェクト: RSchwoerer/Terminals
		/// <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 );
		}
コード例 #13
0
ファイル: TreeView.cs プロジェクト: RSchwoerer/Terminals
		/// <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 );
		}
コード例 #14
0
ファイル: TreeView.cs プロジェクト: RSchwoerer/Terminals
		/// <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);
		}
コード例 #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));
 }
コード例 #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);
 }
コード例 #17
0
 /// <summary>
 /// Called on the view when a header is clicked.
 /// </summary>
 public void CycleHeader(TreeColumn col)
 {
     _treeView.CycleHeader(col._treeColumn);
 }
コード例 #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);
 }
コード例 #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));
 }
コード例 #20
0
 /// <summary>
 /// Called on the view when a header is clicked.
 /// </summary>
 public void CycleHeader(TreeColumn col)
 {
     _treeView.Instance.CycleHeader(col._treeColumn.Instance);
 }
コード例 #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);
 }
コード例 #22
0
ファイル: TreeView.cs プロジェクト: RSchwoerer/Terminals
		/// <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);
		}