com.liferay.faces.alloy.component.outputremainingchars
Class OutputRemainingCharsBase

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by javax.faces.component.UIOutput
              extended by javax.faces.component.html.HtmlOutputText
                  extended by com.liferay.faces.alloy.component.outputtext.OutputTextBase
                      extended by com.liferay.faces.alloy.component.outputremainingchars.OutputRemainingCharsBase
All Implemented Interfaces:
com.liferay.faces.util.component.ClientComponent, com.liferay.faces.util.component.Styleable, EventListener, javax.faces.component.PartialStateHolder, javax.faces.component.StateHolder, javax.faces.component.TransientStateHolder, javax.faces.component.ValueHolder, javax.faces.event.ComponentSystemEventListener, javax.faces.event.FacesListener, javax.faces.event.SystemEventListenerHolder
Direct Known Subclasses:
OutputRemainingChars

@Generated(value="com.liferay.alloy.tools.builder.FacesBuilder")
public abstract class OutputRemainingCharsBase
extends OutputTextBase
implements com.liferay.faces.util.component.Styleable, com.liferay.faces.util.component.ClientComponent

Author:
Bruno Basto, Kyle Stiemann

Nested Class Summary
protected static class OutputRemainingCharsBase.OutputRemainingCharsPropertyKeys
           
 
Nested classes/interfaces inherited from class javax.faces.component.html.HtmlOutputText
javax.faces.component.html.HtmlOutputText.PropertyKeys
 
Field Summary
static String COMPONENT_TYPE
           
static String RENDERER_TYPE
           
 
Fields inherited from class javax.faces.component.UIOutput
COMPONENT_FAMILY
 
Fields inherited from class javax.faces.component.UIComponent
ATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, HONOR_CURRENT_COMPONENT_ATTRIBUTES_PARAM_NAME, VIEW_LOCATION_KEY
 
Fields inherited from interface com.liferay.faces.util.component.Styleable
STYLE, STYLE_CLASS
 
Fields inherited from interface com.liferay.faces.util.component.ClientComponent
CLIENT_KEY
 
Constructor Summary
OutputRemainingCharsBase()
           
 
Method Summary
 String getClientKey()
          clientKey attribute description:
 String getFor()
          for attribute description:
 Integer getMaxLength()
          maxLength attribute description:
 String getOnceMaxlengthReached()
          onceMaxlengthReached attribute description:
 String getOnMaxlengthReached()
          onMaxlengthReached attribute description:
 String getStyleClass()
          styleClass attribute description:
 void setClientKey(String clientKey)
          clientKey attribute description:
 void setFor(String for_)
          for attribute description:
 void setMaxLength(Integer maxLength)
          maxLength attribute description:
 void setOnceMaxlengthReached(String onceMaxlengthReached)
          onceMaxlengthReached attribute description:
 void setOnMaxlengthReached(String onMaxlengthReached)
          onMaxlengthReached attribute description:
 
Methods inherited from class javax.faces.component.html.HtmlOutputText
getDir, getLang, getRole, getStyle, getTitle, isEscape, setDir, setEscape, setLang, setRole, setStyle, setStyleClass, setTitle
 
Methods inherited from class javax.faces.component.UIOutput
clearInitialState, getConverter, getFamily, getLocalValue, getValue, markInitialState, resetValue, restoreState, saveState, setConverter, setValue
 
Methods inherited from class javax.faces.component.UIComponentBase
addClientBehavior, addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEvent
 
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTree
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.faces.util.component.Styleable
getStyle, setStyle, setStyleClass
 
Methods inherited from interface com.liferay.faces.util.component.ClientComponent
getClientId
 

Field Detail

COMPONENT_TYPE

public static final String COMPONENT_TYPE
See Also:
Constant Field Values

RENDERER_TYPE

public static final String RENDERER_TYPE
See Also:
Constant Field Values
Constructor Detail

OutputRemainingCharsBase

public OutputRemainingCharsBase()
Method Detail

getClientKey

public String getClientKey()

clientKey attribute description:

The key name that can be used to reference the component on the client.

Specified by:
getClientKey in interface com.liferay.faces.util.component.ClientComponent

setClientKey

public void setClientKey(String clientKey)

clientKey attribute description:

The key name that can be used to reference the component on the client.

Specified by:
setClientKey in interface com.liferay.faces.util.component.ClientComponent

getFor

public String getFor()

for attribute description:

The id of the component for which the remaining characters are to be calculated.


setFor

public void setFor(String for_)

for attribute description:

The id of the component for which the remaining characters are to be calculated.


getMaxLength

public Integer getMaxLength()

maxLength attribute description:

The maximum number of charachters to allow in the input.


setMaxLength

public void setMaxLength(Integer maxLength)

maxLength attribute description:

The maximum number of charachters to allow in the input.


getOnceMaxlengthReached

public String getOnceMaxlengthReached()

onceMaxlengthReached attribute description:

Node or Selector to display the number of remaining characters calculated by the charCounter.


setOnceMaxlengthReached

public void setOnceMaxlengthReached(String onceMaxlengthReached)

onceMaxlengthReached attribute description:

Node or Selector to display the number of remaining characters calculated by the charCounter.


getOnMaxlengthReached

public String getOnMaxlengthReached()

onMaxlengthReached attribute description:

Node or Selector to display the number of remaining characters calculated by the charCounter.


setOnMaxlengthReached

public void setOnMaxlengthReached(String onMaxlengthReached)

onMaxlengthReached attribute description:

Node or Selector to display the number of remaining characters calculated by the charCounter.


getStyleClass

public String getStyleClass()

styleClass attribute description:

List of CSS class names (separated by spaces) that are to be rendered within the class attribute.

Specified by:
getStyleClass in interface com.liferay.faces.util.component.Styleable
Overrides:
getStyleClass in class OutputTextBase


Copyright © 2017 Liferay, Inc.. All rights reserved.