public abstract class SubmenuBase extends javax.faces.component.UIComponentBase implements ISubmenu
For more information, see the Submenu Wiki Documentation.
| Modifier and Type | Class and Description |
|---|---|
protected static class |
SubmenuBase.PropertyKeys |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COMPONENT_TYPE |
static java.lang.String |
RENDERER_TYPE |
| Constructor and Description |
|---|
SubmenuBase() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getFamily() |
java.lang.String |
getIcon()
Return the value of the
icon property. |
java.lang.String |
getLabel()
Return the value of the
label property. |
java.lang.Integer |
getPositionLeft()
Return the value of the
positionLeft property. |
java.lang.Integer |
getPositionTop()
Return the value of the
positionTop property. |
java.lang.String |
getRelativeTo()
Return the value of the
relativeTo property. |
java.lang.String |
getStyle()
Return the value of the
style property. |
java.lang.String |
getStyleClass()
Return the value of the
styleClass property. |
boolean |
isDisabled()
Return the value of the
disabled property. |
protected boolean |
isPropertySet(java.lang.String finder) |
void |
setDisabled(boolean disabled)
Set the value of the
disabled property. |
void |
setIcon(java.lang.String icon)
Set the value of the
icon property. |
void |
setLabel(java.lang.String label)
Set the value of the
label property. |
void |
setPositionLeft(java.lang.Integer positionLeft)
Set the value of the
positionLeft property. |
void |
setPositionTop(java.lang.Integer positionTop)
Set the value of the
positionTop property. |
void |
setRelativeTo(java.lang.String relativeTo)
Set the value of the
relativeTo 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) |
addClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, 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.UIComponentpublic void setDisabled(boolean disabled)
Set the value of the disabled property.
Contents: Boolean value to disable/enable the submenu. The submenu label will still be shown but with different styling, and clicking or hovering on it will not display its children submenus and menu items.
setDisabled in interface ISubmenupublic boolean isDisabled()
Return the value of the disabled property.
Contents: Boolean value to disable/enable the submenu. The submenu label will still be shown but with different styling, and clicking or hovering on it will not display its children submenus and menu items.
isDisabled in interface ISubmenupublic void setIcon(java.lang.String icon)
Set the value of the icon property.
Contents: CSS class name(s) containing the styling to display an icon.
public java.lang.String getIcon()
Return the value of the icon property.
Contents: CSS class name(s) containing the styling to display an icon.
public void setLabel(java.lang.String label)
Set the value of the label property.
Contents: Label of the submenu header.
public java.lang.String getLabel()
Return the value of the label property.
Contents: Label of the submenu header.
public void setPositionLeft(java.lang.Integer positionLeft)
Set the value of the positionLeft property.
Contents: Specifies a 'left' position (in pixels) that will override the automatic positioning of the submenu. This value is relative to the 'left' position of the submenu label or of the menu bar (see 'relativeTo' attribute). A negative value means that this custom position is to the left the reference point, while and positive value means that this custom position is to the right.
setPositionLeft in interface ISubmenupublic java.lang.Integer getPositionLeft()
Return the value of the positionLeft property.
Contents: Specifies a 'left' position (in pixels) that will override the automatic positioning of the submenu. This value is relative to the 'left' position of the submenu label or of the menu bar (see 'relativeTo' attribute). A negative value means that this custom position is to the left the reference point, while and positive value means that this custom position is to the right.
getPositionLeft in interface ISubmenupublic void setPositionTop(java.lang.Integer positionTop)
Set the value of the positionTop property.
Contents: Specifies a 'top' position (in pixels) that will override the automatic positioning of the submenu. This value is relative to the 'top' position of the submenu label or of the menu bar (see 'relativeTo' attribute). A negative value means that this custom position is above the reference point, while and positive value means that this custom position is below.
setPositionTop in interface ISubmenupublic java.lang.Integer getPositionTop()
Return the value of the positionTop property.
Contents: Specifies a 'top' position (in pixels) that will override the automatic positioning of the submenu. This value is relative to the 'top' position of the submenu label or of the menu bar (see 'relativeTo' attribute). A negative value means that this custom position is above the reference point, while and positive value means that this custom position is below.
getPositionTop in interface ISubmenupublic void setRelativeTo(java.lang.String relativeTo)
Set the value of the relativeTo property.
Contents: Specifies whether the 'positionLeft' and 'positionRight' attributes are relative to the submenu label or the menu bar. It also affects centering when using the value 'center' in 'direction. Possible values are 'label' and 'menubar'. The default value is 'label'.
setRelativeTo in interface ISubmenupublic java.lang.String getRelativeTo()
Return the value of the relativeTo property.
Contents: Specifies whether the 'positionLeft' and 'positionRight' attributes are relative to the submenu label or the menu bar. It also affects centering when using the value 'center' in 'direction. Possible values are 'label' and 'menubar'. The default value is 'label'.
getRelativeTo in interface ISubmenupublic void setStyle(java.lang.String style)
Set the value of the style property.
Contents: Style of the submenu label.
public java.lang.String getStyle()
Return the value of the style property.
Contents: Style of the submenu label.
public void setStyleClass(java.lang.String styleClass)
Set the value of the styleClass property.
Contents: StyleClass of the submenu label.
setStyleClass in interface ISubmenupublic java.lang.String getStyleClass()
Return the value of the styleClass property.
Contents: StyleClass of the submenu label.
getStyleClass in interface ISubmenuprotected boolean isPropertySet(java.lang.String finder)
public void setValueExpression(java.lang.String name,
javax.el.ValueExpression binding)
setValueExpression in class javax.faces.component.UIComponentCopyright 2014 ICEsoft Technologies Canada Corp., All Rights Reserved.