Class CmsValuePanel

  • All Implemented Interfaces:,,,,,,,,,,, java.lang.Iterable<>, I_CmsDropTarget, I_CmsHasResizeOnShow

    public class CmsValuePanel
    implements I_CmsDropTarget, I_CmsHasResizeOnShow
    The attribute values panel.

    • Nested Class Summary

      • Nested classes/interfaces inherited from class,
      • Nested classes/interfaces inherited from interface
      • Nested classes/interfaces inherited from interface
      • Nested classes/interfaces inherited from interface
    • Field Summary

      Modifier and Type Field Description
      protected m_placeholder
      The current place holder.
      protected int m_placeholderIndex
      The placeholder position index.
      • Fields inherited from class

    • Constructor Summary

      Constructor Description
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean checkPosition​(int x, int y, CmsDNDHandler.Orientation orientation)
      Returns true if the given cursor position is over the drop target.
      int getPlaceholderIndex()
      Returns the index of the placeholder or -1 if no placeholder is attached.
      void highlightOutline()
      Highlights the outline of this panel.
      void insertPlaceholder​( placeholder, int x, int y, CmsDNDHandler.Orientation orientation)
      Inserts a new placeholder.
      void onDrop​(I_CmsDraggable draggable)
      Executed on drop.
      void removeHighlighting()
      Removes the highlighting border.
      void removePlaceholder()
      Removes the placeholder.
      void repositionPlaceholder​(int x, int y, CmsDNDHandler.Orientation orientation)
      Repositions the placeholder.
      void resizeOnShow()
      Adjusts widget's size once it's visible.
      void updateHighlightingPosition()
      Updates the highlighting position if present.
      • Methods inherited from class

        add, clear, insert, insert
      • Methods inherited from class

        add, add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, insert, iterator, remove, remove
      • Methods inherited from class

        add, adopt, doAttachChildren, doDetachChildren, orphan, remove
      • Methods inherited from class

        addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, 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, resolvePotentialElement, 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
      • Methods inherited from interface

        getWidget, getWidgetCount, getWidgetIndex, remove
      • Methods inherited from interface

      • Methods inherited from interface

      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator