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.
  • Nested Class Summary

    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
    Modifier and Type
    Field
    Description
    protected CmsTextBox
    Description input field.
    protected CmsTextBox
    Id input field.
    protected CmsTextBox
    Language code input field.
    protected CmsTextBox
    Style input field.
    protected CmsTextBox
    Style classes input field.
    URL input field.
    protected com.google.gwt.user.client.ui.Label
    Description field label.
    protected com.google.gwt.user.client.ui.Label
    Id field label.
    protected com.google.gwt.user.client.ui.Label
    Language code field label.
    protected com.google.gwt.user.client.ui.Label
    Set link checkbox label.
    protected com.google.gwt.user.client.ui.Label
    Style field label.
    protected com.google.gwt.user.client.ui.Label
    Style classes field label.
    protected com.google.gwt.user.client.ui.Label
    Additional attributes label.
    protected com.google.gwt.user.client.ui.Label
    Target field label.
    protected com.google.gwt.user.client.ui.Label
    Language direction field label.
    protected com.google.gwt.user.client.ui.Label
    URL field label.
    protected CmsSelectBox
    Target select box.
    protected CmsSelectBox
    Language direction select box.

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

    DEBUG_ID_PREFIX
  • Constructor Summary

    Constructors
    Constructor
    Description
    The constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    fillContent(org.opencms.ade.galleries.shared.CmsImageInfoBean imageInfo, CmsJSONMap imageAttributes, boolean initialFill)
    Displays the provided image information.
    void
    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

    Methods inherited from class java.lang.Object

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

    • 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_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 Details

  • Method Details

    • fillContent

      public void fillContent(org.opencms.ade.galleries.shared.CmsImageInfoBean imageInfo, CmsJSONMap imageAttributes, boolean initialFill)
      Displays the provided image information.

      Parameters:
      imageInfo - the image information
      imageAttributes - the image attributes
      initialFill - flag to indicate that a new image has been selected
    • getImageAttributes

      public void getImageAttributes(Map<String,String> attributes, I_CmsSimpleCallback<Map<String,String>> callback)
      Adds necessary attributes to the map.

      Parameters:
      attributes - the attribute map
      callback - the callback to execute