public class FixedDimensionsResponsiveLayoutStrategy extends Object implements ResponsiveLayoutStrategy
| Modifier and Type | Field and Description |
|---|---|
static String |
RESPONSIVE_MINIMAL_HEIGHT |
static String |
RESPONSIVE_MINIMAL_WIDTH |
| Constructor and Description |
|---|
FixedDimensionsResponsiveLayoutStrategy() |
| Modifier and Type | Method and Description |
|---|---|
int |
getMinHeight() |
int |
getMinWidth() |
boolean |
isSaveSpaceHorizontally(org.zkoss.zk.ui.event.ClientInfoEvent info,
Map<String,Object> context) |
boolean |
isSaveSpaceVertically(org.zkoss.zk.ui.event.ClientInfoEvent info,
Map<String,Object> context) |
void |
setMinHeight(int minHeight) |
void |
setMinWidth(int minWidth) |
public static final String RESPONSIVE_MINIMAL_WIDTH
public static final String RESPONSIVE_MINIMAL_HEIGHT
public FixedDimensionsResponsiveLayoutStrategy()
public boolean isSaveSpaceHorizontally(org.zkoss.zk.ui.event.ClientInfoEvent info,
Map<String,Object> context)
isSaveSpaceHorizontally in interface ResponsiveLayoutStrategyinfo - current screen datacontext - evaluation context with optional data that may be used by the strategy to compute the answer. By design it
may be the claaing widget's settings.public boolean isSaveSpaceVertically(org.zkoss.zk.ui.event.ClientInfoEvent info,
Map<String,Object> context)
isSaveSpaceVertically in interface ResponsiveLayoutStrategyinfo - current screen datacontext - evaluation context with optional data that may be used by the strategy to compute the answer. By design it
may be the claaing widget's settings.public int getMinWidth()
public void setMinWidth(int minWidth)
public int getMinHeight()
public void setMinHeight(int minHeight)
Copyright © 2018. All rights reserved.