public static enum CDActionBarExt.WidthStyle extends Enum<CDActionBarExt.WidthStyle> implements INumberEnum<Byte>
Enum Constant and Description |
---|
ABSOLUTE
Width is set to value in wBtnWidthAbsolute
|
BACKGROUND
Width is at least button background image width or wider if needed to fit text and image.
|
DEFAULT
Width is calculated based on text length and image width
|
Modifier and Type | Method and Description |
---|---|
long |
getLongValue() |
Byte |
getValue() |
static CDActionBarExt.WidthStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CDActionBarExt.WidthStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CDActionBarExt.WidthStyle DEFAULT
public static final CDActionBarExt.WidthStyle BACKGROUND
public static final CDActionBarExt.WidthStyle ABSOLUTE
public static CDActionBarExt.WidthStyle[] values()
for (CDActionBarExt.WidthStyle c : CDActionBarExt.WidthStyle.values()) System.out.println(c);
public static CDActionBarExt.WidthStyle valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic Byte getValue()
getValue
in interface INumberEnum<Byte>
public long getLongValue()
getLongValue
in interface INumberEnum<Byte>
long
Copyright © 2019–2021 HCL. All rights reserved.