Class CmsBreadCrumbConnector

java.lang.Object
com.vaadin.client.ui.AbstractConnector
com.vaadin.client.ui.AbstractComponentConnector
org.opencms.ui.client.CmsBreadCrumbConnector
All Implemented Interfaces:
com.google.gwt.event.logical.shared.ResizeHandler, com.google.gwt.event.shared.EventHandler, com.vaadin.client.communication.StateChangeEvent.StateChangeHandler, com.vaadin.client.ComponentConnector, com.vaadin.client.HasWidget, com.vaadin.client.ServerConnector, com.vaadin.client.ui.HasErrorIndicator, com.vaadin.shared.Connector, Serializable

public class CmsBreadCrumbConnector extends com.vaadin.client.ui.AbstractComponentConnector implements com.google.gwt.event.logical.shared.ResizeHandler
Bread crumb component connector.

See Also:
  • Field Summary

    Fields inherited from class com.vaadin.client.ui.AbstractComponentConnector

    SIGNIFICANT_MOVE_THRESHOLD
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected com.google.gwt.user.client.ui.Widget
     
    protected String
    getBreadCrumbHtml(String[][] breadCrumbEntries)
    Generates the bread crumb HTML for the given entries.
    org.opencms.ui.shared.components.CmsBreadCrumbState
     
    com.google.gwt.user.client.ui.HTML
     
    void
    onResize(com.google.gwt.event.logical.shared.ResizeEvent event)
     
    void
    onStateChanged(com.vaadin.client.communication.StateChangeEvent stateChangeEvent)
     

    Methods inherited from class com.vaadin.client.ui.AbstractComponentConnector

    delegateCaptionHandling, flush, getIcon, getIconUri, getLayoutManager, getTooltipInfo, hasTooltip, isErrorIndicatorVisible, isRealUpdate, isRelativeHeight, isRelativeWidth, isUndefinedHeight, isUndefinedWidth, onDragSourceAttached, onDragSourceDetached, onDropTargetAttached, onDropTargetDetached, onUnregister, registerTouchHandlers, sendContextClickEvent, setWidgetEnabled, setWidgetStyleName, setWidgetStyleNameWithPrefix, shouldHandleLongTap, unregisterTouchHandlers, updateComponentSize, updateComponentSize, updateEnabledState, updateWidgetSize, updateWidgetStyleNames

    Methods inherited from class com.vaadin.client.ui.AbstractConnector

    addStateChangeHandler, addStateChangeHandler, createState, doInit, ensureHandlerManager, fireEvent, forceStateChange, getChildren, getConnection, getConnectorId, getParent, getResourceUrl, getRpcImplementations, getRpcProxy, getStateType, getTag, hasEventListener, init, isEnabled, registerRpc, removeStateChangeHandler, removeStateChangeHandler, setChildren, setParent, setTag, unregisterRpc

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.vaadin.shared.Connector

    getConnectorId

    Methods inherited from interface com.vaadin.client.ServerConnector

    addStateChangeHandler, addStateChangeHandler, doInit, fireEvent, getChildren, getConnection, getParent, getRpcImplementations, getTag, hasEventListener, isEnabled, removeStateChangeHandler, removeStateChangeHandler, setChildren, setParent, setTag
  • Constructor Details

  • Method Details

    • getState

      public org.opencms.ui.shared.components.CmsBreadCrumbState getState()
      Specified by:
      getState in interface com.vaadin.client.ComponentConnector
      Specified by:
      getState in interface com.vaadin.client.ServerConnector
      Overrides:
      getState in class com.vaadin.client.ui.AbstractComponentConnector
      See Also:
      • AbstractComponentConnector.getState()
    • getWidget

      public com.google.gwt.user.client.ui.HTML getWidget()
      Specified by:
      getWidget in interface com.vaadin.client.HasWidget
      Overrides:
      getWidget in class com.vaadin.client.ui.AbstractComponentConnector
      See Also:
      • AbstractComponentConnector.getWidget()
    • onResize

      public void onResize(com.google.gwt.event.logical.shared.ResizeEvent event)
      Specified by:
      onResize in interface com.google.gwt.event.logical.shared.ResizeHandler
      See Also:
      • ResizeHandler.onResize(com.google.gwt.event.logical.shared.ResizeEvent)
    • onStateChanged

      public void onStateChanged(com.vaadin.client.communication.StateChangeEvent stateChangeEvent)
      Specified by:
      onStateChanged in interface com.vaadin.client.communication.StateChangeEvent.StateChangeHandler
      Overrides:
      onStateChanged in class com.vaadin.client.ui.AbstractComponentConnector
      See Also:
      • AbstractComponentConnector.onStateChanged(com.vaadin.client.communication.StateChangeEvent)
    • createWidget

      protected com.google.gwt.user.client.ui.Widget createWidget()
      Overrides:
      createWidget in class com.vaadin.client.ui.AbstractComponentConnector
      See Also:
      • AbstractComponentConnector.createWidget()
    • getBreadCrumbHtml

      protected String getBreadCrumbHtml(String[][] breadCrumbEntries)
      Generates the bread crumb HTML for the given entries.

      Parameters:
      breadCrumbEntries - the bread crub entries
      Returns:
      the generated HTML