Class A_CmsPreviewDetailTab
- 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
-
- All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasAttachHandlers
,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
- Direct Known Subclasses:
CmsImageAdvancedTab
,CmsImageEditorTab
,CmsImageFormatsTab
,CmsPropertiesTab
public abstract class A_CmsPreviewDetailTab extends com.google.gwt.user.client.ui.Composite
Basic preview detail tab layout.- Since:
- 8.0.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static interface
A_CmsPreviewDetailTab.I_CmsPreviewDetailTabUiBinder
-
Field Summary
Fields Modifier and Type Field Description protected com.google.gwt.user.client.ui.FlowPanel
m_main
The main panel.protected int
m_tabHeight
The tab height.protected int
m_tabWidth
The tab width.
-
Constructor Summary
Constructors Constructor Description A_CmsPreviewDetailTab(org.opencms.ade.galleries.shared.I_CmsGalleryProviderConstants.GalleryMode dialogMode, int height, int width)
Constructor.
-
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 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 Detail
-
m_main
protected com.google.gwt.user.client.ui.FlowPanel 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)
Constructor.- Parameters:
dialogMode
- the gallery modeheight
- the tab heightwidth
- the tab width
-
-
Method Detail
-
isChanged
public boolean isChanged()
Returns if the given tab has changes that need saving.- Returns:
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.- Returns:
- the gallery mode
-
getHandler
protected abstract I_CmsPreviewHandler<?> getHandler()
Returns the preview handler.- Returns:
- the preview handler
-
setChanged
protected void setChanged(boolean changed)
Sets the changed state of the tab.- Parameters:
changed
- the changed state
-
-