org.gnu.gtk
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 ComboBoxEntry | getComboBoxEntry(Handle handle)
Internal static factory method to be used by Java-Gnome only. |
int | getTextColumn()
Returns the column from the model used by this widget. |
void | setTextColumn(int textColumn)
Set the model column which the ComboBoxEntry should use to get the
strings.
|
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.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
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.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.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