public abstract class PanelBase extends javax.faces.component.UIPanel implements IPanel, IceClientBehaviorHolder
For more information, see the Panel Wiki Documentation.
| Modifier and Type | Class and Description |
|---|---|
protected static class |
PanelBase.PropertyKeys |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COMPONENT_TYPE |
static java.lang.String |
RENDERER_TYPE |
| Constructor and Description |
|---|
PanelBase() |
| Modifier and Type | Method and Description |
|---|---|
void |
addClientBehavior(java.lang.String eventName,
javax.faces.component.behavior.ClientBehavior behavior) |
int |
getCloseSpeed()
Return the value of the
closeSpeed property. |
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 |
getFooter()
Return the value of the
footer property. |
java.lang.String |
getHeader()
Return the value of the
header property. |
java.lang.String |
getHeaderAlign()
Return the value of the
headerAlign property. |
java.lang.String |
getListenerArgument(java.lang.String event) |
java.lang.String |
getStyle()
Return the value of the
style property. |
java.lang.String |
getStyleClass()
Return the value of the
styleClass property. |
int |
getToggleSpeed()
Return the value of the
toggleSpeed property. |
boolean |
isClosable()
Return the value of the
closable property. |
boolean |
isCollapsed()
Return the value of the
collapsed property. |
boolean |
isDisableInputs()
Return the value of the
disableInputs property. |
java.lang.Boolean |
isPreviousDisableInputs()
Return the value of the
previousDisableInputs property. |
protected boolean |
isPropertySet(java.lang.String finder) |
boolean |
isToggleable()
Return the value of the
toggleable property. |
boolean |
isVisible()
Return the value of the
visible property. |
void |
setClosable(boolean closable)
Set the value of the
closable property. |
void |
setCloseSpeed(int closeSpeed)
Set the value of the
closeSpeed property. |
void |
setCollapsed(boolean collapsed)
Set the value of the
collapsed property. |
void |
setDisableInputs(boolean disableInputs)
Set the value of the
disableInputs property. |
void |
setFooter(java.lang.String footer)
Set the value of the
footer property. |
void |
setHeader(java.lang.String header)
Set the value of the
header property. |
void |
setHeaderAlign(java.lang.String headerAlign)
Set the value of the
headerAlign property. |
void |
setPreviousDisableInputs(java.lang.Boolean previousDisableInputs)
Set the value of the
previousDisableInputs property. |
void |
setStyle(java.lang.String style)
Set the value of the
style property. |
void |
setStyleClass(java.lang.String styleClass)
Set the value of the
styleClass property. |
void |
setToggleable(boolean toggleable)
Set the value of the
toggleable property. |
void |
setToggleSpeed(int toggleSpeed)
Set the value of the
toggleSpeed property. |
void |
setValueExpression(java.lang.String name,
javax.el.ValueExpression binding) |
void |
setVisible(boolean visible)
Set the value of the
visible property. |
addFacesListener, broadcast, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEventencodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, visitTreepublic 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.UIPanelpublic void setClosable(boolean closable)
Set the value of the closable property.
Contents: Boolean value that specifies whether the panel has a close button.
setClosable in interface IPanelpublic boolean isClosable()
Return the value of the closable property.
Contents: Boolean value that specifies whether the panel has a close button. Default = 'false'.
isClosable in interface IPanelpublic void setCloseSpeed(int closeSpeed)
Set the value of the closeSpeed property.
Contents: Integer value that specifies the duration of the closing animation.
setCloseSpeed in interface IPanelpublic int getCloseSpeed()
Return the value of the closeSpeed property.
Contents: Integer value that specifies the duration of the closing animation. Default = '1000'.
getCloseSpeed in interface IPanelpublic void setCollapsed(boolean collapsed)
Set the value of the collapsed property.
Contents: Boolean value that specifies whether the panel is collapsed.
setCollapsed in interface IPanelpublic boolean isCollapsed()
Return the value of the collapsed property.
Contents: Boolean value that specifies whether the panel is collapsed. Default = 'false'.
isCollapsed in interface IPanelpublic void setDisableInputs(boolean disableInputs)
Set the value of the disableInputs property.
Contents: Boolean value that specifies whether all input elements inside this panel should be disabled or not. This doesn't affect the children components' internal state; this simply disables all input elements in the client side, in order to avoid submitting their values in requests to the server. (Note: some components might not look different to the user when disabled via this option, but their values will not be submitted to the server nonetheless.)
setDisableInputs in interface IPanelpublic boolean isDisableInputs()
Return the value of the disableInputs property.
Contents: Boolean value that specifies whether all input elements inside this panel should be disabled or not. This doesn't affect the children components' internal state; this simply disables all input elements in the client side, in order to avoid submitting their values in requests to the server. (Note: some components might not look different to the user when disabled via this option, but their values will not be submitted to the server nonetheless.) Default = 'false'.
isDisableInputs in interface IPanelpublic void setFooter(java.lang.String footer)
Set the value of the footer property.
Contents: Footer text of the panel.
public java.lang.String getFooter()
Return the value of the footer property.
Contents: Footer text of the panel.
public void setHeader(java.lang.String header)
Set the value of the header property.
Contents: Header text of the panel.
public java.lang.String getHeader()
Return the value of the header property.
Contents: Header text of the panel.
public void setHeaderAlign(java.lang.String headerAlign)
Set the value of the headerAlign property.
Contents: Specifies how the header text should be aligned (when specified via the "header" attribute). The possible values are "left", "center", and "right".
setHeaderAlign in interface IPanelpublic java.lang.String getHeaderAlign()
Return the value of the headerAlign property.
Contents: Specifies how the header text should be aligned (when specified via the "header" attribute). The possible values are "left", "center", and "right". Default = 'left'.
getHeaderAlign in interface IPanelpublic void setStyle(java.lang.String style)
Set the value of the style property.
Contents: Style to apply to the container element.
public java.lang.String getStyle()
Return the value of the style property.
Contents: Style to apply to the container element.
public void setStyleClass(java.lang.String styleClass)
Set the value of the styleClass property.
Contents: Style class to apply to the container element.
setStyleClass in interface IPanelpublic java.lang.String getStyleClass()
Return the value of the styleClass property.
Contents: Style class to apply to the container element.
getStyleClass in interface IPanelpublic void setToggleSpeed(int toggleSpeed)
Set the value of the toggleSpeed property.
Contents: Integer value that specifies the duration of the transition between states.
setToggleSpeed in interface IPanelpublic int getToggleSpeed()
Return the value of the toggleSpeed property.
Contents: Integer value that specifies the duration of the transition between states. Default = '1000'.
getToggleSpeed in interface IPanelpublic void setToggleable(boolean toggleable)
Set the value of the toggleable property.
Contents: Boolean value that specifies whether to display a button to toggle between the expanded and collapsed states of the panel.
setToggleable in interface IPanelpublic boolean isToggleable()
Return the value of the toggleable property.
Contents: Boolean value that specifies whether to display a button to toggle between the expanded and collapsed states of the panel. Default = 'false'.
isToggleable in interface IPanelpublic void setVisible(boolean visible)
Set the value of the visible property.
Contents: Boolean value that specifies whether the panel is visible.
setVisible in interface IPanelpublic boolean isVisible()
Return the value of the visible property.
Contents: Boolean value that specifies whether the panel is visible. Default = 'true'.
public void setPreviousDisableInputs(java.lang.Boolean previousDisableInputs)
Set the value of the previousDisableInputs property.
setPreviousDisableInputs in interface IPanelpublic java.lang.Boolean isPreviousDisableInputs()
Return the value of the previousDisableInputs property.
isPreviousDisableInputs in interface IPanelprotected boolean isPropertySet(java.lang.String finder)
public void setValueExpression(java.lang.String name,
javax.el.ValueExpression binding)
setValueExpression in class javax.faces.component.UIComponentpublic 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 IceClientBehaviorHolderpublic java.lang.String getDefaultExecute(java.lang.String event)
getDefaultExecute in interface IceClientBehaviorHolderpublic java.lang.String getListenerArgument(java.lang.String event)
getListenerArgument in interface 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 2017 ICEsoft Technologies Canada Corp., All Rights Reserved.