@UiController(value="dshbrd_Colspan.dialog")
@UiDescriptor(value="colspan-dialog.xml")
public class ColspanDialog
extends io.jmix.ui.screen.Screen
io.jmix.ui.screen.Screen.AfterCloseEvent, io.jmix.ui.screen.Screen.AfterDetachEvent, io.jmix.ui.screen.Screen.AfterInitEvent, io.jmix.ui.screen.Screen.AfterShowEvent, io.jmix.ui.screen.Screen.BeforeCloseEvent, io.jmix.ui.screen.Screen.BeforeShowEvent, io.jmix.ui.screen.Screen.InitEvent
Modifier and Type | Field and Description |
---|---|
protected io.jmix.core.Messages |
messages |
protected io.jmix.ui.component.HBoxLayout |
sliderBox |
static java.lang.String |
WIDGET |
Constructor and Description |
---|
ColspanDialog() |
Modifier and Type | Method and Description |
---|---|
void |
apply(io.jmix.ui.component.Button.ClickEvent event) |
void |
cancel(io.jmix.ui.component.Button.ClickEvent event) |
protected java.lang.String |
getCaption(java.lang.String message,
java.lang.Integer value,
int maxValue) |
protected void |
initColumnSlider(int cols,
int maxColSpan) |
protected void |
initRowSlider(int rows,
int maxRowSpan) |
void |
onInit(io.jmix.ui.screen.Screen.InitEvent e) |
addAfterCloseListener, addAfterDetachListener, addAfterInitListener, addAfterShowListener, addBeforeCloseListener, addBeforeShowListener, addInitListener, addUrlParamsChangeListener, close, close, closeWithDefaultAction, fireEvent, getApplicationContext, getEventHub, getExtensions, getId, getScreenData, getUiEventListeners, getWindow, isMultipleOpen, isSameScreen, setApplicationContext, setExtensions, setId, setScreenData, setUiEventListeners, setWindow, show
public static final java.lang.String WIDGET
@Autowired protected io.jmix.ui.component.HBoxLayout sliderBox
@Autowired protected io.jmix.core.Messages messages
@Subscribe public void onInit(io.jmix.ui.screen.Screen.InitEvent e)
protected void initColumnSlider(int cols, int maxColSpan)
protected void initRowSlider(int rows, int maxRowSpan)
protected java.lang.String getCaption(java.lang.String message, java.lang.Integer value, int maxValue)
@Subscribe(value="okBtn") public void apply(io.jmix.ui.component.Button.ClickEvent event)
@Subscribe(value="cancelBtn") public void cancel(io.jmix.ui.component.Button.ClickEvent event)