@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() |
attrs, getDisplayFilter, getID, matchesDisplayFilter, setDisplayFilterclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetURL, setDisplayFilterattrs, getDisplayFilter, matchesDisplayFilter@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–2018 Philip Helger. All rights reserved.