org.gnu.gtk

Class ComboBoxEntry

public class ComboBoxEntry extends ComboBox

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.ComboBoxEntry. 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.

Constructor Summary
ComboBoxEntry(Handle hndl)
ComboBoxEntry()
Construct a new ComboBoxEntry that will contain only Strings.
ComboBoxEntry(TreeModel model, int textColumn)
Create a new ComboBoxEntry with the provided model.
Method Summary
static ComboBoxEntrygetComboBoxEntry(Handle handle)
Internal static factory method to be used by Java-Gnome only.
intgetTextColumn()
Returns the column from the model used by this widget.
voidsetTextColumn(int textColumn)
Set the model column which the ComboBoxEntry should use to get the strings.

Constructor Detail

ComboBoxEntry

public ComboBoxEntry(Handle hndl)

ComboBoxEntry

public ComboBoxEntry()

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.

Construct a new ComboBoxEntry that will contain only Strings. If you need to include objects other than strings you must use the constructor that takes a TreeModel. When you use this constructor you should use the appendText, insertText, prependText, and removeText methods to add or remove text from the comboBox.

ComboBoxEntry

public ComboBoxEntry(TreeModel model, int textColumn)

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.

Create a new ComboBoxEntry with the provided model. If you use this constructor you should not use the appendText, insertText, prependText, or removeText methods. You should update the model when you need to change the values in the ComboBox.

Parameters: model textColumn

Method Detail

getComboBoxEntry

public static ComboBoxEntry getComboBoxEntry(Handle handle)

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.

Internal static factory method to be used by Java-Gnome only.

getTextColumn

public int getTextColumn()

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 from the model used by this widget.

setTextColumn

public void setTextColumn(int textColumn)

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.

Set the model column which the ComboBoxEntry should use to get the strings.

Parameters: textColumn