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<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<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

    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

    Fields inherited from class org.opencms.ade.galleries.client.preview.ui.A_CmsPreviewDetailTab

    m_main, m_tabHeight, m_tabWidth

    Fields inherited from class com.google.gwt.user.client.ui.UIObject

    DEBUG_ID_PREFIX
  • 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

    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<?>
    Returns the preview handler.
    void
    onValueChange(com.google.gwt.event.logical.shared.ValueChangeEvent<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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • 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 mode
      height - the properties tab height
      width - the properties tab width
      handler - the tab handler to set
  • Method Details

    • 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<String> event)
      Specified by:
      onValueChange in interface com.google.gwt.event.logical.shared.ValueChangeHandler<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

      Description copied from class: A_CmsPreviewDetailTab
      Returns the preview handler.

      Specified by:
      getHandler in class A_CmsPreviewDetailTab
      Returns:
      the preview handler
      See Also: