Package | Description |
---|---|
com.vaadin.server | |
com.vaadin.ui |
Modifier and Type | Field and Description |
---|---|
static Sizeable.Unit |
Sizeable.UNITS_CM
Deprecated.
As of 7.0, use
CM instead |
static Sizeable.Unit |
Sizeable.UNITS_EM
Deprecated.
As of 7.0, use
EM instead |
static Sizeable.Unit |
Sizeable.UNITS_EX
Deprecated.
As of 7.0, use
EX instead |
static Sizeable.Unit |
Sizeable.UNITS_INCH
Deprecated.
As of 7.0, use
INCH instead |
static Sizeable.Unit |
Sizeable.UNITS_MM
Deprecated.
As of 7.0, use
MM instead |
static Sizeable.Unit |
Sizeable.UNITS_PERCENTAGE
Deprecated.
As of 7.0, use
PERCENTAGE instead |
static Sizeable.Unit |
Sizeable.UNITS_PICAS
Deprecated.
As of 7.0, use
PICAS instead |
static Sizeable.Unit |
Sizeable.UNITS_PIXELS
Deprecated.
As of 7.0, use
PIXELS instead |
static Sizeable.Unit |
Sizeable.UNITS_POINTS
Deprecated.
As of 7.0, use
POINTS instead |
Modifier and Type | Method and Description |
---|---|
Sizeable.Unit |
Sizeable.getHeightUnits()
Gets the height property units.
|
Sizeable.Unit |
SizeWithUnit.getUnit()
Returns the unit stored in this object.
|
static Sizeable.Unit |
Sizeable.Unit.getUnitFromSymbol(String symbol) |
Sizeable.Unit |
Sizeable.getWidthUnits()
Gets the width property units.
|
static Sizeable.Unit |
Sizeable.Unit.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Sizeable.Unit[] |
Sizeable.Unit.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static SizeWithUnit |
SizeWithUnit.parseStringSize(String s,
Sizeable.Unit defaultUnit)
Returns an object whose numeric value and unit are taken from the string
s.
|
void |
Sizeable.setHeight(float height,
Sizeable.Unit unit)
Sets the height of the object.
|
void |
Sizeable.setWidth(float width,
Sizeable.Unit unit)
Sets the width of the object.
|
Constructor and Description |
---|
SizeWithUnit(float size,
Sizeable.Unit unit)
Constructs a new SizeWithUnit object representing the pair (size, unit).
|
Modifier and Type | Method and Description |
---|---|
Sizeable.Unit |
AbsoluteLayout.ComponentPosition.getBottomUnits()
Gets the unit for the 'bottom' attribute
|
Sizeable.Unit |
AbstractComponent.getHeightUnits() |
Sizeable.Unit |
AbsoluteLayout.ComponentPosition.getLeftUnits()
Gets the unit for the 'left' attribute
|
Sizeable.Unit |
AbstractSplitPanel.getMaxSplitPositionUnit()
Returns the unit of the maximum position of the splitter
|
Sizeable.Unit |
AbstractSplitPanel.getMinSplitPositionUnit()
Returns the unit of the minimum position of the splitter.
|
Sizeable.Unit |
AbsoluteLayout.ComponentPosition.getRightUnits()
Gets the unit for the 'right' attribute
|
Sizeable.Unit |
AbstractSplitPanel.getSplitPositionUnit()
Returns the unit of position of the splitter
|
Sizeable.Unit |
AbstractSplitPanel.SplitPositionChangeEvent.getSplitPositionUnit() |
Sizeable.Unit |
AbsoluteLayout.ComponentPosition.getTopUnits()
Gets the unit for the 'top' attribute
|
Sizeable.Unit |
AbstractComponent.getWidthUnits() |
Modifier and Type | Method and Description |
---|---|
void |
AbsoluteLayout.ComponentPosition.setBottom(Float bottomValue,
Sizeable.Unit bottomUnits)
Sets the 'bottom' attribute; distance from the bottom of the
component to the bottom edge of the layout.
|
void |
AbsoluteLayout.ComponentPosition.setBottomUnits(Sizeable.Unit bottomUnits)
Sets the unit for the 'bottom' attribute
|
void |
Grid.setHeight(float height,
Sizeable.Unit unit)
Sets the height of the object.
|
void |
CustomField.setHeight(float height,
Sizeable.Unit unit) |
void |
AbstractSingleComponentContainer.setHeight(float height,
Sizeable.Unit unit) |
void |
AbstractComponentContainer.setHeight(float height,
Sizeable.Unit unit) |
void |
AbstractComponent.setHeight(float height,
Sizeable.Unit unit) |
void |
AbsoluteLayout.ComponentPosition.setLeft(Float leftValue,
Sizeable.Unit leftUnits)
Sets the 'left' attribute; distance from the left of the component to
the left edge of the layout.
|
void |
AbsoluteLayout.ComponentPosition.setLeftUnits(Sizeable.Unit leftUnits)
Sets the unit for the 'left' attribute
|
void |
AbstractSplitPanel.setMaxSplitPosition(float pos,
Sizeable.Unit unit)
Sets the maximum split position to the given position and unit.
|
void |
AbstractSplitPanel.setMinSplitPosition(float pos,
Sizeable.Unit unit)
Sets the minimum split position to the given position and unit.
|
void |
AbsoluteLayout.ComponentPosition.setRight(Float rightValue,
Sizeable.Unit rightUnits)
Sets the 'right' attribute; distance from the right of the component
to the right edge of the layout.
|
void |
AbsoluteLayout.ComponentPosition.setRightUnits(Sizeable.Unit rightUnits)
Sets the unit for the 'right' attribute
|
void |
AbstractSplitPanel.setSplitPosition(float pos,
Sizeable.Unit unit)
Moves the position of the splitter with given position and unit.
|
void |
AbstractSplitPanel.setSplitPosition(float pos,
Sizeable.Unit unit,
boolean reverse)
Moves the position of the splitter with given position and unit.
|
void |
AbsoluteLayout.ComponentPosition.setTop(Float topValue,
Sizeable.Unit topUnits)
Sets the 'top' attribute; distance from the top of the component to
the top edge of the layout.
|
void |
AbsoluteLayout.ComponentPosition.setTopUnits(Sizeable.Unit topUnits)
Sets the unit for the 'top' attribute
|
void |
CustomField.setWidth(float width,
Sizeable.Unit unit) |
void |
AbstractSingleComponentContainer.setWidth(float width,
Sizeable.Unit unit) |
void |
AbstractComponentContainer.setWidth(float width,
Sizeable.Unit unit) |
void |
AbstractComponent.setWidth(float width,
Sizeable.Unit unit) |
Constructor and Description |
---|
SplitPositionChangeEvent(Component source,
float position,
Sizeable.Unit unit) |
Copyright © 2019 Vaadin Ltd. All rights reserved.