public enum AnchorTarget extends Enum<AnchorTarget> implements AnchorTargetValue
target attribute values for an
<a> element.| Enum Constant and Description |
|---|
BLANK
Open a link in a new unnamed context.
|
DEFAULT
Remove the target value.
|
PARENT
Open a link in the parent context, or the current context if there is no
parent context.
|
SELF
Open a link in the current context.
|
TOP
Open a link in the top most grandparent context, or the current context
if there is no parent context.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getValue()
Gets the string value representation.
|
static AnchorTarget |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AnchorTarget[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfforStringpublic static final AnchorTarget DEFAULT
SELF.public static final AnchorTarget SELF
public static final AnchorTarget BLANK
public static final AnchorTarget PARENT
public static final AnchorTarget TOP
public static AnchorTarget[] values()
for (AnchorTarget c : AnchorTarget.values()) System.out.println(c);
public static AnchorTarget 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 String getValue()
AnchorTargetValuegetValue in interface AnchorTargetValue<a> (anchor) tag.Copyright © 2000–2025 Vaadin Ltd. All rights reserved.