public static enum AbstractRearrangeableTreeModel.PromotionBehavior extends Enum<AbstractRearrangeableTreeModel.PromotionBehavior>
Enum Constant and Description |
---|
AFTER_PARENT
Node will become subsequent sibling of parent.
|
APPEND
Node will become the 'lowest' sibling of parent (last child of grandparent).
|
MAINTAIN_ROW
Node will stay on the same row (and become parent of 'lower' siblings).
|
Modifier and Type | Method and Description |
---|---|
static AbstractRearrangeableTreeModel.PromotionBehavior |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AbstractRearrangeableTreeModel.PromotionBehavior[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbstractRearrangeableTreeModel.PromotionBehavior MAINTAIN_ROW
public static final AbstractRearrangeableTreeModel.PromotionBehavior APPEND
public static final AbstractRearrangeableTreeModel.PromotionBehavior AFTER_PARENT
public static AbstractRearrangeableTreeModel.PromotionBehavior[] values()
for (AbstractRearrangeableTreeModel.PromotionBehavior c : AbstractRearrangeableTreeModel.PromotionBehavior.values()) System.out.println(c);
public static AbstractRearrangeableTreeModel.PromotionBehavior 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 © 2023. All rights reserved.