Package org.opencms.gwt.client.property
Class CmsPropertySelectBox
- java.lang.Object
-
- com.google.gwt.user.client.ui.UIObject
-
- com.google.gwt.user.client.ui.Widget
-
- com.google.gwt.user.client.ui.Composite
-
- org.opencms.gwt.client.ui.input.A_CmsSelectBox<CmsLabelSelectCell>
-
- org.opencms.gwt.client.ui.input.CmsSelectBox
-
- org.opencms.gwt.client.property.CmsPropertySelectBox
-
- All Implemented Interfaces:
com.google.gwt.event.dom.client.HasFocusHandlers
,com.google.gwt.event.logical.shared.HasAttachHandlers
,com.google.gwt.event.logical.shared.HasValueChangeHandlers<java.lang.String>
,com.google.gwt.event.shared.HasHandlers
,com.google.gwt.user.client.EventListener
,com.google.gwt.user.client.ui.HasVisibility
,com.google.gwt.user.client.ui.IsRenderable
,com.google.gwt.user.client.ui.IsWidget
,I_CmsHasInit
,I_CmsTruncable
,I_CmsFormWidget
,I_CmsHasGhostValue
public class CmsPropertySelectBox extends CmsSelectBox
This is just a select box with some special text messages for use in the property dialog.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.opencms.gwt.client.ui.input.A_CmsSelectBox
A_CmsSelectBox.I_CmsSelectBoxUiBinder
-
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
-
Nested classes/interfaces inherited from interface org.opencms.gwt.client.ui.input.I_CmsFormWidget
I_CmsFormWidget.FieldType
-
-
Field Summary
-
Fields inherited from class org.opencms.gwt.client.ui.input.CmsSelectBox
m_ghostValue, m_openerWidget, NO_SELECTION_OPENER_TEXT, NO_SELECTION_TEXT, NOTNULL_SUFFIX, OPTION_RESIZABLE, WIDGET_TYPE, WIDGET_TYPE_NOTNULL
-
Fields inherited from class org.opencms.gwt.client.ui.input.A_CmsSelectBox
CSS, m_error, m_eventBus, m_mousewheelRegistration, m_openClose, m_opener, m_panel, m_popup, m_selectBoxState, m_selectCells, m_selectedValue, m_selector, m_selectorState
-
-
Constructor Summary
Constructors Constructor Description CmsPropertySelectBox(java.util.Map<java.lang.String,java.lang.String> options)
Creates a new instance.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
initClass()
Initializes this class.void
updateCell(CmsLabelSelectCell cell)
Updates a single select cell.void
updateStyle()
This method should be used to make changes to the CSS style of the select box when the value changes.-
Methods inherited from class org.opencms.gwt.client.ui.input.CmsSelectBox
addOption, createUnknownOption, getApparentValue, getItems, getOpener, getTitle, initOpener, onLoad, selectValue, setAutoHideParent, setGhostMode, setGhostValue, setItems, setTextForNullSelection, setTitle, truncateOpener, updateCells, updateOpener
-
Methods inherited from class org.opencms.gwt.client.ui.input.A_CmsSelectBox
addFocusHandler, addOption, addValueChangeHandler, addWidget, clearItems, close, displayingAbove, doClickOpener, getFieldType, getFormValue, getFormValueAsString, getPopupHeight, getSelectorPopup, initPreferredPopupWidth, isEnabled, onBrowserEvent, onDetach, onFocus, onUnload, onValueSelect, onValueSelect, open, removeWindowResizeHandler, reset, setEnabled, setErrorMessage, setFormValue, setFormValue, setFormValueAsString, setPopupResize, truncate
-
Methods inherited from class com.google.gwt.user.client.ui.Composite
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, render, render, resolvePotentialElement, setWidget
-
Methods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
-
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString
-
-
-
-
Constructor Detail
-
CmsPropertySelectBox
public CmsPropertySelectBox(java.util.Map<java.lang.String,java.lang.String> options)
Creates a new instance.- Parameters:
options
- the widget options
-
-
Method Detail
-
initClass
public static void initClass()
Initializes this class.
-
updateCell
public void updateCell(CmsLabelSelectCell cell)
Description copied from class:CmsSelectBox
Updates a single select cell.- Overrides:
updateCell
in classCmsSelectBox
- Parameters:
cell
- the select cell to update- See Also:
CmsSelectBox.updateCell(org.opencms.gwt.client.ui.input.CmsLabelSelectCell)
-
updateStyle
public void updateStyle()
Description copied from class:CmsSelectBox
This method should be used to make changes to the CSS style of the select box when the value changes.- Overrides:
updateStyle
in classCmsSelectBox
- See Also:
CmsSelectBox.updateStyle()
-
-