|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
org.rcfaces.core.internal.component.CameliaBaseComponent
org.rcfaces.core.component.LineBreakComponent
public class LineBreakComponent
The lineBreak Component is the <BR> HTML equivalent.
It is used often when simple HTML is not desirable : for example if a part of a page is loaded via AJAX it might be easier to have only a jsf tree memory represantation.
The lineBreak Component has the following capability :
The default lineBreak renderer is linked to the f_lineBreak javascript class. f_lineBreak extends f_component
Table of component style classes:
| Style Name | Description |
|---|---|
| f_lineBreak | Defines styles for the wrapper element |
| Field Summary | |
|---|---|
protected static Set |
CAMELIA_ATTRIBUTES
|
static String |
COMPONENT_TYPE
|
| Fields inherited from class org.rcfaces.core.internal.component.CameliaBaseComponent |
|---|
engine |
| Fields inherited from class javax.faces.component.UIComponent |
|---|
bindings |
| Fields inherited from interface org.rcfaces.core.component.capability.IHiddenModeCapability |
|---|
CLIENT_HIDDEN_MODE, DEFAULT_HIDDEN_MODE, IGNORE_HIDDEN_MODE, PHANTOM_HIDDEN_MODE, SERVER_HIDDEN_MODE |
| Constructor Summary | |
|---|---|
LineBreakComponent()
|
|
LineBreakComponent(String componentId)
|
|
| Method Summary | |
|---|---|
protected Set |
getCameliaFields()
|
int |
getHiddenMode()
Returns the hidden mode in client side. |
int |
getHiddenMode(FacesContext facesContext)
See getHiddenMode() for more details |
String |
getStyleClass()
Returns the style class of the component. |
String |
getStyleClass(FacesContext facesContext)
See getStyleClass() for more details |
Boolean |
getVisibleState()
Returns if the receiver is
visible, if the receiver is
specified "not visible", and null otherwise. |
Boolean |
getVisibleState(FacesContext facesContext)
|
boolean |
isHiddenModeSetted()
Returns true if the attribute "hiddenMode" is set. |
boolean |
isStyleClassSetted()
Returns true if the attribute "styleClass" is set. |
boolean |
isVisible()
|
boolean |
isVisible(FacesContext facesContext)
See isVisible() for more details |
boolean |
isVisibleSetted()
Returns true if the attribute "visible" is set. |
void |
setHiddenMode(int hiddenMode)
Set the hidden mode in client side. |
void |
setHiddenMode(String hiddenMode)
|
void |
setStyleClass(String styleClass)
Specify the style class of the component. |
void |
setVisible(boolean visible)
Marks the receiver as visible if the argument is , and marks it invisible if
argument is . |
| Methods inherited from class org.rcfaces.core.internal.component.CameliaBaseComponent |
|---|
clearListeners, confirmListenerAppend, constructPhase, constructTemplate, decodePhase, encodeBegin, encodeChildren, encodeEnd, getAsyncRenderer, getCameliaValueAlias, getChildren, getChildrenListState, getFamily, getRendererType, getTransientAttribute, getValueExpression, hasDefaultProperties, initializeComponent, initializePhase, isClientRendered, isRendered, isTemplateComponent, processDecodes, processEngineUpdates, processEngineValidators, processUpdates, processValidators, queueEvent, renderPhase, restoreState, saveState, setDefaultProperties, setRendered, setTransientAttribute, setValueExpression, toString, updatePhase, validationPhase, verifyAsyncDecode |
| Methods inherited from class javax.faces.component.UIComponentBase |
|---|
addFacesListener, broadcast, decode, findComponent, getAttributes, getChildCount, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendersChildren, getValueBinding, invokeOnComponent, isTransient, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding |
| Methods inherited from class javax.faces.component.UIComponent |
|---|
encodeAll, getContainerClientId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.rcfaces.core.internal.manager.IContainerManager |
|---|
getChildCount |
| Field Detail |
|---|
public static final String COMPONENT_TYPE
protected static final Set CAMELIA_ATTRIBUTES
| Constructor Detail |
|---|
public LineBreakComponent()
public LineBreakComponent(String componentId)
| Method Detail |
|---|
public void setHiddenMode(String hiddenMode)
public Boolean getVisibleState(FacesContext facesContext)
public String getStyleClass()
IStyleClassCapability
getStyleClass in interface IStyleClassCapabilitypublic String getStyleClass(FacesContext facesContext)
getStyleClass() for more details
public final boolean isStyleClassSetted()
true if the attribute "styleClass" is set.
true if the attribute is set.public void setStyleClass(String styleClass)
IStyleClassCapability
setStyleClass in interface IStyleClassCapabilitystyleClass - style classpublic boolean isVisible()
isVisible in interface IVisibilityCapabilitypublic boolean isVisible(FacesContext facesContext)
isVisible() for more details
public final boolean isVisibleSetted()
true if the attribute "visible" is set.
true if the attribute is set.public void setVisible(boolean visible)
IVisibilityCapabilityTRUE, and marks it invisible if
argument is FALSE.
setVisible in interface IVisibilityCapabilityvisible - the new visibility state.public Boolean getVisibleState()
IVisibilityCapabilityTRUE if the receiver is
visible, FALSE if the receiver is
specified "not visible", and null otherwise.
getVisibleState in interface IVisibilityCapabilitypublic int getHiddenMode()
IHiddenModeCapability
getHiddenMode in interface IHiddenModeCapabilitypublic int getHiddenMode(FacesContext facesContext)
getHiddenMode() for more details
public final boolean isHiddenModeSetted()
true if the attribute "hiddenMode" is set.
true if the attribute is set.public void setHiddenMode(int hiddenMode)
IHiddenModeCapability
setHiddenMode in interface IHiddenModeCapabilityhiddenMode - hidden modeprotected Set getCameliaFields()
getCameliaFields in class org.rcfaces.core.internal.component.CameliaBaseComponent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||