Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
GObject
public class Combo
extends HBox
Constructor Summary | |
| |
|
Method Summary | |
void |
|
Entry |
|
String |
|
static Type |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
Methods inherited from class org.gnu.gtk.Box | |
getHomogeneous , getSpacing , getType , packEnd , packEnd , packStart , packStart , reorderChild , setHomogeneous , setSpacing |
Methods inherited from class org.gnu.gtk.Container | |
add , addListener , getBooleanChildProperty , getBorderWidth , getChildProperty , getChildren , getEventListenerClass , getEventType , getIntChildProperty , getResizeMode , getType , remove , removeListener , resizeChildren , setBooleanChildProperty , setBorderWidth , setChildProperty , setIntChildProperty , setResizeMode |
public Combo()
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 Combo widget.
public Combo(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.
Construct a new Combo from a handle to a native resource.
public void disableActivate()
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.
Stops the Combo widget from showing the popup list when the Entry emits the "activate" signal, i.e., when the return key is pressed.
public Entry getEntry()
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.
Get the Entry field that is a part of this combo.
public String getText()
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.
Retrieve the text from the combo.
public static 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.
Retrieve the runtime type used by the GLib library.
public void setCaseSensitive(boolean val)
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.
Specifies whether the text entered into the Entry field and the text in the line items are case sensitive. This may be useful when you have called setValueInList() to limit the values entered but are not worried about case differences.
public void setItemString(Item item, String itemValue)
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.
Sets the string to place in the Entry field when a particular item is selected. This is needed if the list item is not a simple label.
- Parameters:
item
- The item to add to the list.itemValue
- The string value to display in the Entry if item is selected
public void setPopupdownStrings(String[] values)
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.
Convenience method to set all of the items in the popupdown list.
- Parameters:
values
- The array of values to put into the popupdown list.
public void setUseArrorwsAlways(boolean val)
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.
Specifies if the arrow keys will still work even if the current contents of the Entry field do not match any of the items in the list.
- Parameters:
val
- true if the arrows should still work.
public void setUseArrows(boolean val)
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.
Specifies if the arrow (cursor) keys can be used to step through the items in the list. This is on by default.
- Parameters:
val
- true if the arrow keys can be used to step through the items in the list.
public void setValueInList(boolean val, boolean okifEmpty)
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.
Specifies whether the value entered in the text entry field must match one of the values in the list. If this is set then the user will not be able to perform any other action until a valid value has been entered.
- Parameters:
val
- true if the value entered must match one of the values in the list.okifEmpty
- true if an empty value is considered valid.