org.gnu.gtk

Interface TreeViewColumnDrop

public interface TreeViewColumnDrop

Method Summary

boolean
allowColumnDrop(TreeView treeView, TreeViewColumn column, TreeViewColumn prevColumn, TreeViewColumn nextColumn)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.

Method Details

allowColumnDrop

public boolean allowColumnDrop(TreeView treeView,
                               TreeViewColumn column,
                               TreeViewColumn prevColumn,
                               TreeViewColumn nextColumn)

Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.

Determins whether column can be dropped in a particular spot (as determined by prevColumn and nextColumn). In left to right locales, prevColumn is on the left of the potential drop spot, and nextColumn is on the right. In right to left mode, this is reversed. This method should return TRUE if the spot is a valid drop spot. Please note that returning TRUE does not actually indicate that the column drop was made, but is meant only to indicate a possible drop spot to the user.
Parameters:
treeView - A TreeView
column - The TreeViewColumn being dragged
prevColumn - A TreeViewColumn on one side of column
nextColumn - A TreeViewColumn on the other side of column
Returns:
TRUE, if column can be dropped in this spot