public abstract class FlipSwitchBase extends javax.faces.component.UISelectBoolean implements IFlipSwitch, org.icefaces.ace.api.IceClientBehaviorHolder
| Modifier and Type | Class and Description |
|---|---|
protected static class |
FlipSwitchBase.PropertyKeys |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COMPONENT_TYPE |
static java.lang.String |
RENDERER_TYPE |
| Constructor and Description |
|---|
FlipSwitchBase() |
| Modifier and Type | Method and Description |
|---|---|
void |
addClientBehavior(java.lang.String eventName,
javax.faces.component.behavior.ClientBehavior behavior) |
java.lang.String |
getDefaultEventName() |
java.lang.String |
getDefaultExecute(java.lang.String event) |
java.lang.String |
getDefaultRender(java.lang.String event) |
java.util.Collection<java.lang.String> |
getEventNames() |
java.lang.String |
getFamily() |
java.lang.String |
getLabelOff()
Return the value of the
labelOff property. |
java.lang.String |
getLabelOn()
Return the value of the
labelOn property. |
java.lang.String |
getListenerArgument(java.lang.String event) |
java.lang.String |
getStyle()
Return the value of the
style property. |
int |
getTabindex()
Return the value of the
tabindex property. |
boolean |
isDisabled()
Return the value of the
disabled property. |
boolean |
isOfflineDisabled()
Return the value of the
offlineDisabled property. |
protected boolean |
isPropertySet(java.lang.String finder) |
boolean |
isReadonly()
Return the value of the
readonly property. |
void |
setDisabled(boolean disabled)
Set the value of the
disabled property. |
void |
setLabelOff(java.lang.String labelOff)
Set the value of the
labelOff property. |
void |
setLabelOn(java.lang.String labelOn)
Set the value of the
labelOn property. |
void |
setOfflineDisabled(boolean offlineDisabled)
Set the value of the
offlineDisabled property. |
void |
setReadonly(boolean readonly)
Set the value of the
readonly property. |
void |
setStyle(java.lang.String style)
Set the value of the
style property. |
void |
setTabindex(int tabindex)
Set the value of the
tabindex property. |
void |
setValueExpression(java.lang.String name,
javax.el.ValueExpression binding) |
getValueBinding, getValueExpression, isSelected, setSelected, setValueBindingaddValidator, addValueChangeListener, clearInitialState, compareValues, decode, getConvertedValue, getConverterMessage, getRequiredMessage, getSubmittedValue, getValidator, getValidatorMessage, getValidators, getValue, getValueChangeListener, getValueChangeListeners, isEmpty, isImmediate, isLocalValueSet, isRequired, isValid, markInitialState, processDecodes, processUpdates, processValidators, removeValidator, removeValueChangeListener, resetValue, restoreState, saveState, setConverterMessage, setImmediate, setLocalValueSet, setRequired, setRequiredMessage, setSubmittedValue, setValid, setValidator, setValidatorMessage, setValue, setValueChangeListener, updateModel, validate, validateValuegetConverter, getLocalValue, setConverteraddFacesListener, broadcast, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, invokeOnComponent, isRendered, isTransient, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, subscribeToEvent, unsubscribeFromEventencodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, visitTreeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static final java.lang.String COMPONENT_TYPE
public static final java.lang.String RENDERER_TYPE
public java.lang.String getFamily()
getFamily in class javax.faces.component.UISelectBooleanpublic void setDisabled(boolean disabled)
Set the value of the disabled property.
Contents: Disables this component, so it does not receive focus or get submitted.
setDisabled in interface IFlipSwitchpublic boolean isDisabled()
Return the value of the disabled property.
Contents: Disables this component, so it does not receive focus or get submitted.
isDisabled in interface IFlipSwitchpublic void setLabelOff(java.lang.String labelOff)
Set the value of the labelOff property.
Contents: The label for the switch when "false".
setLabelOff in interface IFlipSwitchpublic java.lang.String getLabelOff()
Return the value of the labelOff property.
Contents: The label for the switch when "false". Default = 'OFF'.
getLabelOff in interface IFlipSwitchpublic void setLabelOn(java.lang.String labelOn)
Set the value of the labelOn property.
Contents: The label for the switch when "true".
setLabelOn in interface IFlipSwitchpublic java.lang.String getLabelOn()
Return the value of the labelOn property.
Contents: The label for the switch when "true". Default = 'ON'.
getLabelOn in interface IFlipSwitchpublic void setOfflineDisabled(boolean offlineDisabled)
Set the value of the offlineDisabled property.
Contents: Disables this component when browser is offline.
setOfflineDisabled in interface IFlipSwitchpublic boolean isOfflineDisabled()
Return the value of the offlineDisabled property.
Contents: Disables this component when browser is offline. Default = 'false'.
isOfflineDisabled in interface IFlipSwitchpublic void setReadonly(boolean readonly)
Set the value of the readonly property.
Contents: Sets this component to read only, so value cannot be changed.
setReadonly in interface IFlipSwitchpublic boolean isReadonly()
Return the value of the readonly property.
Contents: Sets this component to read only, so value cannot be changed.
isReadonly in interface IFlipSwitchpublic void setStyle(java.lang.String style)
Set the value of the style property.
Contents: Sets the CSS style definition to be applied to this component.
setStyle in interface IFlipSwitchpublic java.lang.String getStyle()
Return the value of the style property.
Contents: Sets the CSS style definition to be applied to this component.
getStyle in interface IFlipSwitchpublic void setTabindex(int tabindex)
Set the value of the tabindex property.
Contents: The tabindex of this component.
setTabindex in interface IFlipSwitchpublic int getTabindex()
Return the value of the tabindex property.
Contents: The tabindex of this component. Default = 'Integer.MIN_VALUE'.
getTabindex in interface IFlipSwitchprotected boolean isPropertySet(java.lang.String finder)
public void setValueExpression(java.lang.String name,
javax.el.ValueExpression binding)
setValueExpression in class javax.faces.component.UISelectBooleanpublic java.util.Collection<java.lang.String> getEventNames()
getEventNames in interface javax.faces.component.behavior.ClientBehaviorHoldergetEventNames in class javax.faces.component.UIComponentBasepublic java.lang.String getDefaultEventName()
getDefaultEventName in interface javax.faces.component.behavior.ClientBehaviorHoldergetDefaultEventName in class javax.faces.component.UIComponentBasepublic java.lang.String getDefaultRender(java.lang.String event)
getDefaultRender in interface org.icefaces.ace.api.IceClientBehaviorHolderpublic java.lang.String getDefaultExecute(java.lang.String event)
getDefaultExecute in interface org.icefaces.ace.api.IceClientBehaviorHolderpublic java.lang.String getListenerArgument(java.lang.String event)
getListenerArgument in interface org.icefaces.ace.api.IceClientBehaviorHolderpublic void addClientBehavior(java.lang.String eventName,
javax.faces.component.behavior.ClientBehavior behavior)
addClientBehavior in interface javax.faces.component.behavior.ClientBehaviorHolderaddClientBehavior in class javax.faces.component.UIComponentBaseCopyright 2018 ICEsoft Technologies Canada Corp., All Rights Reserved.