Class CmsSerialDateView
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.acacia.client.widgets.serialdate.CmsSerialDateView
- All Implemented Interfaces:
com.google.gwt.event.logical.shared.CloseHandler<CmsFieldSet>
,com.google.gwt.event.logical.shared.HasAttachHandlers
,com.google.gwt.event.shared.EventHandler
,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_CmsSerialDateValueChangeObserver
public class CmsSerialDateView
extends com.google.gwt.user.client.ui.Composite
implements I_CmsSerialDateValueChangeObserver, com.google.gwt.event.logical.shared.CloseHandler<CmsFieldSet>
The serial date widgets UI.
-
Nested Class Summary
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
-
Field Summary
Modifier and TypeFieldDescriptionprotected com.google.gwt.user.client.ui.FlowPanel
Panel containing the field set for the exceptions.Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
-
Constructor Summary
ConstructorDescriptionCmsSerialDateView
(CmsSerialDateController controller, I_CmsObservableSerialDateValue model) Category field widgets for ADE forms. -
Method Summary
Modifier and TypeMethodDescriptionvoid
onClose
(com.google.gwt.event.logical.shared.CloseEvent<CmsFieldSet> event) void
Method called, when a value change event is fired.void
setManagementButtonEnabled
(boolean enabled) Enable/disable the management button.void
Sets the current status.void
showCurrentDates
(Collection<org.opencms.util.CmsPair<Date, Boolean>> dates) Shows the provided list of dates as current dates.void
Updates the exceptions panel.Methods inherited from class com.google.gwt.user.client.ui.Composite
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, 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, onLoad, onUnload, 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
-
Field Details
-
m_exceptionsPanelContainer
Panel containing the field set for the exceptions.
-
-
Constructor Details
-
CmsSerialDateView
Category field widgets for ADE forms.- Parameters:
controller
- the controller to communicate withmodel
- the model to get values from
-
-
Method Details
-
onValueChange
Description copied from interface:I_CmsSerialDateValueChangeObserver
Method called, when a value change event is fired.- Specified by:
onValueChange
in interfaceI_CmsSerialDateValueChangeObserver
- See Also:
-
setManagementButtonEnabled
Enable/disable the management button.- Parameters:
enabled
- flag, indicating if the management button should be enabled.
-
setStatus
Sets the current status.- Parameters:
status
- the status to set.
-
showCurrentDates
Shows the provided list of dates as current dates.- Parameters:
dates
- the current dates to show, accompanied with the information if they are exceptions or not.
-
updateExceptions
Updates the exceptions panel.