|
||||||||||
| 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.RulerComponent
public class RulerComponent
The ruler Component is the <HR> 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 ruler Component has the following capability :
The default ruler renderer is linked to the f_ruler javascript class. f_ruler extends f_component
Table of component style classes:
| Style Name | Description |
|---|---|
| f_ruler | Defines styles for the HR 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 |
| Fields inherited from interface org.rcfaces.core.component.capability.IAlignmentCapability |
|---|
CENTER, LEFT, RIGHT |
| Constructor Summary | |
|---|---|
RulerComponent()
|
|
RulerComponent(String componentId)
|
|
| Method Summary | |
|---|---|
String |
getAlignment()
Returns a string that represents the alignement of the data in the component. |
String |
getAlignment(FacesContext facesContext)
See getAlignment() for more details |
String |
getBackgroundColor()
Returns the receiver's background color. |
String |
getBackgroundColor(FacesContext facesContext)
See getBackgroundColor() for more details |
int |
getBottom()
|
int |
getBottom(FacesContext facesContext)
See getBottom() for more details |
protected Set |
getCameliaFields()
|
String |
getForegroundColor()
Returns the foreground color that the receiver will use to draw. |
String |
getForegroundColor(FacesContext facesContext)
See getForegroundColor() for more details |
String |
getHeight()
Returns a string value (as specified by CSS) for the height of the component. |
String |
getHeight(FacesContext facesContext)
See getHeight() for more details |
int |
getHiddenMode()
Returns the hidden mode in client side. |
int |
getHiddenMode(FacesContext facesContext)
See getHiddenMode() for more details |
int |
getLeft()
|
int |
getLeft(FacesContext facesContext)
See getLeft() for more details |
String |
getLookId()
Returns a string value specifying the choosen look of the component. |
String |
getLookId(FacesContext facesContext)
See getLookId() for more details |
String |
getMarginBottom()
Returns a string value specifying the margin size for the component's bottom (compliant to CSS margin-bottom). |
String |
getMarginBottom(FacesContext facesContext)
See getMarginBottom() for more details |
String |
getMarginLeft()
Returns a string value specifying the margin size for the component's left (compliant to CSS margin-left). |
String |
getMarginLeft(FacesContext facesContext)
See getMarginLeft() for more details |
String |
getMarginRight()
Returns a string value specifying the margin size for the component's right (compliant to CSS margin-right). |
String |
getMarginRight(FacesContext facesContext)
See getMarginRight() for more details |
String |
getMarginTop()
Returns a string value specifying the margin size for the component's top (compliant to CSS margin-top). |
String |
getMarginTop(FacesContext facesContext)
See getMarginTop() for more details |
String |
getOrientation()
Returns a string value specifying the orientation of the component. |
String |
getOrientation(FacesContext facesContext)
See getOrientation() for more details |
int |
getRight()
|
int |
getRight(FacesContext facesContext)
See getRight() for more details |
int |
getTop()
|
int |
getTop(FacesContext facesContext)
See getTop() 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)
|
String |
getWidth()
Returns a string value (as specified by CSS) for the width of the component. |
String |
getWidth(FacesContext facesContext)
See getWidth() for more details |
String |
getX()
Returns a string value (as specified by CSS) for the x position of the component. |
String |
getX(FacesContext facesContext)
See getX() for more details |
String |
getY()
Returns a string value (as specified by CSS) for the y position of the component. |
String |
getY(FacesContext facesContext)
See getY() for more details |
boolean |
isAlignmentSetted()
Returns true if the attribute "alignment" is set. |
boolean |
isBackgroundColorSetted()
Returns true if the attribute "backgroundColor" is set. |
boolean |
isBottomSetted()
Returns true if the attribute "bottom" is set. |
boolean |
isForegroundColorSetted()
Returns true if the attribute "foregroundColor" is set. |
boolean |
isHeightSetted()
Returns true if the attribute "height" is set. |
boolean |
isHiddenModeSetted()
Returns true if the attribute "hiddenMode" is set. |
boolean |
isLeftSetted()
Returns true if the attribute "left" is set. |
boolean |
isLookIdSetted()
Returns true if the attribute "lookId" is set. |
boolean |
isMarginBottomSetted()
Returns true if the attribute "marginBottom" is set. |
boolean |
isMarginLeftSetted()
Returns true if the attribute "marginLeft" is set. |
boolean |
isMarginRightSetted()
Returns true if the attribute "marginRight" is set. |
boolean |
isMarginTopSetted()
Returns true if the attribute "marginTop" is set. |
boolean |
isOrientationSetted()
Returns true if the attribute "orientation" is set. |
boolean |
isRightSetted()
Returns true if the attribute "right" is set. |
boolean |
isTopSetted()
Returns true if the attribute "top" is set. |
boolean |
isVisible()
|
boolean |
isVisible(FacesContext facesContext)
See isVisible() for more details |
boolean |
isVisibleSetted()
Returns true if the attribute "visible" is set. |
boolean |
isWidthSetted()
Returns true if the attribute "width" is set. |
boolean |
isXSetted()
Returns true if the attribute "x" is set. |
boolean |
isYSetted()
Returns true if the attribute "y" is set. |
void |
setAlignment(String alignment)
Sets a string that represents the alignement of the data in the component. |
void |
setBackgroundColor(String backgroundColor)
Sets the receiver's background color to the color specified by the argument, or to the default system color for the control if the argument is null. |
void |
setBottom(int bottom)
|
void |
setForegroundColor(String foregroundColor)
Sets the receiver's foreground color to the color specified by the argument, or to the default system color for the control if the argument is null. |
void |
setHeight(String height)
Sets a string value (as specified by CSS) for the height of the component. |
void |
setHiddenMode(int hiddenMode)
Set the hidden mode in client side. |
void |
setHiddenMode(String hiddenMode)
|
void |
setLeft(int left)
|
void |
setLookId(String lookId)
Sets a string value specifying the choosen look of the component. |
void |
setMarginBottom(String marginBottom)
Sets a string value specifying the margin size for the component's bottom (compliant to CSS margin-bottom). |
void |
setMarginLeft(String marginLeft)
Sets a string value specifying the margin size for the component's left (compliant to CSS margin-left). |
void |
setMarginRight(String marginRight)
Sets a string value specifying the margin size for the component's right (compliant to CSS margin-right). |
void |
setMargins(String margins)
|
void |
setMarginTop(String marginTop)
Sets a string value specifying the margin size for the component's top (compliant to CSS margin-top). |
void |
setOrientation(String orientation)
Sets a string value specifying the orientation of the component. |
void |
setRight(int right)
|
void |
setTop(int top)
|
void |
setVisible(boolean visible)
Marks the receiver as visible if the argument is , and marks it invisible if
argument is . |
void |
setWidth(String width)
Sets a string value (as specified by CSS) for the width of the component. |
void |
setX(String x)
Sets a string value (as specified by CSS) for the x position of the component. |
void |
setY(String y)
Sets a string value (as specified by CSS) for the y position of the component. |
| 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 RulerComponent()
public RulerComponent(String componentId)
| Method Detail |
|---|
public void setMargins(String margins)
public void setHiddenMode(String hiddenMode)
public Boolean getVisibleState(FacesContext facesContext)
public String getX()
IPositionCapability
getX in interface IPositionCapabilitypublic String getX(FacesContext facesContext)
getX() for more details
public final boolean isXSetted()
true if the attribute "x" is set.
true if the attribute is set.public void setX(String x)
IPositionCapability
setX in interface IPositionCapabilityx - as specified by CSSpublic String getY()
IPositionCapability
getY in interface IPositionCapabilitypublic String getY(FacesContext facesContext)
getY() for more details
public final boolean isYSetted()
true if the attribute "y" is set.
true if the attribute is set.public void setY(String y)
IPositionCapability
setY in interface IPositionCapabilityy - as specified by CSSpublic int getBottom()
getBottom in interface ILayoutPositionCapabilitypublic int getBottom(FacesContext facesContext)
getBottom() for more details
public final boolean isBottomSetted()
true if the attribute "bottom" is set.
true if the attribute is set.public void setBottom(int bottom)
setBottom in interface ILayoutPositionCapabilitypublic int getLeft()
getLeft in interface ILayoutPositionCapabilitypublic int getLeft(FacesContext facesContext)
getLeft() for more details
public final boolean isLeftSetted()
true if the attribute "left" is set.
true if the attribute is set.public void setLeft(int left)
setLeft in interface ILayoutPositionCapabilitypublic int getRight()
getRight in interface ILayoutPositionCapabilitypublic int getRight(FacesContext facesContext)
getRight() for more details
public final boolean isRightSetted()
true if the attribute "right" is set.
true if the attribute is set.public void setRight(int right)
setRight in interface ILayoutPositionCapabilitypublic int getTop()
getTop in interface ILayoutPositionCapabilitypublic int getTop(FacesContext facesContext)
getTop() for more details
public final boolean isTopSetted()
true if the attribute "top" is set.
true if the attribute is set.public void setTop(int top)
setTop in interface ILayoutPositionCapabilitypublic String getMarginBottom()
IMarginCapability
getMarginBottom in interface IMarginCapabilitypublic String getMarginBottom(FacesContext facesContext)
getMarginBottom() for more details
public final boolean isMarginBottomSetted()
true if the attribute "marginBottom" is set.
true if the attribute is set.public void setMarginBottom(String marginBottom)
IMarginCapability
setMarginBottom in interface IMarginCapabilitymarginBottom - margin-bottompublic String getMarginLeft()
IMarginCapability
getMarginLeft in interface IMarginCapabilitypublic String getMarginLeft(FacesContext facesContext)
getMarginLeft() for more details
public final boolean isMarginLeftSetted()
true if the attribute "marginLeft" is set.
true if the attribute is set.public void setMarginLeft(String marginLeft)
IMarginCapability
setMarginLeft in interface IMarginCapabilitymarginLeft - margin-leftpublic String getMarginRight()
IMarginCapability
getMarginRight in interface IMarginCapabilitypublic String getMarginRight(FacesContext facesContext)
getMarginRight() for more details
public final boolean isMarginRightSetted()
true if the attribute "marginRight" is set.
true if the attribute is set.public void setMarginRight(String marginRight)
IMarginCapability
setMarginRight in interface IMarginCapabilitymarginRight - margin-rightpublic String getMarginTop()
IMarginCapability
getMarginTop in interface IMarginCapabilitypublic String getMarginTop(FacesContext facesContext)
getMarginTop() for more details
public final boolean isMarginTopSetted()
true if the attribute "marginTop" is set.
true if the attribute is set.public void setMarginTop(String marginTop)
IMarginCapability
setMarginTop in interface IMarginCapabilitymarginTop - margin-toppublic String getWidth()
IWidthCapability
getWidth in interface IWidthCapabilitypublic String getWidth(FacesContext facesContext)
getWidth() for more details
public final boolean isWidthSetted()
true if the attribute "width" is set.
true if the attribute is set.public void setWidth(String width)
IWidthCapability
setWidth in interface IWidthCapabilitywidth - widthpublic String getHeight()
IHeightCapability
getHeight in interface IHeightCapabilitypublic String getHeight(FacesContext facesContext)
getHeight() for more details
public final boolean isHeightSetted()
true if the attribute "height" is set.
true if the attribute is set.public void setHeight(String height)
IHeightCapability
setHeight in interface IHeightCapabilityheight - heightpublic 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 modepublic String getLookId()
ILookAndFeelCapability
getLookId in interface ILookAndFeelCapabilitypublic String getLookId(FacesContext facesContext)
getLookId() for more details
public final boolean isLookIdSetted()
true if the attribute "lookId" is set.
true if the attribute is set.public void setLookId(String lookId)
ILookAndFeelCapability
setLookId in interface ILookAndFeelCapabilitylookId - lookIdpublic String getOrientation()
IOrientationCapability
getOrientation in interface IOrientationCapabilitypublic String getOrientation(FacesContext facesContext)
getOrientation() for more details
public final boolean isOrientationSetted()
true if the attribute "orientation" is set.
true if the attribute is set.public void setOrientation(String orientation)
IOrientationCapability
setOrientation in interface IOrientationCapabilityorientation - horizontal|verticalpublic String getBackgroundColor()
IForegroundBackgroundColorCapability
getBackgroundColor in interface IForegroundBackgroundColorCapabilitypublic String getBackgroundColor(FacesContext facesContext)
getBackgroundColor() for more details
public final boolean isBackgroundColorSetted()
true if the attribute "backgroundColor" is set.
true if the attribute is set.public void setBackgroundColor(String backgroundColor)
IForegroundBackgroundColorCapability
setBackgroundColor in interface IForegroundBackgroundColorCapabilitybackgroundColor - background colorpublic String getForegroundColor()
IForegroundBackgroundColorCapability
getForegroundColor in interface IForegroundBackgroundColorCapabilitypublic String getForegroundColor(FacesContext facesContext)
getForegroundColor() for more details
public final boolean isForegroundColorSetted()
true if the attribute "foregroundColor" is set.
true if the attribute is set.public void setForegroundColor(String foregroundColor)
IForegroundBackgroundColorCapability
setForegroundColor in interface IForegroundBackgroundColorCapabilityforegroundColor - foreground colorpublic String getAlignment()
IAlignmentCapability
getAlignment in interface IAlignmentCapabilitypublic String getAlignment(FacesContext facesContext)
getAlignment() for more details
public final boolean isAlignmentSetted()
true if the attribute "alignment" is set.
true if the attribute is set.public void setAlignment(String alignment)
IAlignmentCapability
setAlignment in interface IAlignmentCapabilityalignment - right|left|centerprotected 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 | |||||||||