Class CmsImageAdvancedForm
- 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.CmsImageAdvancedForm
-
- 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
public class CmsImageAdvancedForm extends com.google.gwt.user.client.ui.Composite
Advanced image tag properties form, use in editor mode only.- Since:
- 8.0.
-
-
Field Summary
Fields Modifier and Type Field Description protected CmsTextBox
m_inputDescription
Description input field.protected CmsTextBox
m_inputId
Id input field.protected CmsTextBox
m_inputLanguageCode
Language code input field.protected CmsTextBox
m_inputStyle
Style input field.protected CmsTextBox
m_inputStyleClasses
Style classes input field.protected CmsVfsLinkWidget
m_inputUrl
URL input field.protected com.google.gwt.user.client.ui.Label
m_labelDescription
Description field label.protected com.google.gwt.user.client.ui.Label
m_labelId
Id field label.protected com.google.gwt.user.client.ui.Label
m_labelLanguageCode
Language code field label.protected com.google.gwt.user.client.ui.Label
m_labelSetLink
Set link checkbox label.protected com.google.gwt.user.client.ui.Label
m_labelStyle
Style field label.protected com.google.gwt.user.client.ui.Label
m_labelStyleClasses
Style classes field label.protected com.google.gwt.user.client.ui.Label
m_labelTagAttributes
Additional attributes label.protected com.google.gwt.user.client.ui.Label
m_labelTarget
Target field label.protected com.google.gwt.user.client.ui.Label
m_labelTextDirection
Language direction field label.protected com.google.gwt.user.client.ui.Label
m_labelUrl
URL field label.protected CmsSelectBox
m_selectTarget
Target select box.protected CmsSelectBox
m_selectTextDirection
Language direction select box.
-
Constructor Summary
Constructors Constructor Description CmsImageAdvancedForm()
The constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
fillContent(org.opencms.ade.galleries.shared.CmsImageInfoBean imageInfo, CmsJSONMap imageAttributes, boolean initialFill)
Displays the provided image information.void
getImageAttributes(java.util.Map<java.lang.String,java.lang.String> attributes, I_CmsSimpleCallback<java.util.Map<java.lang.String,java.lang.String>> callback)
Adds necessary attributes to the map.-
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_inputDescription
@UiField protected CmsTextBox m_inputDescription
Description input field.
-
m_inputId
@UiField protected CmsTextBox m_inputId
Id input field.
-
m_inputLanguageCode
@UiField protected CmsTextBox m_inputLanguageCode
Language code input field.
-
m_inputStyle
@UiField protected CmsTextBox m_inputStyle
Style input field.
-
m_inputStyleClasses
@UiField protected CmsTextBox m_inputStyleClasses
Style classes input field.
-
m_inputUrl
@UiField protected CmsVfsLinkWidget m_inputUrl
URL input field.
-
m_labelDescription
@UiField protected com.google.gwt.user.client.ui.Label m_labelDescription
Description field label.
-
m_labelId
@UiField protected com.google.gwt.user.client.ui.Label m_labelId
Id field label.
-
m_labelLanguageCode
@UiField protected com.google.gwt.user.client.ui.Label m_labelLanguageCode
Language code field label.
-
m_labelSetLink
@UiField protected com.google.gwt.user.client.ui.Label m_labelSetLink
Set link checkbox label.
-
m_labelStyle
@UiField protected com.google.gwt.user.client.ui.Label m_labelStyle
Style field label.
-
m_labelStyleClasses
@UiField protected com.google.gwt.user.client.ui.Label m_labelStyleClasses
Style classes field label.
-
m_labelTagAttributes
@UiField protected com.google.gwt.user.client.ui.Label m_labelTagAttributes
Additional attributes label.
-
m_labelTarget
@UiField protected com.google.gwt.user.client.ui.Label m_labelTarget
Target field label.
-
m_labelTextDirection
@UiField protected com.google.gwt.user.client.ui.Label m_labelTextDirection
Language direction field label.
-
m_labelUrl
@UiField protected com.google.gwt.user.client.ui.Label m_labelUrl
URL field label.
-
m_selectTarget
@UiField protected CmsSelectBox m_selectTarget
Target select box.
-
m_selectTextDirection
@UiField protected CmsSelectBox m_selectTextDirection
Language direction select box.
-
-
Constructor Detail
-
CmsImageAdvancedForm
public CmsImageAdvancedForm()
The constructor.
-
-
Method Detail
-
fillContent
public void fillContent(org.opencms.ade.galleries.shared.CmsImageInfoBean imageInfo, CmsJSONMap imageAttributes, boolean initialFill)
Displays the provided image information.- Parameters:
imageInfo
- the image informationimageAttributes
- the image attributesinitialFill
- flag to indicate that a new image has been selected
-
getImageAttributes
public void getImageAttributes(java.util.Map<java.lang.String,java.lang.String> attributes, I_CmsSimpleCallback<java.util.Map<java.lang.String,java.lang.String>> callback)
Adds necessary attributes to the map.- Parameters:
attributes
- the attribute mapcallback
- the callback to execute
-
-