com.infragistics.faces.shared.component.html
Class HtmlLink

java.lang.Object
  extended byjavax.faces.component.UIComponent
      extended byjavax.faces.component.UIComponentBase
          extended byjavax.faces.component.UICommand
              extended bycom.infragistics.faces.shared.component.Link
                  extended bycom.infragistics.faces.shared.component.html.HtmlLink
All Implemented Interfaces:
javax.faces.component.ActionSource, javax.faces.component.StateHolder
Direct Known Subclasses:
HtmlHeaderLink

public class HtmlLink
extends Link


Field Summary
static java.lang.String COMPONENT_FAMILY
           
static java.lang.String COMPONENT_TYPE
           
static java.lang.String RENDERER_TYPE
           
 
Constructor Summary
HtmlLink()
           
 
Method Summary
 java.lang.String getFamily()
           
 java.lang.String getHoverStyleClass()
          Returns the name of the css class applied to the component when the mouse cursor is over it
 java.lang.String getStyle()
          Returns the default style applied to the component
 java.lang.String getStyleClass()
          Returns the name of the css class applied to the component
 java.lang.String getTarget()
          Returns the specified the target window or frame
 java.lang.String getUrl()
          Returns the url to navigate to.
 void restoreState(javax.faces.context.FacesContext context, java.lang.Object state)
           
 java.lang.Object saveState(javax.faces.context.FacesContext context)
           
 void setHoverStyleClass(java.lang.String hoverStyleClass)
          Sets the name of the css class applied to the component when the mouse cursor is over it
 void setStyle(java.lang.String style)
          Sets the default style applied to the component
 void setStyleClass(java.lang.String styleClass)
          Sets the name of the css class applied to the component
 void setTarget(java.lang.String target)
          Sets the specified the target window or frame
 void setUrl(java.lang.String url)
          Sets the url to navigate to.
 
Methods inherited from class com.infragistics.faces.shared.component.Link
getConverter, getHoverIconUrl, getIconPosition, getIconUrl, getShortcut, getTooltip, getValue, isDisabled, setConverter, setDisabled, setHoverIconUrl, setIconPosition, setIconUrl, setShortcut, setTooltip, setValue
 
Methods inherited from class javax.faces.component.UICommand
addActionListener, broadcast, getAction, getActionListener, getActionListeners, isImmediate, queueEvent, removeActionListener, setAction, setActionListener, setImmediate
 
Methods inherited from class javax.faces.component.UIComponentBase
decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COMPONENT_FAMILY

public static java.lang.String COMPONENT_FAMILY

COMPONENT_TYPE

public static java.lang.String COMPONENT_TYPE

RENDERER_TYPE

public static java.lang.String RENDERER_TYPE
Constructor Detail

HtmlLink

public HtmlLink()
Method Detail

getFamily

public java.lang.String getFamily()
Overrides:
getFamily in class Link

getHoverStyleClass

public java.lang.String getHoverStyleClass()
Returns the name of the css class applied to the component when the mouse cursor is over it

Returns:
java.lang.String

getStyle

public java.lang.String getStyle()
Returns the default style applied to the component

Returns:
java.lang.String

getStyleClass

public java.lang.String getStyleClass()
Returns the name of the css class applied to the component

Returns:
java.lang.String

getTarget

public java.lang.String getTarget()
Returns the specified the target window or frame

Returns:
java.lang.String

getUrl

public java.lang.String getUrl()
Returns the url to navigate to. if this property is specified the component act as a regular html link. Please note that action listener are ignored in that case

Returns:
java.lang.String

setHoverStyleClass

public void setHoverStyleClass(java.lang.String hoverStyleClass)
Sets the name of the css class applied to the component when the mouse cursor is over it

Parameters:
hoverStyleClass - String

setStyle

public void setStyle(java.lang.String style)
Sets the default style applied to the component

Parameters:
style - String

setStyleClass

public void setStyleClass(java.lang.String styleClass)
Sets the name of the css class applied to the component

Parameters:
styleClass - String

setTarget

public void setTarget(java.lang.String target)
Sets the specified the target window or frame

Parameters:
target - String

setUrl

public void setUrl(java.lang.String url)
Sets the url to navigate to. if this property is specified the component act as a regular html link. Please note that action listener are ignored in that case.

Parameters:
url - String

restoreState

public void restoreState(javax.faces.context.FacesContext context,
                         java.lang.Object state)
Specified by:
restoreState in interface javax.faces.component.StateHolder
Overrides:
restoreState in class Link

saveState

public java.lang.Object saveState(javax.faces.context.FacesContext context)
Specified by:
saveState in interface javax.faces.component.StateHolder
Overrides:
saveState in class Link