public interface IMenuItem extends IMenuObject, com.helger.commons.text.display.IHasDisplayText
| Modifier and Type | Method and Description |
|---|---|
String |
getTarget() |
boolean |
hasTarget() |
IMenuItem |
setTarget(com.helger.html.hc.html.HC_Target eTarget)
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, setAttributeremoveAttribute, setAttribute, setAttributes, setAttributescontainsAttribute, containsNoAttribute, getAllAttributeNames, getAllAttributes, getAllAttributeValues, getAttributeAsBigDecimal, getAttributeAsBigDecimal, getAttributeAsBigInteger, getAttributeAsBigInteger, getAttributeAsBoolean, getAttributeAsBoolean, getAttributeAsDouble, getAttributeAsDouble, getAttributeAsInt, getAttributeAsInt, getAttributeAsLong, getAttributeAsLong, getAttributeAsString, getAttributeAsString, getAttributeCount, getAttributeObject, getCastedAttribute, getCastedAttribute, getIterator, getTypedAttribute, getTypedAttributeboolean hasTarget()
true if an explicit target is defined,
false otherwise.@Nonnull IMenuItem setTarget(@Nullable com.helger.html.hc.html.HC_Target eTarget)
eTarget - The target window. May be null.Copyright © 2014–2015 Philip Helger. All rights reserved.