Class A_CmsPreviewDetailTab

  • All Implemented Interfaces:,,,,,
    Direct Known Subclasses:
    CmsImageAdvancedTab, CmsImageEditorTab, CmsImageFormatsTab, CmsPropertiesTab

    public abstract class A_CmsPreviewDetailTab
    Basic preview detail tab layout.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      protected static interface  A_CmsPreviewDetailTab.I_CmsPreviewDetailTabUiBinder  
      • Nested classes/interfaces inherited from class,
    • Field Summary

      Modifier and Type Field Description
      protected m_main
      The main panel.
      protected int m_tabHeight
      The tab height.
      protected int m_tabWidth
      The tab width.
      • Fields inherited from class

    • Constructor Summary

      Constructor Description
      A_CmsPreviewDetailTab​(org.opencms.ade.galleries.shared.I_CmsGalleryProviderConstants.GalleryMode dialogMode, int height, int width)
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.opencms.ade.galleries.shared.I_CmsGalleryProviderConstants.GalleryMode getDialogMode()
      Returns the gallery mode.
      protected abstract I_CmsPreviewHandler<?> getHandler()
      Returns the preview handler.
      boolean isChanged()
      Returns if the given tab has changes that need saving.
      protected void setChanged​(boolean changed)
      Sets the changed state of the tab.
      • Methods inherited from class

        claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidget
      • Methods inherited from class

        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

        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
    • Field Detail

      • m_main

        protected m_main
        The main panel.
      • m_tabHeight

        protected int m_tabHeight
        The tab height.
      • m_tabWidth

        protected int m_tabWidth
        The tab width.
    • Constructor Detail

      • A_CmsPreviewDetailTab

        public A_CmsPreviewDetailTab​(org.opencms.ade.galleries.shared.I_CmsGalleryProviderConstants.GalleryMode dialogMode,
                                     int height,
                                     int width)

        dialogMode - the gallery mode
        height - the tab height
        width - the tab width
    • Method Detail

      • isChanged

        public boolean isChanged()
        Returns if the given tab has changes that need saving.

        true if the given tab has changes that need saving
      • getDialogMode

        protected org.opencms.ade.galleries.shared.I_CmsGalleryProviderConstants.GalleryMode getDialogMode()
        Returns the gallery mode.

        the gallery mode
      • setChanged

        protected void setChanged​(boolean changed)
        Sets the changed state of the tab.

        changed - the changed state