Package com.smartgwt.client.types
Enum LayoutResizeBarPolicy
- All Implemented Interfaces:
ValueEnum
,Serializable
,Comparable<LayoutResizeBarPolicy>
,Constable
Policy for whether resize bars are shown on members by default.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionresize bars are shown on all resizable members that are not explicitly marked showResizeBar:false, including the last member.resize bars are only shown on members markedshowResizeBar:true
resize bars are shown on all resizable members that are not explicitly marked showResizeBar:false, except the last member.resize bars are not shown even if members are marked withshowResizeBar:true
-
Method Summary
Modifier and TypeMethodDescriptiongetValue()
static LayoutResizeBarPolicy
Returns the enum constant of this type with the specified name.static LayoutResizeBarPolicy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
MARKED
resize bars are only shown on members markedshowResizeBar:true
If this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "marked". -
MIDDLE
resize bars are shown on all resizable members that are not explicitly marked showResizeBar:false, except the last member. Appropriate for aLayoutPolicy
of "fill" (VLayout, HLayout) since the overall space will always be filled.If this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "middle". -
ALL
resize bars are shown on all resizable members that are not explicitly marked showResizeBar:false, including the last member. Can be appropriate for aLayoutPolicy
of "none" (VStack, HStack) since the overall size of the layout is dictated by it's member's sizes.If this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "all". -
NONE
resize bars are not shown even if members are marked withshowResizeBar:true
If this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "none".
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
-