Class CmsPropertiesTab
- 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.ade.galleries.client.preview.ui.A_CmsPreviewDetailTab
-
- org.opencms.ade.galleries.client.preview.ui.CmsPropertiesTab
-
- All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasAttachHandlers
,com.google.gwt.event.logical.shared.ValueChangeHandler<java.lang.String>
,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
public class CmsPropertiesTab extends A_CmsPreviewDetailTab implements com.google.gwt.event.logical.shared.ValueChangeHandler<java.lang.String>
The widget to display the properties of the selected resource.- Since:
- 8.0.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.opencms.ade.galleries.client.preview.ui.A_CmsPreviewDetailTab
A_CmsPreviewDetailTab.I_CmsPreviewDetailTabUiBinder
-
-
Field Summary
-
Fields inherited from class org.opencms.ade.galleries.client.preview.ui.A_CmsPreviewDetailTab
m_main, m_tabHeight, m_tabWidth
-
-
Constructor Summary
Constructors Constructor Description CmsPropertiesTab(org.opencms.ade.galleries.shared.I_CmsGalleryProviderConstants.GalleryMode dialogMode, int height, int width, I_CmsPreviewHandler<?> handler)
The constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
fillContent(org.opencms.ade.galleries.shared.CmsResourceInfoBean info)
The generic function to display the resource properties.protected I_CmsPreviewHandler<?>
getHandler()
Returns the preview handler.void
onValueChange(com.google.gwt.event.logical.shared.ValueChangeEvent<java.lang.String> event)
void
saveProperties(com.google.gwt.user.client.Command afterSaveCommand)
Will be triggered, when the save button is clicked.-
Methods inherited from class org.opencms.ade.galleries.client.preview.ui.A_CmsPreviewDetailTab
getDialogMode, isChanged, setChanged
-
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
-
-
-
-
Constructor Detail
-
CmsPropertiesTab
public CmsPropertiesTab(org.opencms.ade.galleries.shared.I_CmsGalleryProviderConstants.GalleryMode dialogMode, int height, int width, I_CmsPreviewHandler<?> handler)
The constructor.- Parameters:
dialogMode
- the dialog modeheight
- the properties tab heightwidth
- the properties tab widthhandler
- the tab handler to set
-
-
Method Detail
-
fillContent
public void fillContent(org.opencms.ade.galleries.shared.CmsResourceInfoBean info)
The generic function to display the resource properties.- Parameters:
info
- the information
-
onValueChange
public void onValueChange(com.google.gwt.event.logical.shared.ValueChangeEvent<java.lang.String> event)
- Specified by:
onValueChange
in interfacecom.google.gwt.event.logical.shared.ValueChangeHandler<java.lang.String>
- See Also:
ValueChangeHandler.onValueChange(com.google.gwt.event.logical.shared.ValueChangeEvent)
-
saveProperties
public void saveProperties(com.google.gwt.user.client.Command afterSaveCommand)
Will be triggered, when the save button is clicked.- Parameters:
afterSaveCommand
- the command to execute after the properties have been saved
-
getHandler
protected I_CmsPreviewHandler<?> getHandler()
Description copied from class:A_CmsPreviewDetailTab
Returns the preview handler.- Specified by:
getHandler
in classA_CmsPreviewDetailTab
- Returns:
- the preview handler
- See Also:
A_CmsPreviewDetailTab.getHandler()
-
-