Class DragCaption
java.lang.Object
io.jmix.ui.widget.addon.dragdroplayouts.DragCaption
Drag caption definition: icon and caption.
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected com.vaadin.shared.ui.ContentMode
protected com.vaadin.server.Resource
-
Constructor Summary
ConstructorDescriptionDragCaption
(String caption, com.vaadin.server.Resource icon) DragCaption
(String caption, com.vaadin.server.Resource icon, com.vaadin.shared.ui.ContentMode contentMode) -
Method Summary
Modifier and TypeMethodDescriptioncom.vaadin.shared.ui.ContentMode
com.vaadin.server.Resource
getIcon()
void
setCaption
(String caption) void
setIcon
(com.vaadin.server.Resource icon)
-
Field Details
-
icon
protected com.vaadin.server.Resource icon -
contentMode
protected com.vaadin.shared.ui.ContentMode contentMode
-
Constructor Details
-
DragCaption
-
-
Method Details
-
getIcon
@Nullable public com.vaadin.server.Resource getIcon() -
getCaption
-
setIcon
public void setIcon(@Nullable com.vaadin.server.Resource icon) -
setCaption
-
getContentMode
public com.vaadin.shared.ui.ContentMode getContentMode()
-