nl.gx.webmanager.cms.element
Interface AnchorItem

All Superinterfaces:
Wrapper

public interface AnchorItem
extends Wrapper

The AnchorElement displays links to AnchorItems. An AnchorItem is associated with an Element on the page and has a title and a name that is used for the html anchor. The html representation of an ancor usually looks like this:

 <a href="#anchorname">title<a>
 .....
 <p id="anchorname">Hello World</p>
 
In this html example anchorname is the name of the anchor, the element it points to is a paragraph and title is the text that is displayed in the link.

See Also:
AnchorElement, Element

Method Summary
 Element getElement()
          Returns the element to which this AnchorItem is linked.
 java.lang.String getName()
          Returns the html anchor name used after the #-sign.
 java.lang.String getTitle()
          Return the text that is displayed in the AnchorElement.
 
Methods inherited from interface nl.gx.webmanager.wrapper.Wrapper
getId, getUUID, setId, setUUID
 

Method Detail

getTitle

java.lang.String getTitle()
Return the text that is displayed in the AnchorElement.

Returns:
the text that is displayed in the AnchorElement.

getElement

Element getElement()
Returns the element to which this AnchorItem is linked.

Returns:
the element to which this AnchorItem is linked.

getName

java.lang.String getName()
Returns the html anchor name used after the #-sign.

Returns:
the html anchor name used after the #-sign.


Copyright © 2007-2010 GX creative online development BV. All Rights Reserved.