|
||||||||||
| 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
javax.faces.component.UICommand
org.rcfaces.core.internal.component.CameliaCommandComponent
org.rcfaces.core.component.AbstractCommandComponent
org.rcfaces.core.component.AbstractConverterCommandComponent
org.rcfaces.core.component.AbstractMenuComponent
public abstract class AbstractMenuComponent
Technical component, used as a basis for building new RCFaces components.
| Field Summary | |
|---|---|
protected static Set |
CAMELIA_ATTRIBUTES
|
| Fields inherited from class org.rcfaces.core.internal.component.CameliaCommandComponent |
|---|
engine |
| Fields inherited from class javax.faces.component.UICommand |
|---|
COMPONENT_FAMILY, COMPONENT_TYPE |
| 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 | |
|---|---|
AbstractMenuComponent()
|
|
| Method Summary | |
|---|---|
void |
addCheckListener(ICheckListener listener)
Adds a listener to the component for the checked event |
void |
addSelectionListener(ISelectionListener listener)
Adds a listener to the component for the selection event |
void |
check(Object value)
|
void |
checkAll()
|
protected Set |
getCameliaFields()
|
Object |
getCheckedValues()
|
Object |
getCheckedValues(FacesContext facesContext)
See getCheckedValues() for more details |
int |
getCheckedValuesCount()
|
Class |
getCheckedValuesType(FacesContext facesContext)
Return the type of the property represented by the ValueExpression, relative to the specified FacesContext. |
org.rcfaces.core.internal.tools.CollectionTools.IComponentValueType |
getComponentValueType()
|
Object |
getFirstCheckedValue()
|
boolean |
isCheckedValuesSetted()
Returns true if the attribute "checkedValues" is set. |
boolean |
isReadOnly()
Returns a boolean value indicating that this component will prohibit changes by the user. |
boolean |
isReadOnly(FacesContext facesContext)
See isReadOnly() for more details |
boolean |
isReadOnlySetted()
Returns true if the attribute "readOnly" is set. |
boolean |
isRemoveAllWhenShown()
Returns a boolean value specifying wether the content of the component must be remove before the listener is called and the component displayed. |
boolean |
isRemoveAllWhenShown(FacesContext facesContext)
Returns a boolean value specifying wether the content of the component must be remove before the listener is called and the component displayed. |
boolean |
isRemoveAllWhenShownSetted()
Returns true if the attribute "removeAllWhenShown" is set. |
Object[] |
listCheckedValues()
|
FacesListener[] |
listCheckListeners()
Returns the list of check listener for the component |
IMenuItemIterator |
listMenuItems()
|
FacesListener[] |
listSelectionListeners()
Returns a list of selection listener for the component |
void |
removeCheckListener(ICheckListener listener)
Removes a listener from the list of listeners |
void |
removeSelectionListener(ISelectionListener listener)
Removes a listener from the component for the selection event |
void |
setCheckedValues(Object checkedValues)
|
void |
setReadOnly(boolean readOnly)
Sets a boolean value indicating that this component will prohibit changes by the user. |
void |
setRemoveAllWhenShown(boolean removeAllWhenShown)
Sets a boolean value specifying wether the content of the component must be remove before the listener is called and the component displayed. |
void |
uncheck(Object value)
|
void |
uncheckAll()
|
| Methods inherited from class org.rcfaces.core.component.AbstractConverterCommandComponent |
|---|
getConverter, getConverter, getLocalValue, setConverter, setConverter, setConverter |
| Methods inherited from class org.rcfaces.core.internal.component.CameliaCommandComponent |
|---|
broadcast, 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.UICommand |
|---|
addActionListener, getAction, getActionExpression, getActionListener, getActionListeners, getValue, isImmediate, removeActionListener, setAction, setActionExpression, setActionListener, setImmediate, setValue |
| Methods inherited from class javax.faces.component.UIComponentBase |
|---|
addFacesListener, 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.component.capability.IUnlockedClientAttributesCapability |
|---|
getUnlockedClientAttributeNames, setUnlockedClientAttributeNames |
| Methods inherited from interface javax.faces.component.ValueHolder |
|---|
getValue, setValue |
| Methods inherited from interface org.rcfaces.core.component.capability.IImmediateCapability |
|---|
isImmediate, setImmediate |
| Methods inherited from interface org.rcfaces.core.internal.manager.IContainerManager |
|---|
getChildCount |
| Field Detail |
|---|
protected static final Set CAMELIA_ATTRIBUTES
| Constructor Detail |
|---|
public AbstractMenuComponent()
| Method Detail |
|---|
public org.rcfaces.core.internal.tools.CollectionTools.IComponentValueType getComponentValueType()
getComponentValueType in interface org.rcfaces.core.internal.tools.CollectionTools.IComponentValueTypeCapabilitypublic void check(Object value)
check in interface org.rcfaces.core.internal.capability.ICheckComponentpublic void checkAll()
checkAll in interface org.rcfaces.core.internal.capability.ICheckComponentpublic void uncheck(Object value)
uncheck in interface org.rcfaces.core.internal.capability.ICheckComponentpublic void uncheckAll()
uncheckAll in interface org.rcfaces.core.internal.capability.ICheckComponentpublic IMenuItemIterator listMenuItems()
listMenuItems in interface IMenuComponentpublic final void addSelectionListener(ISelectionListener listener)
ISelectionEventCapability
addSelectionListener in interface ISelectionEventCapabilitylistener - the selection listener to addpublic final void removeSelectionListener(ISelectionListener listener)
ISelectionEventCapability
removeSelectionListener in interface ISelectionEventCapabilitylistener - the selection listener to removepublic final FacesListener[] listSelectionListeners()
ISelectionEventCapability
listSelectionListeners in interface ISelectionEventCapabilitypublic final void addCheckListener(ICheckListener listener)
ICheckEventCapability
addCheckListener in interface ICheckEventCapabilitylistener - the listener to addpublic final void removeCheckListener(ICheckListener listener)
ICheckEventCapability
removeCheckListener in interface ICheckEventCapabilitylistener - the listener to removepublic final FacesListener[] listCheckListeners()
ICheckEventCapability
listCheckListeners in interface ICheckEventCapabilitypublic Object getCheckedValues()
getCheckedValues in interface ICheckProviderpublic Object getCheckedValues(FacesContext facesContext)
getCheckedValues() for more details
public final boolean isCheckedValuesSetted()
true if the attribute "checkedValues" is set.
true if the attribute is set.public void setCheckedValues(Object checkedValues)
setCheckedValues in interface ICheckProviderpublic Class getCheckedValuesType(FacesContext facesContext)
ValueExpression, relative to the specified FacesContext.
getCheckedValuesType in interface ICheckedValuesCapabilitypublic Object getFirstCheckedValue()
getFirstCheckedValue in interface ICheckProviderpublic int getCheckedValuesCount()
getCheckedValuesCount in interface ICheckProviderpublic Object[] listCheckedValues()
listCheckedValues in interface ICheckProviderpublic boolean isReadOnly()
IReadOnlyCapability
isReadOnly in interface IReadOnlyCapabilitypublic boolean isReadOnly(FacesContext facesContext)
isReadOnly() for more details
public final boolean isReadOnlySetted()
true if the attribute "readOnly" is set.
true if the attribute is set.public void setReadOnly(boolean readOnly)
IReadOnlyCapability
setReadOnly in interface IReadOnlyCapabilityreadOnly - readOnly boolean propertypublic boolean isRemoveAllWhenShown()
isRemoveAllWhenShown in interface IMenuComponentpublic boolean isRemoveAllWhenShown(FacesContext facesContext)
public void setRemoveAllWhenShown(boolean removeAllWhenShown)
setRemoveAllWhenShown in interface IMenuComponentremoveAllWhenShown - true if content is to be removed when shownpublic boolean isRemoveAllWhenShownSetted()
true if the attribute "removeAllWhenShown" is set.
true if the attribute is set.protected Set getCameliaFields()
getCameliaFields in class AbstractConverterCommandComponent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||