|
||||||||||
| 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.AbstractBasicComponent
org.rcfaces.core.component.ToolBarComponent
public class ToolBarComponent
The toolBar component allows developers to easily add toolbars containing diffenrent components
The toolBar Component has the following capabilities :
The default toolBar renderer is linked to the f_toolBar javascript class. f_toolBar extends f_component
Table of component style classes:
| Style Name | Description |
|---|---|
| f_toolBar | Defines styles for the wrapper DIV 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.IBorderTypeCapability |
|---|
NONE_BORDER_TYPE_NAME |
| 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 | |
|---|---|
ToolBarComponent()
|
|
ToolBarComponent(String componentId)
|
|
| Method Summary | |
|---|---|
void |
addInitListener(IInitListener listener)
Adds a listener to the component for the init event |
String |
getBorderType()
Returns a string that indicates the type of border the component should show. |
String |
getBorderType(FacesContext facesContext)
See getBorderType() for more details |
protected Set |
getCameliaFields()
|
String |
getControlAlternateText()
|
String |
getControlAlternateText(FacesContext facesContext)
|
int |
getControlImageHeight()
|
int |
getControlImageHeight(FacesContext facesContext)
|
String |
getControlImageURL()
|
String |
getControlImageURL(FacesContext facesContext)
|
int |
getControlImageWidth()
|
int |
getControlImageWidth(FacesContext facesContext)
|
IContentAccessors |
getImageAccessors(FacesContext facesContext)
|
int |
getItemPadding()
|
int |
getItemPadding(FacesContext facesContext)
|
String |
getSeparatorAlternateText()
|
String |
getSeparatorAlternateText(FacesContext facesContext)
|
int |
getSeparatorImageHeight()
|
int |
getSeparatorImageHeight(FacesContext facesContext)
|
String |
getSeparatorImageURL()
|
String |
getSeparatorImageURL(FacesContext facesContext)
|
int |
getSeparatorImageWidth()
|
int |
getSeparatorImageWidth(FacesContext facesContext)
|
String |
getVerticalAlignment()
Returns vertical alignment. |
String |
getVerticalAlignment(FacesContext facesContext)
See getVerticalAlignment() for more details |
boolean |
isBorderTypeSetted()
Returns true if the attribute "borderType" is set. |
boolean |
isControlAlternateTextSetted()
Returns true if the attribute "controlAlternateText" is set. |
boolean |
isControlImageHeightSetted()
Returns true if the attribute "controlImageHeight" is set. |
boolean |
isControlImageURLSetted()
Returns true if the attribute "controlImageURL" is set. |
boolean |
isControlImageWidthSetted()
Returns true if the attribute "controlImageWidth" is set. |
boolean |
isItemPaddingSetted()
Returns true if the attribute "itemPadding" is set. |
boolean |
isLocked()
|
boolean |
isLocked(FacesContext facesContext)
|
boolean |
isLockedSetted()
Returns true if the attribute "locked" is set. |
boolean |
isSeparatorAlternateTextSetted()
Returns true if the attribute "separatorAlternateText" is set. |
boolean |
isSeparatorImageHeightSetted()
Returns true if the attribute "separatorImageHeight" is set. |
boolean |
isSeparatorImageURLSetted()
Returns true if the attribute "separatorImageURL" is set. |
boolean |
isSeparatorImageWidthSetted()
Returns true if the attribute "separatorImageWidth" is set. |
boolean |
isVerticalAlignmentSetted()
Returns true if the attribute "verticalAlignment" is set. |
FacesListener[] |
listInitListeners()
Returns a list of init listener for the component |
IToolFolderIterator |
listToolFolders()
|
void |
removeInitListener(IInitListener listener)
Removes a listener from the component for the init event |
void |
setBorderType(String borderType)
Sets a string that indicates the type of border the component should show. |
void |
setControlAlternateText(String controlAlternateText)
|
void |
setControlImageHeight(int controlImageHeight)
|
void |
setControlImageURL(String controlImageURL)
|
void |
setControlImageWidth(int controlImageWidth)
|
void |
setItemPadding(int itemPadding)
|
void |
setLocked(boolean locked)
|
void |
setSeparatorAlternateText(String separatorAlternateText)
|
void |
setSeparatorImageHeight(int separatorImageHeight)
|
void |
setSeparatorImageURL(String separatorImageURL)
|
void |
setSeparatorImageWidth(int separatorImageWidth)
|
void |
setVerticalAlignment(String verticalAlignment)
Specifies vertical alignment. |
| 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 ToolBarComponent()
public ToolBarComponent(String componentId)
| Method Detail |
|---|
public IContentAccessors getImageAccessors(FacesContext facesContext)
getImageAccessors in interface org.rcfaces.core.internal.capability.IImageAccessorsCapabilitypublic IToolFolderIterator listToolFolders()
public final void addInitListener(IInitListener listener)
IInitEventCapability
addInitListener in interface IInitEventCapabilitylistener - the init listener to addpublic final void removeInitListener(IInitListener listener)
IInitEventCapability
removeInitListener in interface IInitEventCapabilitylistener - the init listener to removepublic final FacesListener[] listInitListeners()
IInitEventCapability
listInitListeners in interface IInitEventCapabilitypublic String getVerticalAlignment()
IVerticalAlignmentCapability
getVerticalAlignment in interface IVerticalAlignmentCapabilitypublic String getVerticalAlignment(FacesContext facesContext)
getVerticalAlignment() for more details
public final boolean isVerticalAlignmentSetted()
true if the attribute "verticalAlignment" is set.
true if the attribute is set.public void setVerticalAlignment(String verticalAlignment)
IVerticalAlignmentCapability
setVerticalAlignment in interface IVerticalAlignmentCapabilityverticalAlignment - vertical alignmentpublic String getBorderType()
IBorderTypeCapability
getBorderType in interface IBorderTypeCapabilitypublic String getBorderType(FacesContext facesContext)
getBorderType() for more details
public final boolean isBorderTypeSetted()
true if the attribute "borderType" is set.
true if the attribute is set.public void setBorderType(String borderType)
IBorderTypeCapability
setBorderType in interface IBorderTypeCapabilityborderType - none|solid|relief|flat|roundedpublic String getSeparatorImageURL()
public String getSeparatorImageURL(FacesContext facesContext)
public void setSeparatorImageURL(String separatorImageURL)
public boolean isSeparatorImageURLSetted()
true if the attribute "separatorImageURL" is set.
true if the attribute is set.public int getSeparatorImageWidth()
public int getSeparatorImageWidth(FacesContext facesContext)
public void setSeparatorImageWidth(int separatorImageWidth)
public boolean isSeparatorImageWidthSetted()
true if the attribute "separatorImageWidth" is set.
true if the attribute is set.public int getSeparatorImageHeight()
public int getSeparatorImageHeight(FacesContext facesContext)
public void setSeparatorImageHeight(int separatorImageHeight)
public boolean isSeparatorImageHeightSetted()
true if the attribute "separatorImageHeight" is set.
true if the attribute is set.public String getSeparatorAlternateText()
public String getSeparatorAlternateText(FacesContext facesContext)
public void setSeparatorAlternateText(String separatorAlternateText)
public boolean isSeparatorAlternateTextSetted()
true if the attribute "separatorAlternateText" is set.
true if the attribute is set.public String getControlImageURL()
public String getControlImageURL(FacesContext facesContext)
public void setControlImageURL(String controlImageURL)
public boolean isControlImageURLSetted()
true if the attribute "controlImageURL" is set.
true if the attribute is set.public int getControlImageWidth()
public int getControlImageWidth(FacesContext facesContext)
public void setControlImageWidth(int controlImageWidth)
public boolean isControlImageWidthSetted()
true if the attribute "controlImageWidth" is set.
true if the attribute is set.public int getControlImageHeight()
public int getControlImageHeight(FacesContext facesContext)
public void setControlImageHeight(int controlImageHeight)
public boolean isControlImageHeightSetted()
true if the attribute "controlImageHeight" is set.
true if the attribute is set.public String getControlAlternateText()
public String getControlAlternateText(FacesContext facesContext)
public void setControlAlternateText(String controlAlternateText)
public boolean isControlAlternateTextSetted()
true if the attribute "controlAlternateText" is set.
true if the attribute is set.public int getItemPadding()
public int getItemPadding(FacesContext facesContext)
public void setItemPadding(int itemPadding)
public boolean isItemPaddingSetted()
true if the attribute "itemPadding" is set.
true if the attribute is set.public boolean isLocked()
public boolean isLocked(FacesContext facesContext)
public void setLocked(boolean locked)
public boolean isLockedSetted()
true if the attribute "locked" is set.
true if the attribute is set.protected Set getCameliaFields()
getCameliaFields in class AbstractBasicComponent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||