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<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
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_CmsSelectBoxUiBinderNested 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.DebugIdImplEnabledNested 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_NOTNULLFields 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_selectorStateFields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidInitializes this class.voidupdateCell(CmsLabelSelectCell cell) Updates a single select cell.voidThis 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, updateOpenerMethods 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, truncateMethods inherited from class com.google.gwt.user.client.ui.Composite
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, render, render, resolvePotentialElement, setWidgetMethods 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, unsinkEventsMethods 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, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.gwt.event.shared.HasHandlers
fireEvent
-
Constructor Details
-
CmsPropertySelectBox
Creates a new instance.- Parameters:
options- the widget options
-
-
Method Details
-
initClass
Initializes this class. -
updateCell
Description copied from class:CmsSelectBoxUpdates a single select cell.- Overrides:
updateCellin classCmsSelectBox- Parameters:
cell- the select cell to update- See Also:
-
updateStyle
Description copied from class:CmsSelectBoxThis method should be used to make changes to the CSS style of the select box when the value changes.- Overrides:
updateStylein classCmsSelectBox- See Also:
-