|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UICommand
org.alfresco.web.ui.common.component.UIModeList
public class UIModeList
Nested Class Summary | |
---|---|
static class |
UIModeList.ModeListItemSelectedEvent
Class representing a change in selection for a ModeList component. |
Field Summary |
---|
Fields inherited from class javax.faces.component.UICommand |
---|
COMPONENT_FAMILY, COMPONENT_TYPE |
Constructor Summary | |
---|---|
UIModeList()
Default constructor |
Method Summary | |
---|---|
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)
|
Methods inherited from class javax.faces.component.UICommand |
---|
addActionListener, getAction, getActionListener, getActionListeners, getValue, isImmediate, queueEvent, removeActionListener, setAction, setActionListener, setImmediate, setValue |
Methods inherited from class javax.faces.component.UIComponentBase |
---|
addFacesListener, 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, setValueBinding |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UIModeList()
Method Detail |
---|
public java.lang.String getFamily()
getFamily
in class javax.faces.component.UICommand
UIComponent.getFamily()
public void restoreState(javax.faces.context.FacesContext context, java.lang.Object state)
restoreState
in interface javax.faces.component.StateHolder
restoreState
in class javax.faces.component.UICommand
StateHolder.restoreState(javax.faces.context.FacesContext, java.lang.Object)
public java.lang.Object saveState(javax.faces.context.FacesContext context)
saveState
in interface javax.faces.component.StateHolder
saveState
in class javax.faces.component.UICommand
StateHolder.saveState(javax.faces.context.FacesContext)
public void broadcast(javax.faces.event.FacesEvent event) throws javax.faces.event.AbortProcessingException
broadcast
in class javax.faces.component.UICommand
javax.faces.event.AbortProcessingException
UICommand.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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |