public enum ReferenceFieldDecoratorLayout extends Enum<ReferenceFieldDecoratorLayout>
Enum
marks Decorator
target for
ReferenceFieldLabelDecorator
s and
ReferenceFieldIconDecorator
s. Each of those entry point represent
a visual element in the reference list component for the Swing based client.Enum Constant and Description |
---|
ICON_MAIN
Represents the main
PlatformIcon portion of the entry to be
decorated by ReferenceFieldIconDecorator s. |
LABEL_INFO
Represents the secondary label portion to be decorated by
ReferenceFieldLabelDecorator . |
LABEL_MAIN
Represents the main label portion to be decorated by
ReferenceFieldLabelDecorator s. |
Modifier and Type | Method and Description |
---|---|
static ReferenceFieldDecoratorLayout |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReferenceFieldDecoratorLayout[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReferenceFieldDecoratorLayout LABEL_MAIN
ReferenceFieldLabelDecorator
s.
Ref
eference list, usually containing by default the name of
the reference.
public static final ReferenceFieldDecoratorLayout LABEL_INFO
ReferenceFieldLabelDecorator
.
public static final ReferenceFieldDecoratorLayout ICON_MAIN
PlatformIcon
portion of the entry to be
decorated by ReferenceFieldIconDecorator
s.
Icon
.
null
PlatformIcon before using the input parameter.public static ReferenceFieldDecoratorLayout[] values()
for (ReferenceFieldDecoratorLayout c : ReferenceFieldDecoratorLayout.values()) System.out.println(c);
public static ReferenceFieldDecoratorLayout 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 nullCopyright © 2017. All Rights Reserved.