public abstract class DrawerPanelBase extends javax.faces.component.UIPanel implements IDrawerPanel, IceClientBehaviorHolder
For more information, see the DrawerPanel Wiki Documentation.
| Modifier and Type | Class and Description |
|---|---|
protected static class |
DrawerPanelBase.PropertyKeys |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COMPONENT_TYPE |
static java.lang.String |
RENDERER_TYPE |
| Constructor and Description |
|---|
DrawerPanelBase() |
| Modifier and Type | Method and Description |
|---|---|
void |
addClientBehavior(java.lang.String eventName,
javax.faces.component.behavior.ClientBehavior behavior) |
java.lang.String |
getContainer()
Return the value of the
container property. |
java.lang.String |
getDefaultEventName() |
java.lang.String |
getDefaultExecute(java.lang.String event) |
java.lang.String |
getDefaultRender(java.lang.String event) |
java.lang.String |
getEffect()
Return the value of the
effect property. |
java.util.Collection<java.lang.String> |
getEventNames() |
java.lang.String |
getFamily() |
java.lang.String |
getHeader()
Return the value of the
header property. |
int |
getHeight()
Return the value of the
height property. |
java.lang.String |
getListenerArgument(java.lang.String event) |
java.lang.String |
getOnClose()
Return the value of the
onClose property. |
java.lang.String |
getOnOpen()
Return the value of the
onOpen property. |
java.lang.String |
getPosition()
Return the value of the
position property. |
java.lang.String |
getSetFocus()
Return the value of the
setFocus property. |
java.lang.String |
getStyle()
Return the value of the
style property. |
java.lang.String |
getStyleClass()
Return the value of the
styleClass property. |
int |
getWidth()
Return the value of the
width property. |
int |
getZindex()
Return the value of the
zindex property. |
boolean |
isCloseOnEscape()
Return the value of the
closeOnEscape property. |
boolean |
isCloseOnOutsideClick()
Return the value of the
closeOnOutsideClick property. |
boolean |
isModal()
Return the value of the
modal property. |
protected boolean |
isPropertySet(java.lang.String finder) |
boolean |
isShowHandleClose()
Return the value of the
showHandleClose property. |
boolean |
isShowHandleOpen()
Return the value of the
showHandleOpen property. |
boolean |
isShowHeader()
Return the value of the
showHeader property. |
boolean |
isVisible()
Return the value of the
visible property. |
void |
setCloseOnEscape(boolean closeOnEscape)
Set the value of the
closeOnEscape property. |
void |
setCloseOnOutsideClick(boolean closeOnOutsideClick)
Set the value of the
closeOnOutsideClick property. |
void |
setContainer(java.lang.String container)
Set the value of the
container property. |
void |
setEffect(java.lang.String effect)
Set the value of the
effect property. |
void |
setHeader(java.lang.String header)
Set the value of the
header property. |
void |
setHeight(int height)
Set the value of the
height property. |
void |
setModal(boolean modal)
Set the value of the
modal property. |
void |
setOnClose(java.lang.String onClose)
Set the value of the
onClose property. |
void |
setOnOpen(java.lang.String onOpen)
Set the value of the
onOpen property. |
void |
setPosition(java.lang.String position)
Set the value of the
position property. |
void |
setSetFocus(java.lang.String setFocus)
Set the value of the
setFocus property. |
void |
setShowHandleClose(boolean showHandleClose)
Set the value of the
showHandleClose property. |
void |
setShowHandleOpen(boolean showHandleOpen)
Set the value of the
showHandleOpen property. |
void |
setShowHeader(boolean showHeader)
Set the value of the
showHeader 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 |
setValueExpression(java.lang.String name,
javax.el.ValueExpression binding) |
void |
setVisible(boolean visible)
Set the value of the
visible property. |
void |
setWidth(int width)
Set the value of the
width property. |
void |
setZindex(int zindex)
Set the value of the
zindex property. |
addFacesListener, broadcast, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, 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, 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 setCloseOnEscape(boolean closeOnEscape)
Set the value of the closeOnEscape property.
Contents: Boolean value that specifies whether the drawer should be closed when it has focus and the user presses the escape (ESC) key.
setCloseOnEscape in interface IDrawerPanelpublic boolean isCloseOnEscape()
Return the value of the closeOnEscape property.
Contents: Boolean value that specifies whether the drawer should be closed when it has focus and the user presses the escape (ESC) key. Default = 'true'.
isCloseOnEscape in interface IDrawerPanelpublic void setCloseOnOutsideClick(boolean closeOnOutsideClick)
Set the value of the closeOnOutsideClick property.
Contents: Boolean value that specifies whether the drawer should be closed when the user clicks (or touches) any part of the page outside the drawer.
setCloseOnOutsideClick in interface IDrawerPanelpublic boolean isCloseOnOutsideClick()
Return the value of the closeOnOutsideClick property.
Contents: Boolean value that specifies whether the drawer should be closed when the user clicks (or touches) any part of the page outside the drawer. Default = 'true'.
isCloseOnOutsideClick in interface IDrawerPanelpublic void setContainer(java.lang.String container)
Set the value of the container property.
Contents: Specify the container whose edges the drawer will appear from. The default mode is the entire window, but it's possible to specify a client id of an element on the page to have the drawer.
setContainer in interface IDrawerPanelpublic java.lang.String getContainer()
Return the value of the container property.
Contents: Specify the container whose edges the drawer will appear from. The default mode is the entire window, but it's possible to specify a client id of an element on the page to have the drawer. Default = 'window'.
getContainer in interface IDrawerPanelpublic void setEffect(java.lang.String effect)
Set the value of the effect property.
Contents: Effect to use when opening and closing the drawer. Possible values are 'drop', 'fade', and 'slide'. The default effect is 'slide'.
setEffect in interface IDrawerPanelpublic java.lang.String getEffect()
Return the value of the effect property.
Contents: Effect to use when opening and closing the drawer. Possible values are 'drop', 'fade', and 'slide'. The default effect is 'slide'. Default = 'slide'.
getEffect in interface IDrawerPanelpublic void setHeader(java.lang.String header)
Set the value of the header property.
Contents: Text that will appear in the header of the drawer.
setHeader in interface IDrawerPanelpublic java.lang.String getHeader()
Return the value of the header property.
Contents: Text that will appear in the header of the drawer.
getHeader in interface IDrawerPanelpublic void setHeight(int height)
Set the value of the height property.
Contents: Height of the element in pixels. Default (not specified or value <= 0) is auto. If auto, IE7 may not size or position properly. This attribute only applies if the 'position' is 'top' or 'bottom'.
setHeight in interface IDrawerPanelpublic int getHeight()
Return the value of the height property.
Contents: Height of the element in pixels. Default (not specified or value <= 0) is auto. If auto, IE7 may not size or position properly. This attribute only applies if the 'position' is 'top' or 'bottom'. Default = 'Integer.MIN_VALUE'.
getHeight in interface IDrawerPanelpublic void setModal(boolean modal)
Set the value of the modal property.
Contents: Boolean value that specifies whether the document should be shielded with a partially transparent mask to require the user to close the panel before being able to activate any elements in the document.
setModal in interface IDrawerPanelpublic boolean isModal()
Return the value of the modal property.
Contents: Boolean value that specifies whether the document should be shielded with a partially transparent mask to require the user to close the panel before being able to activate any elements in the document. Default = 'false'.
isModal in interface IDrawerPanelpublic void setOnClose(java.lang.String onClose)
Set the value of the onClose property.
Contents: Javascript code to be executed when closing the drawer.
setOnClose in interface IDrawerPanelpublic java.lang.String getOnClose()
Return the value of the onClose property.
Contents: Javascript code to be executed when closing the drawer.
getOnClose in interface IDrawerPanelpublic void setOnOpen(java.lang.String onOpen)
Set the value of the onOpen property.
Contents: Javascript code to be executed when opening the drawer.
setOnOpen in interface IDrawerPanelpublic java.lang.String getOnOpen()
Return the value of the onOpen property.
Contents: Javascript code to be executed when opening the drawer.
getOnOpen in interface IDrawerPanelpublic void setPosition(java.lang.String position)
Set the value of the position property.
Contents: Specifies the side on which the drawer should be displayed. Possible values are 'left', 'right', 'top', 'bottom'
setPosition in interface IDrawerPanelpublic java.lang.String getPosition()
Return the value of the position property.
Contents: Specifies the side on which the drawer should be displayed. Possible values are 'left', 'right', 'top', 'bottom' Default = 'left'.
getPosition in interface IDrawerPanelpublic void setSetFocus(java.lang.String setFocus)
Set the value of the setFocus property.
Contents: Specifies the ID of the component that should receive focus when the drawer is opened.
setSetFocus in interface IDrawerPanelpublic java.lang.String getSetFocus()
Return the value of the setFocus property.
Contents: Specifies the ID of the component that should receive focus when the drawer is opened.
getSetFocus in interface IDrawerPanelpublic void setShowHandleClose(boolean showHandleClose)
Set the value of the showHandleClose property.
Contents: Boolean value that specifies whether to display a three-horizontal-bars icon inside the drawer to close it. This handle will appear at the opper left corner of the drawer, inside the drawer's header.
setShowHandleClose in interface IDrawerPanelpublic boolean isShowHandleClose()
Return the value of the showHandleClose property.
Contents: Boolean value that specifies whether to display a three-horizontal-bars icon inside the drawer to close it. This handle will appear at the opper left corner of the drawer, inside the drawer's header. Default = 'true'.
isShowHandleClose in interface IDrawerPanelpublic void setShowHandleOpen(boolean showHandleOpen)
Set the value of the showHandleOpen property.
Contents: Boolean value that specifies whether to display a three-horizontal-bars icon to open the drawer. This handle will appear at the upper left corner of the viewport if the 'position' is 'left' or 'top', at the uper right corner of the viewport if the 'position' is 'right', and at the lower left corner of the viewport if the 'position' is 'bottom'. This handle will only be displayed if the 'container' is set to 'window'. If a handle is desired when applying the drawer to a specific container, it has to be done manually; please consult the wiki page for this component for guidelines and sample markup.
setShowHandleOpen in interface IDrawerPanelpublic boolean isShowHandleOpen()
Return the value of the showHandleOpen property.
Contents: Boolean value that specifies whether to display a three-horizontal-bars icon to open the drawer. This handle will appear at the upper left corner of the viewport if the 'position' is 'left' or 'top', at the uper right corner of the viewport if the 'position' is 'right', and at the lower left corner of the viewport if the 'position' is 'bottom'. This handle will only be displayed if the 'container' is set to 'window'. If a handle is desired when applying the drawer to a specific container, it has to be done manually; please consult the wiki page for this component for guidelines and sample markup. Default = 'true'.
isShowHandleOpen in interface IDrawerPanelpublic void setShowHeader(boolean showHeader)
Set the value of the showHeader property.
Contents: Boolean value that specifies whether the drawer should have a header (default true). If 'showHandleClose' is set to true, a header will be shown regardless of the value of this attribute.
setShowHeader in interface IDrawerPanelpublic boolean isShowHeader()
Return the value of the showHeader property.
Contents: Boolean value that specifies whether the drawer should have a header (default true). If 'showHandleClose' is set to true, a header will be shown regardless of the value of this attribute. Default = 'true'.
isShowHeader in interface IDrawerPanelpublic void setStyle(java.lang.String style)
Set the value of the style property.
Contents: Style to apply to the container element.
setStyle in interface IDrawerPanelpublic java.lang.String getStyle()
Return the value of the style property.
Contents: Style to apply to the container element.
getStyle in interface IDrawerPanelpublic void setStyleClass(java.lang.String styleClass)
Set the value of the styleClass property.
Contents: Style class of the main container of the drawer.
setStyleClass in interface IDrawerPanelpublic java.lang.String getStyleClass()
Return the value of the styleClass property.
Contents: Style class of the main container of the drawer.
getStyleClass in interface IDrawerPanelpublic void setVisible(boolean visible)
Set the value of the visible property.
Contents: This attribute can be used to toggle visibility on the server, rendered should not be used that way, setting rendered=false on a visible modal drawer will not remove the modality layer, visible=false must be set first (or client-side JS function called).
setVisible in interface IDrawerPanelpublic boolean isVisible()
Return the value of the visible property.
Contents: This attribute can be used to toggle visibility on the server, rendered should not be used that way, setting rendered=false on a visible modal drawer will not remove the modality layer, visible=false must be set first (or client-side JS function called). Default = 'false'.
isVisible in interface IDrawerPanelpublic void setWidth(int width)
Set the value of the width property.
Contents: Width of the element in pixels. Default (not specified or value <= 0) is auto. If auto, IE7 may not size or position properly. This attribute only applies when the 'position' is 'left' or 'right'.
setWidth in interface IDrawerPanelpublic int getWidth()
Return the value of the width property.
Contents: Width of the element in pixels. Default (not specified or value <= 0) is auto. If auto, IE7 may not size or position properly. This attribute only applies when the 'position' is 'left' or 'right'. Default = 'Integer.MIN_VALUE'.
getWidth in interface IDrawerPanelpublic void setZindex(int zindex)
Set the value of the zindex property.
Contents: z-index property to control overlapping with other elements.
setZindex in interface IDrawerPanelpublic int getZindex()
Return the value of the zindex property.
Contents: z-index property to control overlapping with other elements. Default = '1000'.
getZindex in interface IDrawerPanelprotected 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 2025 ICEsoft Technologies Canada, Corp. All Rights Reserved.