Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.gnu.gtk.DataColumn
public abstract class DataColumn
extends java.lang.Object
TreeModel
(such
as ListStore
or TreeStore
). In Gtk, these are called columns
and are referenced by integers. We have renamed them to DataBlocks to avoid
confusion with TreeViewColumn
s and created these objects to use
rather than integers. This allows type checking and should make programs more
maintainable. This is an abstract class - there is an implementation of it
for each type of data accepted by the two tree models.
Method Summary | |
boolean |
|
int |
|
Type |
|
public boolean equals(DataColumn col)
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.
Determine if the given DataColumn represents the same column in the store as the current object. This compares the column ids using thegetColumn()
method.
public int getColumn()
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.
Returns the column number of this dataBlock used internally by Gtk.
public Type getType()
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.
Returns the glib Type of data contained in this column. This can only be called once. (it is only needed once - in the constructor of the listStore/TreeStore)