Class JmixTagLabelWidget

java.lang.Object
com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Panel
com.google.gwt.user.client.ui.ComplexPanel
com.google.gwt.user.client.ui.FlowPanel
io.jmix.ui.widget.client.tagpickerlabel.JmixTagLabelWidget
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.HasWidgets, com.google.gwt.user.client.ui.HasWidgets.ForIsWidget, com.google.gwt.user.client.ui.IndexedPanel, com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget, com.google.gwt.user.client.ui.InsertPanel, com.google.gwt.user.client.ui.InsertPanel.ForIsWidget, com.google.gwt.user.client.ui.IsWidget, Iterable<com.google.gwt.user.client.ui.Widget>

public class JmixTagLabelWidget extends com.google.gwt.user.client.ui.FlowPanel
  • 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

    Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasWidgets

    com.google.gwt.user.client.ui.HasWidgets.ForIsWidget

    Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.IndexedPanel

    com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget

    Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.InsertPanel

    com.google.gwt.user.client.ui.InsertPanel.ForIsWidget
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected boolean
     
    static final String
     
    protected com.google.gwt.dom.client.Element
     
    protected boolean
     
    protected Runnable
     
    protected com.google.gwt.user.client.ui.Label
     
    static final String
     
    protected Runnable
     
    static final String
     

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

    DEBUG_ID_PREFIX
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
    protected void
     
    protected void
     
    void
    onBrowserEvent(com.google.gwt.user.client.Event event)
     
    void
    setClickable(boolean clickable)
     
    void
    setEditable(boolean editable)
     
    void
    setItemClickHandler(Runnable itemClickHandler)
     
    void
    setRemoveItemHandler(Runnable removeItemHandler)
     
    void
     

    Methods inherited from class com.google.gwt.user.client.ui.FlowPanel

    add, clear, insert, insert

    Methods inherited from class com.google.gwt.user.client.ui.ComplexPanel

    add, add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, getWidgetIndex, insert, insert, iterator, remove, remove

    Methods inherited from class com.google.gwt.user.client.ui.Panel

    add, adopt, doAttachChildren, doDetachChildren, orphan, remove

    Methods inherited from class com.google.gwt.user.client.ui.Widget

    addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onDetach, 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, 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 com.google.gwt.user.client.ui.IndexedPanel

    getWidget, getWidgetCount, getWidgetIndex, remove

    Methods inherited from interface com.google.gwt.user.client.ui.IndexedPanel.ForIsWidget

    getWidgetIndex

    Methods inherited from interface com.google.gwt.user.client.ui.InsertPanel.ForIsWidget

    add

    Methods inherited from interface java.lang.Iterable

    forEach, spliterator
  • Field Details

    • TAGLABEL_STYLENAME

      public static final String TAGLABEL_STYLENAME
      See Also:
    • LABEL_CONTENT_STYLENAME

      public static final String LABEL_CONTENT_STYLENAME
      See Also:
    • CLOSE_STYLENAME

      public static final String CLOSE_STYLENAME
      See Also:
    • label

      protected com.google.gwt.user.client.ui.Label label
    • closeDiv

      protected com.google.gwt.dom.client.Element closeDiv
    • editable

      protected boolean editable
    • clickable

      protected boolean clickable
    • itemClickHandler

      protected Runnable itemClickHandler
    • removeItemHandler

      protected Runnable removeItemHandler
  • Constructor Details

    • JmixTagLabelWidget

      public JmixTagLabelWidget()
  • Method Details

    • initLabel

      protected void initLabel()
    • initRemoveBtn

      protected void initRemoveBtn()
    • setEditable

      public void setEditable(boolean editable)
    • setClickable

      public void setClickable(boolean clickable)
    • setText

      public void setText(String text)
    • getItemClickHandler

      public Runnable getItemClickHandler()
    • setItemClickHandler

      public void setItemClickHandler(Runnable itemClickHandler)
    • getRemoveItemHandler

      public Runnable getRemoveItemHandler()
    • setRemoveItemHandler

      public void setRemoveItemHandler(Runnable removeItemHandler)
    • onBrowserEvent

      public void onBrowserEvent(com.google.gwt.user.client.Event event)
      Specified by:
      onBrowserEvent in interface com.google.gwt.user.client.EventListener
      Overrides:
      onBrowserEvent in class com.google.gwt.user.client.ui.Widget