de.ls10.jsf.components.models
Class TagCloudLinkInternal

java.lang.Object
  extended by de.ls10.jsf.components.models.TagCloudLink
      extended by de.ls10.jsf.components.models.TagCloudLinkInternal
All Implemented Interfaces:
java.lang.Comparable<TagCloudLink>

public class TagCloudLinkInternal
extends TagCloudLink

This class models an internal JSF link.

Internal means, that this link should only navigate between two JSF pages of the same web application. Therefor an JSF navigation outcome (action string) must be specified and optionally JSF ActionListeners could be registered.

This link type is normally rendered as an HtmlCommandLink component by the HTML renderer.

Author:
Philip Gerlach , Oliver Horst

Field Summary
 
Fields inherited from class de.ls10.jsf.components.models.TagCloudLink
enabled, value, weight
 
Constructor Summary
TagCloudLinkInternal()
          Standard constructor, which intializes the inner list of ActionListeners for this link.
 
Method Summary
 void addActionListener(javax.faces.event.ActionListener listener)
           
 java.lang.String getAction()
           
 java.util.List<javax.faces.event.ActionListener> getActionListeners()
           
 void removeActionListener(javax.faces.event.ActionListener listener)
           
 void setAction(java.lang.String action)
           
 
Methods inherited from class de.ls10.jsf.components.models.TagCloudLink
compareTo, getValue, getWeight, isEnabled, setEnabled, setValue, setWeight
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TagCloudLinkInternal

public TagCloudLinkInternal()
Standard constructor, which intializes the inner list of ActionListeners for this link.

Method Detail

setAction

public void setAction(java.lang.String action)
Parameters:
action - Specify the JSF action expression here as you would do it in the action parameter of an <h:commandLink/> tag. This String is than internally converted to an MethodExpression and passed towards an normal UICommand component.
See Also:
MethodExpression

getAction

public java.lang.String getAction()

addActionListener

public void addActionListener(javax.faces.event.ActionListener listener)

removeActionListener

public void removeActionListener(javax.faces.event.ActionListener listener)

getActionListeners

public java.util.List<javax.faces.event.ActionListener> getActionListeners()


Copyright © 2007 University of Dortmund (FB4 / LS10). All Rights Reserved.