public class UIModeList
extends javax.faces.component.UICommand
| Modifier and Type | Class and Description |
|---|---|
static class |
UIModeList.ModeListItemSelectedEvent
Class representing a change in selection for a ModeList component.
|
| Constructor and Description |
|---|
UIModeList()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
broadcast(javax.faces.event.FacesEvent event) |
java.lang.String |
getFamily() |
int |
getIconColumnWidth()
Get the icon column width
|
java.lang.String |
getLabel() |
java.lang.String |
getMenuImage() |
boolean |
isDisabled()
Returns the disabled flag
|
boolean |
isHorizontal()
Get the horizontal rendering flag
|
boolean |
isMenu()
Returns the menu rendering flag
|
void |
restoreState(javax.faces.context.FacesContext context,
java.lang.Object state) |
java.lang.Object |
saveState(javax.faces.context.FacesContext context) |
void |
setDisabled(boolean disabled)
Sets whether the mode list is disabled
|
void |
setHorizontal(boolean horizontal)
Set true for horizontal rendering, false otherwise
|
void |
setIconColumnWidth(int iconColumnWidth)
Set the icon column width
|
void |
setLabel(java.lang.String label) |
void |
setMenu(boolean menu)
Sets whether the mode list is a menu
|
void |
setMenuImage(java.lang.String menuImage) |
addActionListener, getAction, getActionListener, getActionListeners, getValue, isImmediate, queueEvent, removeActionListener, setAction, setActionListener, setImmediate, setValueaddFacesListener, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBindingpublic java.lang.String getFamily()
getFamily in class javax.faces.component.UICommandUIComponent.getFamily()public void restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
restoreState in interface javax.faces.component.StateHolderrestoreState in class javax.faces.component.UICommandStateHolder.restoreState(javax.faces.context.FacesContext, java.lang.Object)public java.lang.Object saveState(javax.faces.context.FacesContext context)
saveState in interface javax.faces.component.StateHoldersaveState in class javax.faces.component.UICommandStateHolder.saveState(javax.faces.context.FacesContext)public void broadcast(javax.faces.event.FacesEvent event)
throws javax.faces.event.AbortProcessingException
broadcast in class javax.faces.component.UICommandjavax.faces.event.AbortProcessingExceptionUICommand.broadcast(javax.faces.event.FacesEvent)public boolean isHorizontal()
public void setHorizontal(boolean horizontal)
horizontal - the horizontalpublic int getIconColumnWidth()
public void setIconColumnWidth(int iconColumnWidth)
iconColumnWidth - the icon column widthpublic boolean isDisabled()
public void setDisabled(boolean disabled)
disabled - the disabled flagpublic boolean isMenu()
public void setMenu(boolean menu)
menu - the menu flagpublic java.lang.String getLabel()
public void setLabel(java.lang.String label)
label - The label to set.public java.lang.String getMenuImage()
public void setMenuImage(java.lang.String menuImage)
menuImage - The menu image to set.Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.