public interface IMenuItem extends IMenuObject, com.helger.commons.text.display.IHasDisplayText
| Modifier and Type | Method and Description |
|---|---|
String |
getTarget() |
default boolean |
hasTarget() |
default IMenuItem |
setTarget(com.helger.html.hc.html.HC_Target aTarget)
Set the (HTML) target of the link.
|
IMenuItem |
setTarget(String sTarget)
Set the (HTML) target of the link.
|
getDisplayFilter, getMenuObjectType, matchesDisplayFilter, setDisplayFiltergetAndSetAttributeFlag, setAttribute, setAttribute, setAttribute, setAttributecomputeIfAbsent, removeAttribute, setAttribute, setAttributes, setAttributescontainsAttribute, forAllAttributes, forAllAttributeValues, getAllAttributeNames, getAllAttributes, getAllAttributeValues, getAttributeAsBigDecimal, getAttributeAsBigDecimal, getAttributeAsBigInteger, getAttributeAsBigInteger, getAttributeAsBoolean, getAttributeAsBoolean, getAttributeAsDouble, getAttributeAsDouble, getAttributeAsInt, getAttributeAsInt, getAttributeAsLong, getAttributeAsLong, getAttributeAsString, getAttributeAsString, getAttributeCount, getAttributeObject, getCastedAttribute, getCastedAttribute, getTypedAttribute, getTypedAttribute, isEmpty, isNotEmpty, iteratorcontainsAny, containsNone, containsOnly, findAll, findAllInstanceOf, findAllMapped, findAllMapped, findAllMapped, findFirst, findFirst, findFirstMapped, findFirstMapped, forEach, forEach, forEachBreakable, getIteratorCount, getIteratorCountforEach, spliteratordefault boolean hasTarget()
true if an explicit target is defined,
false otherwise.@Nonnull default IMenuItem setTarget(@Nullable com.helger.html.hc.html.HC_Target aTarget)
aTarget - The target window. May be null.Copyright © 2014–2017 Philip Helger. All rights reserved.