public class BorderLayoutConfiguration extends Object implements ReflowScheduler<BorderLayoutConfiguration>
Constructor and Description |
---|
BorderLayoutConfiguration() |
BorderLayoutConfiguration(Calc calc) |
BorderLayoutConfiguration(Calc calc,
boolean collapsible,
boolean resizable) |
BorderLayoutConfiguration(double value) |
BorderLayoutConfiguration(double value,
boolean collapsible,
boolean resizable) |
BorderLayoutConfiguration(double value,
Unit unit,
boolean collapsible,
boolean resizable) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
cancelMeasure, cancelMutation, measureAsSoonAsPossible, mutateAsSoonAsPossible, mutateAsSoonAsPossible, scheduleMeasure, scheduleMutation
public BorderLayoutConfiguration()
public BorderLayoutConfiguration(double value)
value
- unit
- title
- public BorderLayoutConfiguration(double value, boolean collapsible, boolean resizable)
value
- unit
- title
- collapsible
- resizable
- public BorderLayoutConfiguration(double value, Unit unit, boolean collapsible, boolean resizable)
value
- unit
- title
- collapsible
- resizable
- public BorderLayoutConfiguration(Calc calc)
value
- unit
- calc
- title
- collapsible
- resizable
- public BorderLayoutConfiguration(Calc calc, boolean collapsible, boolean resizable)
value
- unit
- calc
- title
- collapsible
- resizable
- public String getSize()
protected BorderLayoutConfiguration storeSize(double value)
size
- the size to setpublic BorderLayoutConfiguration setSize(double value)
size
- the size to setpublic BorderLayoutConfiguration setSize(double value, Unit unit)
size
- the size to setpublic BorderLayoutConfiguration setSize(Calc calc)
calc
- the calc to setpublic BorderLayoutConfiguration setFitContent(boolean fitContent)
fitContent
- public boolean isFitContent()
public Unit getUnit()
public Calc getCalc()
public boolean hasHeader()
public boolean isCollapsible()
public BorderLayoutConfiguration setCollapsible(boolean collapsible)
collapsible
- the collapsible to setpublic boolean isResizable()
public BorderLayoutConfiguration setResizable(boolean resizable)
resizable
- the resizable to setprotected void setBorderLayoutContainer(BorderLayoutPanel borderLayoutContainer)
borderLayoutContainer
- the borderLayoutContainer to setpublic BorderLayoutPanel getBorderLayoutContainer()
public Widget<?,?> getWidget()
protected void setWidget(Widget<?,?> widget)
widget
- the widget to setpublic boolean hasMinSize()
public String getMinSize()
public BorderLayoutConfiguration setMinSize(double minValue)
minValue
- public BorderLayoutConfiguration setMinSize(double minValue, Unit minUnit)
minValue
- minUnit
- public BorderLayoutConfiguration setMinSize(Calc minCalc)
minCalc
- public BorderLayoutConfiguration clearMinSize()
public boolean hasSize()
public boolean hasMaxSize()
public String getMaxSize()
public BorderLayoutConfiguration setMaxSize(double maxValue)
maxValue
- public BorderLayoutConfiguration setMaxSize(double maxValue, Unit maxUnit)
maxValue
- the max size to setpublic BorderLayoutConfiguration setMaxSize(Calc maxCalc)
maxCalc
- the max calc to setprotected BorderLayoutConfiguration updateSize()
protected BorderLayoutConfiguration updateMinSize()
protected BorderLayoutConfiguration updateMaxSize()
public BorderLayoutConfiguration clearMaxSize()
protected BorderLayoutConfiguration updateMinMaxSizes()
public boolean isCollapsed()
protected MaterialIcon getCollapsedIcon()
protected MaterialIcon getCollapseIcon()
protected boolean isEastOrWest()
protected boolean isNorthOrSouth()
public void setCollapsed(boolean collapsed)
collapsed
- the collapsed to setprotected void setCollapseIcon(MaterialHeaderIcon collapseIcon)
headerIcon
- public int getLeftMargin()
public BorderLayoutConfiguration setLeftMargin(int leftMargin)
public Unit getLeftMarginUnit()
public BorderLayoutConfiguration setLeftMarginUnit(Unit leftMarginUnit)
public int getRightMargin()
public BorderLayoutConfiguration setRightMargin(int rightMargin)
public Unit getRightMarginUnit()
public BorderLayoutConfiguration setRightMarginUnit(Unit rightMarginUnit)
public int getTopMargin()
public BorderLayoutConfiguration setTopMargin(int topMargin)
public Unit getTopMarginUnit()
public BorderLayoutConfiguration setTopMarginUnit(Unit topMarginUnit)
public int getBottomMargin()
public BorderLayoutConfiguration setBottomMargin(int bottomMargin)
public Unit getBottomMarginUnit()
public BorderLayoutConfiguration setBottomMarginUnit(Unit bottomMarginUnit)
@WillMutate public BorderLayoutConfiguration setHorizontalMargin(int horizontalMargin)
@WillMutate public BorderLayoutConfiguration setHorizontalMargin(int horizontalMargin, Unit horizontalMarginUnit)
@WillMutate public BorderLayoutConfiguration setVerticalMargin(int verticalMargin)
@WillMutate public BorderLayoutConfiguration setVerticalMargin(int verticalMargin, Unit verticalMarginUnit)
@WillMutate public BorderLayoutConfiguration setMargin(int margin)
@WillMutate public BorderLayoutConfiguration setMargin(int margin, Unit unit)
@WillMutate public BorderLayoutConfiguration setMargin(int verticalMargin, int horizontalMargin)
@WillMutate public BorderLayoutConfiguration setMargin(int verticalMargin, Unit verticalMarginUnit, int horizontalMargin, Unit horizontalMarginUnit)
@WillMutate public BorderLayoutConfiguration setMargin(int topMargin, int horizontalMargin, int bottomMargin)
@WillMutate public BorderLayoutConfiguration setMargin(int topMargin, Unit topMarginUnit, int horizontalMargin, Unit horizontalMarginUnit, int bottomMargin, Unit bottomMarginUnit)
@WillMutate public BorderLayoutConfiguration setMargin(int topMargin, int rightMargin, int bottomMargin, int leftMargin)
@WillMutate public BorderLayoutConfiguration setMargin(int topMargin, Unit topMarginUnit, int rightMargin, Unit rightMarginUnit, int bottomMargin, Unit bottomMarginUnit, int leftMargin, Unit leftMarginUnit)
protected String getMarginCssValue()
Copyright © 2018 Xalys. All rights reserved.