org.eclipse.higgins.ics.gwt.base.client.editor
Class ComboBoxEditor

java.lang.Object
  extended bycom.google.gwt.user.client.ui.UIObject
      extended bycom.google.gwt.user.client.ui.Widget
          extended bycom.google.gwt.user.client.ui.Panel
              extended bycom.google.gwt.user.client.ui.ComplexPanel
                  extended bycom.google.gwt.user.client.ui.CellPanel
                      extended bycom.google.gwt.user.client.ui.HorizontalPanel
                          extended byorg.eclipse.higgins.ics.gwt.base.client.editor.BaseEditor
                              extended byorg.eclipse.higgins.ics.gwt.base.client.editor.ComboBoxEditor
All Implemented Interfaces:
com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.HasAlignment, com.google.gwt.user.client.ui.HasHorizontalAlignment, com.google.gwt.user.client.ui.HasVerticalAlignment, com.google.gwt.user.client.ui.HasWidgets, com.google.gwt.user.client.ui.IndexedPanel

public class ComboBoxEditor
extends BaseEditor


Nested Class Summary
 
Nested classes inherited from class com.google.gwt.user.client.ui.HasHorizontalAlignment
com.google.gwt.user.client.ui.HasHorizontalAlignment.HorizontalAlignmentConstant
 
Nested classes inherited from class com.google.gwt.user.client.ui.HasVerticalAlignment
com.google.gwt.user.client.ui.HasVerticalAlignment.VerticalAlignmentConstant
 
Field Summary
static List genderOptions
           
 
Fields inherited from class org.eclipse.higgins.ics.gwt.base.client.editor.BaseEditor
CHECH_BOX_EDITOR, COMBO_BOX_EDITOR, DATE_TEXT_BOX_EDITOR, HTML_AREA_EDITOR, IMAGE_EDITOR, PASSWORD_TEXT_BOX_EDITOR, STYLE_COMBO_BOX_EDITOR, STYLE_EDITOR_ERROR_VALUE, STYLE_EDITOR_LAYOUT, STYLE_EDITOR_REQUIRED, STYLE_TEXT_BOX_EDITOR, TEXT_AREA_EDITOR, TEXT_BOX_EDITOR
 
Fields inherited from interface com.google.gwt.user.client.ui.HasHorizontalAlignment
ALIGN_CENTER, ALIGN_LEFT, ALIGN_RIGHT
 
Fields inherited from interface com.google.gwt.user.client.ui.HasVerticalAlignment
ALIGN_BOTTOM, ALIGN_MIDDLE, ALIGN_TOP
 
Constructor Summary
ComboBoxEditor()
           
 
Method Summary
 String getTypeEditor()
           
 String getValue()
           
 void setOptions(List options)
           
 void setValue(String val)
           
 void setVisibleItemCount(int count)
           
 
Methods inherited from class org.eclipse.higgins.ics.gwt.base.client.editor.BaseEditor
addChangeListener, addKeyboardListener, checkValue, checkValueRuntime, getChangeListenerList, getChildHeight, getChildWidth, getClaimType, getDescription, getInputRegExp, getName, getOldValue, isCheckValueRunTime, isReadOnly, isRequired, setCheckValueRunTime, setChildHeight, setChildWidth, setClaimType, setDescription, setFocus, setInputRegExp, setName, setOldValue, setReadOnly, setRequired
 
Methods inherited from class com.google.gwt.user.client.ui.HorizontalPanel
add, getHorizontalAlignment, getVerticalAlignment, insert, remove, setHorizontalAlignment, setVerticalAlignment
 
Methods inherited from class com.google.gwt.user.client.ui.CellPanel
getSpacing, setBorderWidth, setCellHeight, setCellHorizontalAlignment, setCellVerticalAlignment, setCellWidth, setSpacing
 
Methods inherited from class com.google.gwt.user.client.ui.ComplexPanel
getWidget, getWidgetCount, getWidgetIndex, iterator, remove
 
Methods inherited from class com.google.gwt.user.client.ui.Panel
clear
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
getParent, isAttached, onBrowserEvent, removeFromParent
 
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, addStyleName, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleName, getStylePrimaryName, getTitle, isVisible, isVisible, removeStyleDependentName, removeStyleName, setHeight, setPixelSize, setSize, setStyleName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkEvents, toString, unsinkEvents
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

genderOptions

public static List genderOptions
Constructor Detail

ComboBoxEditor

public ComboBoxEditor()
Method Detail

setOptions

public void setOptions(List options)

getTypeEditor

public String getTypeEditor()
Specified by:
getTypeEditor in class BaseEditor
Returns:
one from predefined editor type constant

getValue

public String getValue()
Specified by:
getValue in class BaseEditor
Returns:
current value

setValue

public void setValue(String val)
Specified by:
setValue in class BaseEditor
Parameters:
val - current value

setVisibleItemCount

public void setVisibleItemCount(int count)