public OpenType closeable(Boolean closeable) { OpenType instance = getMutableInstance(); instance.closeable = closeable; return instance; }
/** * Set closeOnClickOutside to true if a window should be closed by click on outside window area. * It works when a window has a modal mode. */ public OpenType setCloseOnClickOutside(Boolean closeOnClickOutside) { OpenType instance = getMutableInstance(); instance.closeOnClickOutside = closeOnClickOutside; return instance; }
/** * Set closeOnClickOutside to true if a window should be closed by click on outside window area. * It works when a window has a modal mode. */ public OpenType closeOnClickOutside(Boolean closeOnClickOutside) { OpenType instance = getMutableInstance(); instance.closeOnClickOutside = closeOnClickOutside; return instance; }
public OpenType setWidth(Float width) { OpenType instance = getMutableInstance(); instance.width = width; return instance; }
public OpenType setWidthUnit(SizeUnit widthUnit) { OpenType instance = getMutableInstance(); instance.widthUnit = widthUnit; return instance; }
public OpenType height(Float height) { OpenType instance = getMutableInstance(); instance.height = height; return instance; }
public OpenType setHeightUnit(SizeUnit heightUnit) { OpenType instance = getMutableInstance(); instance.heightUnit = heightUnit; return instance; }
public OpenType setOpenMode(OpenMode openMode) { OpenType instance = getMutableInstance(); instance.openMode = openMode; return instance; }
/** * Set maximized to true if a window should be maximized across the screen. */ public OpenType maximized(Boolean maximized) { OpenType instance = getMutableInstance(); instance.maximized = maximized; return instance; }
public OpenType setResizable(Boolean resizable) { OpenType instance = getMutableInstance(); instance.resizable = resizable; return instance; }
public OpenType center() { OpenType instance = getMutableInstance(); instance.positionX = null; instance.positionY = null; return instance; }
public OpenType positionY(Integer positionY) { OpenType instance = getMutableInstance(); instance.positionY = positionY; return instance; }
public OpenType setHeight(Float height) { OpenType instance = getMutableInstance(); instance.height = height; return instance; }
public OpenType modal(Boolean modal) { OpenType instance = getMutableInstance(); instance.modal = modal; return instance; }
public OpenType positionX(Integer positionX) { OpenType instance = getMutableInstance(); instance.positionX = positionX; return instance; }
public OpenType width(Float width) { OpenType instance = getMutableInstance(); instance.width = width; return instance; }
public OpenType setHeight(String height) { OpenType instance = getMutableInstance(); SizeWithUnit size = SizeWithUnit.parseStringSize(height); instance.height = size.getSize(); instance.heightUnit = size.getUnit(); return instance; }
public OpenType setCloseable(Boolean closeable) { OpenType instance = getMutableInstance(); instance.closeable = closeable; return instance; }
public OpenType resizable(Boolean resizable) { OpenType instance = getMutableInstance(); instance.resizable = resizable; return instance; }
public OpenType setWidth(String width) { OpenType instance = getMutableInstance(); SizeWithUnit size = SizeWithUnit.parseStringSize(width); instance.width = size.getSize(); instance.widthUnit = size.getUnit(); return instance; }