示例#1
0
		/// <summary>
		/// Selects the last item in path and tries to edit it.
		/// </summary>
		abstract public void startEditingAtPath(JTree @tree, TreePath @path);
示例#2
0
		/// <summary>
		/// Stops the current editing session.
		/// </summary>
		abstract public bool stopEditing(JTree @tree);
示例#3
0
		/// <summary>
		/// Returns the row that the last item identified in path is visible
		/// at.
		/// </summary>
		abstract public int getRowForPath(JTree @tree, TreePath @path);
示例#4
0
		/// <summary>
		/// Returns true if the tree is being edited.
		/// </summary>
		abstract public bool isEditing(JTree @tree);
示例#5
0
		/// <summary>
		/// Returns the path for passed in row.
		/// </summary>
		abstract public TreePath getPathForRow(JTree @tree, int @row);
示例#6
0
		/// <summary>
		/// Returns the number of rows that are being displayed.
		/// </summary>
		abstract public int getRowCount(JTree @tree);
示例#7
0
		/// <summary>
		/// Returns the Rectangle enclosing the label portion that the
		/// last item in path will be drawn into.
		/// </summary>
		abstract public Rectangle getPathBounds(JTree @tree, TreePath @path);
示例#8
0
		/// <summary>
		/// Returns the path to the element that is being edited.
		/// </summary>
		abstract public TreePath getEditingPath(JTree @tree);
示例#9
0
		/// <summary>
		/// Returns the path to the node that is closest to x,y.
		/// </summary>
		abstract public TreePath getClosestPathForLocation(JTree @tree, int @x, int @y);
示例#10
0
		/// <summary>
		/// Cancels the current editing session.
		/// </summary>
		abstract public void cancelEditing(JTree @tree);
		/// <summary>
		/// Configures the renderer based on the passed in components.
		/// </summary>
		public Component getTreeCellRendererComponent(JTree @tree, object @value, bool @sel, bool @expanded, bool @leaf, int @row, bool @hasFocus)
		{
			return default(Component);
		}