Class DragCaption

java.lang.Object
io.jmix.ui.widget.addon.dragdroplayouts.DragCaption

public class DragCaption extends Object
Drag caption definition: icon and caption.
  • Field Details

    • caption

      protected String caption
    • icon

      protected com.vaadin.server.Resource icon
    • contentMode

      protected com.vaadin.shared.ui.ContentMode contentMode
  • Constructor Details

    • DragCaption

      public DragCaption(String caption, @Nullable com.vaadin.server.Resource icon)
    • DragCaption

      public DragCaption(String caption, @Nullable com.vaadin.server.Resource icon, com.vaadin.shared.ui.ContentMode contentMode)
  • Method Details

    • getIcon

      @Nullable public com.vaadin.server.Resource getIcon()
    • getCaption

      public String getCaption()
    • setIcon

      public void setIcon(@Nullable com.vaadin.server.Resource icon)
    • setCaption

      public void setCaption(String caption)
    • getContentMode

      public com.vaadin.shared.ui.ContentMode getContentMode()