|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gnu.gtk.DataColumn
public abstract class DataColumn
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 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.
ListStore
,
TreeStore
Constructor Summary | |
---|---|
DataColumn()
|
Method Summary | |
---|---|
boolean |
equals(DataColumn col)
Determine if the given DataColumn represents the same column in the store as the current object. |
int |
getColumn()
Returns the column number of this dataBlock used internally by Gtk. |
Type |
getType()
Returns the glib Type of data contained in this column. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DataColumn()
Method Detail |
---|
public int getColumn()
public Type getType()
public boolean equals(DataColumn col)
getColumn()
method.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |