public static enum CDEmbeddedControl.Flag extends Enum<CDEmbeddedControl.Flag> implements INumberEnum<Short>
Enum Constant and Description |
---|
ALWAYSACTIVE
this control is active regardless of docs R/W status
|
DIALOGUNITS
Width/Height are in dialog units, not twips
|
FITTOCONTENTS
Width/Height should be adjusted to fit contents
|
FITTOWINDOW
let placeholder automatically fit to window
|
POSITION_ASCENT
position control to ascent of paragraph
|
POSITION_BOTTOM
position control to bottom of paragraph
|
POSITION_HEIGHT
position control to height of paragraph
|
POSITION_TOP
position control to top of paragraph
|
UNITS |
Modifier and Type | Method and Description |
---|---|
long |
getLongValue() |
Short |
getValue() |
static CDEmbeddedControl.Flag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CDEmbeddedControl.Flag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CDEmbeddedControl.Flag UNITS
public static final CDEmbeddedControl.Flag DIALOGUNITS
public static final CDEmbeddedControl.Flag FITTOCONTENTS
public static final CDEmbeddedControl.Flag ALWAYSACTIVE
public static final CDEmbeddedControl.Flag FITTOWINDOW
public static final CDEmbeddedControl.Flag POSITION_TOP
public static final CDEmbeddedControl.Flag POSITION_BOTTOM
public static final CDEmbeddedControl.Flag POSITION_ASCENT
public static final CDEmbeddedControl.Flag POSITION_HEIGHT
public static CDEmbeddedControl.Flag[] values()
for (CDEmbeddedControl.Flag c : CDEmbeddedControl.Flag.values()) System.out.println(c);
public static CDEmbeddedControl.Flag 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 long getLongValue()
getLongValue
in interface INumberEnum<Short>
long
public Short getValue()
getValue
in interface INumberEnum<Short>
Copyright © 2019–2021 HCL. All rights reserved.