@NotThreadSafe public class MenuItemPage extends AbstractMenuObject<MenuItemPage> implements IMenuItemPage
IMenuItemPage interface.| Constructor and Description |
|---|
MenuItemPage(String sItemID,
IPage aPage) |
MenuItemPage(String sItemID,
IPage aPage,
com.helger.commons.text.display.IHasDisplayText aDisplayText) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getDisplayText(Locale aDisplayLocale) |
EMenuObjectType |
getMenuObjectType() |
IPage |
getPage() |
String |
getTarget() |
int |
hashCode() |
boolean |
hasTarget() |
MenuItemPage |
setTarget(com.helger.html.hc.html.HC_Target aTarget)
Set the (HTML) target of the link.
|
MenuItemPage |
setTarget(String sTarget)
Set the (HTML) target of the link.
|
String |
toString() |
getDisplayFilter, getID, matchesDisplayFilter, setDisplayFilter, thisAsTgetAndSetAttributeFlag, getClone, setAttribute, setAttribute, setAttribute, setAttributeclear, onBeforeRemoveAllAttributes, onBeforeRemoveAttribute, onBeforeSetAttributeValue, removeAttribute, setAttribute, setAttributes, setAttributescontainsAttribute, containsNoAttribute, getAllAttributeNames, getAllAttributes, getAllAttributeValues, getAttributeCount, getAttributeObject, getIteratorgetAsBigDecimal, 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, getAttributeObject, getCastedAttribute, getCastedAttribute, getIterator, getTypedAttribute, getTypedAttribute@Nonnull public final EMenuObjectType getMenuObjectType()
getMenuObjectType in interface IMenuObject@Nonnull public IPage getPage()
getPage in interface IMenuItemPage@Nullable public String getDisplayText(@Nonnull Locale aDisplayLocale)
getDisplayText in interface com.helger.commons.text.display.IHasDisplayTextpublic boolean hasTarget()
@Nonnull public MenuItemPage setTarget(@Nullable com.helger.html.hc.html.HC_Target aTarget)
IMenuItemsetTarget in interface IMenuItemsetTarget in interface IMenuItemPageaTarget - The target window. May be null.@Nonnull public MenuItemPage setTarget(@Nullable String sTarget)
IMenuItemsetTarget in interface IMenuItemsetTarget in interface IMenuItemPagesTarget - The name of the target window. May be null.public boolean equals(Object o)
equals in class AbstractMenuObject<MenuItemPage>public int hashCode()
hashCode in class AbstractMenuObject<MenuItemPage>public String toString()
toString in class AbstractMenuObject<MenuItemPage>Copyright © 2014–2015 Philip Helger. All rights reserved.