org.gnu.gtk
Class DataColumn

java.lang.Object
  extended by org.gnu.gtk.DataColumn
Direct Known Subclasses:
DataColumnBoolean, DataColumnDouble, DataColumnIconSize, DataColumnInt, DataColumnLong, DataColumnObject, DataColumnPixbuf, DataColumnStockItem, DataColumnString

Deprecated. This class is part of the java-gnome 2.x family of libraries, which, due to their inefficiency and complexity, are no longer being maintained and have been abandoned by the java-gnome project. This class may in the future have an equivalent in java-gnome 4.0, try looking for org.gnome.gtk.DataColumn. You should be aware that there is a considerably different API in the new library: the architecture is completely different and most notably internals are no longer exposed to public view.

public abstract class DataColumn
extends java.lang.Object

Represents a block in which data can be stored in a 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 TreeViewColumns 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.

See Also:
ListStore, TreeStore

Constructor Summary
DataColumn()
          Deprecated.  
 
Method Summary
 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.
 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.
 org.gnu.glib.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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataColumn

public DataColumn()
Deprecated. 
Method Detail

getColumn

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.


getType

public org.gnu.glib.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)


equals

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 the getColumn() method.