@NotThreadSafe public class MenuItemExternal extends AbstractMenuObject<MenuItemExternal> implements IMenuItemExternal
IMenuItemExternal interface.| Constructor and Description |
|---|
MenuItemExternal(String sItemID,
com.helger.commons.url.ISimpleURL aURL,
com.helger.commons.name.IHasDisplayText aDisplayText) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getDisplayText(Locale aDisplayLocale) |
EMenuObjectType |
getMenuObjectType() |
String |
getTarget() |
com.helger.commons.url.ISimpleURL |
getURL() |
int |
hashCode() |
MenuItemExternal |
setTarget(com.helger.html.hc.html.HC_Target aTarget)
Set the (HTML) target of the link.
|
MenuItemExternal |
setTarget(String sTarget)
Set the (HTML) target of the link.
|
String |
toString() |
getDisplayFilter, getID, matchesDisplayFilter, setDisplayFilter, thisAsTgetAndSetAttributeFlag, getClone, setAttribute, setAttribute, setAttribute, setAttributeclear, containsAttribute, containsNoAttribute, getAllAttributeNames, getAllAttributes, getAllAttributeValues, getAttributeCount, getAttributeNames, getAttributeObject, onBeforeRemoveAttribute, onBeforeSetAttributeValue, removeAttribute, setAttribute, setAttributes, setAttributesgetAsBigDecimal, getAsBigInteger, getAsBoolean, getAsDouble, getAsInt, getAsLong, getAsString, getAttributeAsBigDecimal, getAttributeAsBigDecimal, getAttributeAsBigInteger, getAttributeAsBigInteger, getAttributeAsBoolean, getAttributeAsBoolean, getAttributeAsDouble, getAttributeAsDouble, getAttributeAsInt, getAttributeAsInt, getAttributeAsLong, getAttributeAsLong, getAttributeAsString, getAttributeAsString, getCastedAttribute, getCastedAttribute, getTypedAttribute, getTypedAttributeclone, finalize, getClass, notify, notifyAll, wait, wait, waitsetDisplayFiltergetDisplayFilter, matchesDisplayFiltergetAndSetAttributeFlag, 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, getAttributeNames, getAttributeObject, getCastedAttribute, getCastedAttribute, getTypedAttribute, getTypedAttribute@Nonnull public final EMenuObjectType getMenuObjectType()
getMenuObjectType in interface IMenuObject@Nonnull public com.helger.commons.url.ISimpleURL getURL()
getURL in interface IMenuItemExternal@Nullable public String getDisplayText(@Nonnull Locale aDisplayLocale)
getDisplayText in interface com.helger.commons.name.IHasDisplayText@Nullable public String getTarget()
getTarget in interface IMenuItemExternal@Nonnull public MenuItemExternal setTarget(@Nullable com.helger.html.hc.html.HC_Target aTarget)
IMenuItemExternalsetTarget in interface IMenuItemExternalaTarget - The target window. May be null.@Nonnull public MenuItemExternal setTarget(@Nullable String sTarget)
IMenuItemExternalsetTarget 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–2015 Philip Helger. All rights reserved.