Ejemplo n.º 1
0
		/// <summary>
		/// Selects the last item in path and tries to edit it.
		/// </summary>
		abstract public void startEditingAtPath(JTree @tree, TreePath @path);
Ejemplo n.º 2
0
		/// <summary>
		/// Stops the current editing session.
		/// </summary>
		abstract public bool stopEditing(JTree @tree);
Ejemplo n.º 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);
Ejemplo n.º 4
0
		/// <summary>
		/// Returns true if the tree is being edited.
		/// </summary>
		abstract public bool isEditing(JTree @tree);
Ejemplo n.º 5
0
		/// <summary>
		/// Returns the path for passed in row.
		/// </summary>
		abstract public TreePath getPathForRow(JTree @tree, int @row);
Ejemplo n.º 6
0
		/// <summary>
		/// Returns the number of rows that are being displayed.
		/// </summary>
		abstract public int getRowCount(JTree @tree);
Ejemplo n.º 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);
Ejemplo n.º 8
0
		/// <summary>
		/// Returns the path to the element that is being edited.
		/// </summary>
		abstract public TreePath getEditingPath(JTree @tree);
Ejemplo n.º 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);
Ejemplo n.º 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);
		}