Class CommandLinkComponent

All Implemented Interfaces:
ActionSource, ActionSource2, PartialStateHolder, StateHolder, TransientStateHolder, ComponentSystemEventListener, FacesListener, SystemEventListenerHolder, EventListener

public class CommandLinkComponent extends UICommand
Custom component that emulates the JSF standard component class jakarta.faces.component.html.HtmlCommandLink (and its corresponding renderer) but is not tied to a particular implementation of renderer for jakarta.faces.component.UIForm.
  • Constructor Details

    • CommandLinkComponent

      public CommandLinkComponent()

      Create a new CommandLinkComponent with default properties.

  • Method Details

    • getAccesskey

      public String getAccesskey()
    • setAccesskey

      public void setAccesskey(String accesskey)
    • getCharset

      public String getCharset()
    • setCharset

      public void setCharset(String charset)
    • getDir

      public String getDir()
    • setDir

      public void setDir(String dir)
    • getFamily

      public String getFamily()

      Return the component family to which this component belongs.

      Overrides:
      getFamily in class UICommand
    • getHreflang

      public String getHreflang()
    • setHreflang

      public void setHreflang(String hreflang)
    • getLang

      public String getLang()
    • setLang

      public void setLang(String lang)
    • getOnblur

      public String getOnblur()
    • setOnblur

      public void setOnblur(String onblur)
    • getOnclick

      public String getOnclick()
    • setOnclick

      public void setOnclick(String onclick)
    • getOndblclick

      public String getOndblclick()
    • setOndblclick

      public void setOndblclick(String ondblclick)
    • getOnfocus

      public String getOnfocus()
    • setOnfocus

      public void setOnfocus(String onfocus)
    • getOnkeydown

      public String getOnkeydown()
    • setOnkeydown

      public void setOnkeydown(String onkeydown)
    • getOnkeypress

      public String getOnkeypress()
    • setOnkeypress

      public void setOnkeypress(String onkeypress)
    • getOnkeyup

      public String getOnkeyup()
    • setOnkeyup

      public void setOnkeyup(String onkeyup)
    • getOnmousedown

      public String getOnmousedown()
    • setOnmousedown

      public void setOnmousedown(String onmousedown)
    • getOnmousemove

      public String getOnmousemove()
    • setOnmousemove

      public void setOnmousemove(String onmousemove)
    • getOnmouseout

      public String getOnmouseout()
    • setOnmouseout

      public void setOnmouseout(String onmouseout)
    • getOnmouseover

      public String getOnmouseover()
    • setOnmouseover

      public void setOnmouseover(String onmouseover)
    • getOnmouseup

      public String getOnmouseup()
    • setOnmouseup

      public void setOnmouseup(String onmouseup)
    • getRel

      public String getRel()
    • setRel

      public void setRel(String rel)
    • getRev

      public String getRev()
    • setRev

      public void setRev(String rev)
    • getStyle

      public String getStyle()
    • setStyle

      public void setStyle(String style)
    • getStyleClass

      public String getStyleClass()
    • setStyleClass

      public void setStyleClass(String styleClass)
    • getTabindex

      public String getTabindex()
    • setTabindex

      public void setTabindex(String tabindex)
    • getTarget

      public String getTarget()
    • setTarget

      public void setTarget(String target)
    • getTitle

      public String getTitle()
    • setTitle

      public void setTitle(String title)
    • getType

      public String getType()
    • setType

      public void setType(String type)
    • restoreState

      public void restoreState(FacesContext context, Object state)

      Restore the state of this component.

      Specified by:
      restoreState in interface StateHolder
      Overrides:
      restoreState in class UIComponentBase
      Parameters:
      context - FacesContext for the current request
      state - State object from which to restore our state
    • saveState

      public Object saveState(FacesContext context)

      Save the state of this component.

      Specified by:
      saveState in interface StateHolder
      Overrides:
      saveState in class UIComponentBase
      Parameters:
      context - FacesContext for the current request