|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.gnu.gtk.DataRow
org.gnome.gtk.DataRow.
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 class DataRow
A DataRow is simply a list of data, which represent a row that can be added
to store components, such as ListStore and
TreeStore.
To create a DataRow and add it to a store is pretty straight forward:
store.addRow(new DataRow() .add(name) .add(type) .add(icon));
| Constructor Summary | |
|---|---|
DataRow()
Deprecated. |
|
| Method Summary | |
|---|---|
DataRow |
add(java.lang.Object aData)
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. |
java.lang.Object |
get(int aCol)
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. |
java.util.List |
getAll()
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 |
|---|
public DataRow()
| Method Detail |
|---|
public java.lang.Object get(int aCol)
aCol
aCol - the column number, starting from 0.
public java.util.List getAll()
public DataRow add(java.lang.Object aData)
aData - a data to be added to the row
new DataRow() .add(name) .add(type) .add(icon)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||