@NotThreadSafe public class MenuItemExternal extends AbstractMenuObject<MenuItemExternal> implements IMenuItemExternal
IMenuItemExternal interface.| Constructor and Description |
|---|
MenuItemExternal(String sItemID,
com.helger.commons.url.IHasSimpleURL aURLProvider,
com.helger.commons.text.display.IHasDisplayText aDisplayText) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getDisplayText(Locale aDisplayLocale) |
EMenuObjectType |
getMenuObjectType() |
String |
getTarget() |
com.helger.commons.url.IHasSimpleURL |
getURLProvider() |
int |
hashCode() |
MenuItemExternal |
setTarget(String sTarget)
Set the (HTML) target of the link.
|
String |
toString() |
getDisplayFilter, getID, matchesDisplayFilter, setDisplayFiltergetCloneclear, onBeforeRemoveAllAttributes, onBeforeRemoveAttribute, onBeforeSetAttributeValue, removeAttribute, setAttribute, setAttributes, setAttributescontainsAttribute, forAllAttributes, forAllAttributeValues, getAllAttributeNames, getAllAttributes, getAllAttributeValues, getAttributeCount, getAttributeObject, isEmpty, iteratorclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetURL, setDisplayFilter, setTargetgetDisplayFilter, matchesDisplayFiltergetAndSetAttributeFlag, 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, spliterator@Nonnull public final EMenuObjectType getMenuObjectType()
getMenuObjectType in interface IMenuObject@Nonnull public com.helger.commons.url.IHasSimpleURL getURLProvider()
getURLProvider in interface IMenuItemExternalnull.@Nullable public String getDisplayText(@Nonnull Locale aDisplayLocale)
getDisplayText in interface com.helger.commons.text.display.IHasDisplayText@Nonnull public MenuItemExternal setTarget(@Nullable String sTarget)
IMenuItemsetTarget in interface IMenuItemsetTarget in interface IMenuItemExternalsTarget - The name of the target window. May be null.public boolean equals(Object o)
equals in class AbstractMenuObject<MenuItemExternal>public int hashCode()
hashCode in class AbstractMenuObject<MenuItemExternal>public String toString()
toString in class AbstractMenuObject<MenuItemExternal>Copyright © 2014–2017 Philip Helger. All rights reserved.