org.gui4j.component
Class Gui4jComboBox

java.lang.Object
  extended byorg.gui4j.core.Gui4jAbstractComponent
      extended byorg.gui4j.component.Gui4jAbstractPopupComponent
          extended byorg.gui4j.component.Gui4jJComponent
              extended byorg.gui4j.component.Gui4jComboBox
All Implemented Interfaces:
ErrorTags, Gui4jComponent, java.io.Serializable

public final class Gui4jComboBox
extends Gui4jJComponent

See Also:
Serialized Form

Field Summary
protected  boolean mManualActionOnly
           
protected  Gui4jCall mNullItem
           
protected  Gui4jCall mOnSelect
           
protected  Gui4jCall mRowValue
           
protected  Gui4jCall mSelectedItem
           
protected  Gui4jCall mStringConvert
           
 
Fields inherited from class org.gui4j.component.Gui4jJComponent
mGrabFocus
 
Fields inherited from class org.gui4j.core.Gui4jAbstractComponent
mContext, mPopupMenuInPath, STORAGE_POPUP_CONTEXT, STORAGE_POPUP_ORIGIN
 
Fields inherited from interface org.gui4j.exception.ErrorTags
EXCEPTION_OCCURED, PROGRAMMING_ERROR, PROGRAMMING_ERROR_illegal_access_exception, PROGRAMMING_ERROR_instantiation_exception, PROGRAMMING_ERROR_invocation_target_exception, PROGRAMMING_ERROR_method_ambiguous, PROGRAMMING_ERROR_method_not_found, PROGRAMMING_ERROR_parameter_null, RESOURCE_ERROR, RESOURCE_ERROR_access_type_not_compatible, RESOURCE_ERROR_access_unexpected_character, RESOURCE_ERROR_access_unexpected_end, RESOURCE_ERROR_access_value_type_not_defined, RESOURCE_ERROR_alias_already_defined, RESOURCE_ERROR_alias_class_not_found, RESOURCE_ERROR_alias_not_defined_in_path, RESOURCE_ERROR_alias_undefined, RESOURCE_ERROR_attribute_editable_defined, RESOURCE_ERROR_attribute_listEditable_defined, RESOURCE_ERROR_attribute_not_defined, RESOURCE_ERROR_double_DataConversionException, RESOURCE_ERROR_element_at_row_col_already_defined, RESOURCE_ERROR_element_must_contain_gui4jComponent, RESOURCE_ERROR_gui4jComponent_already_defined, RESOURCE_ERROR_gui4jComponent_already_registered, RESOURCE_ERROR_gui4jComponent_not_defined, RESOURCE_ERROR_gui4jComponent_not_registered, RESOURCE_ERROR_int_DataConversionException, RESOURCE_ERROR_invalid_column, RESOURCE_ERROR_invalid_defaultButton, RESOURCE_ERROR_invalid_keystroke, RESOURCE_ERROR_invalid_row, RESOURCE_ERROR_invalid_url, RESOURCE_ERROR_jdom_exception, RESOURCE_ERROR_labelform_column_conflict, RESOURCE_ERROR_property_getter_type_incompatible, RESOURCE_ERROR_style_defined_twice, RESOURCE_ERROR_style_not_defined, RESOURCE_ERROR_tableLayout_invalid_col_row_str, RESOURCE_ERROR_type_not_compatible, RESOURCE_ERROR_unexpected_gui4jStyle_end, RESOURCE_ERROR_unknown_param, RESOURCE_ERROR_unknown_param_in_include
 
Constructor Summary
Gui4jComboBox(Gui4jComponentContainer gui4jComponentContainer, java.lang.String id)
          Constructor for Gui4jComboBox.
 
Method Summary
protected  Gui4jComponentInstance createComponentInstance(Gui4jSwingContainer gui4jSwingContainer, Gui4jCallBase gui4jCallBase, Gui4jQualifiedComponent gui4jComponentInPath)
          Method createComponentInstance
 void dispose(Gui4jComponentInstance gui4jComponentInstance)
          Gibt Speicher frei in Verbindung zu der angegebenen Instanz
 void setArrayContent(javax.swing.JComboBox comboBox, java.lang.Object[] content)
           
 void setContent(Gui4jComponentInstance gui4jComponentInstance, java.util.Collection content)
           
 void setEditable(javax.swing.JComboBox comboBox, boolean editable)
           
 void setManualActionOnly(boolean manualActionOnly)
           
 void setNullItem(Gui4jCall nullItem)
           
 void setOnSelect(Gui4jCall onSelect)
           
protected  void setProperties(Gui4jComponentInstance gui4jComponentInstance)
          Initializes attributes for the generated swing instance
 void setRowValue(Gui4jCall rowValue)
           
 void setSelectedItem(Gui4jCall selectedItem)
           
 void setSelectedItem(javax.swing.JComboBox comboBox, java.lang.Object item)
           
 void setStringConvert(Gui4jCall stringConvert)
           
 
Methods inherited from class org.gui4j.component.Gui4jJComponent
handleReadOnly, setBorder, setFocusTraversalKeysBackward, setFocusTraversalKeysForward, setGrabFocus, setHandleReadOnly, setKeyMapId, setOpaque, setTooltip
 
Methods inherited from class org.gui4j.component.Gui4jAbstractPopupComponent
showPopupMenu
 
Methods inherited from class org.gui4j.core.Gui4jAbstractComponent
applyInitialProperties, createGui4jComponentInstance, createMouseListener, definePropertyGetter, definePropertySetter, definePropertySetter, evaluateContext, getComponentClass, getConfigurationName, getGui4j, getGui4jComponentContainer, getGui4jComponentProperties, getId, getPopupContext, getPopupLocation, handleException, handleSuccess, refreshComponent, registerEvents, setApply, setBackground, setContext, setCursor, setEnabled, setFocusable, setFont, setForeground, setOnClick, setOnInit, setPopupMenu, setVisible
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mRowValue

protected Gui4jCall mRowValue

mOnSelect

protected Gui4jCall mOnSelect

mStringConvert

protected Gui4jCall mStringConvert

mSelectedItem

protected Gui4jCall mSelectedItem

mNullItem

protected Gui4jCall mNullItem

mManualActionOnly

protected boolean mManualActionOnly
Constructor Detail

Gui4jComboBox

public Gui4jComboBox(Gui4jComponentContainer gui4jComponentContainer,
                     java.lang.String id)
Constructor for Gui4jComboBox.

Parameters:
gui4jComponentContainer -
id -
Method Detail

setRowValue

public void setRowValue(Gui4jCall rowValue)

setSelectedItem

public void setSelectedItem(Gui4jCall selectedItem)

setNullItem

public void setNullItem(Gui4jCall nullItem)

setManualActionOnly

public void setManualActionOnly(boolean manualActionOnly)

setProperties

protected void setProperties(Gui4jComponentInstance gui4jComponentInstance)
Description copied from class: Gui4jAbstractComponent
Initializes attributes for the generated swing instance

Overrides:
setProperties in class Gui4jJComponent

setOnSelect

public void setOnSelect(Gui4jCall onSelect)

setStringConvert

public void setStringConvert(Gui4jCall stringConvert)

setArrayContent

public void setArrayContent(javax.swing.JComboBox comboBox,
                            java.lang.Object[] content)

setContent

public void setContent(Gui4jComponentInstance gui4jComponentInstance,
                       java.util.Collection content)

setSelectedItem

public void setSelectedItem(javax.swing.JComboBox comboBox,
                            java.lang.Object item)

setEditable

public void setEditable(javax.swing.JComboBox comboBox,
                        boolean editable)

createComponentInstance

protected Gui4jComponentInstance createComponentInstance(Gui4jSwingContainer gui4jSwingContainer,
                                                         Gui4jCallBase gui4jCallBase,
                                                         Gui4jQualifiedComponent gui4jComponentInPath)
Description copied from class: Gui4jAbstractComponent
Method createComponentInstance

Overrides:
createComponentInstance in class Gui4jJComponent

dispose

public void dispose(Gui4jComponentInstance gui4jComponentInstance)
Description copied from interface: Gui4jComponent
Gibt Speicher frei in Verbindung zu der angegebenen Instanz

Specified by:
dispose in interface Gui4jComponent
Overrides:
dispose in class Gui4jAbstractComponent


Copyright © 2002-2005 beck et al. projects GmbH. All Rights Reserved.