|
||||||||||
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.ajax4jsf.framework.ajax.AjaxActionComponent
org.richfaces.component.UITab
public abstract class UITab
Base class for panel tab.
Field Summary | |
---|---|
static java.lang.String |
COMPONENT_TYPE
|
Fields inherited from class org.ajax4jsf.framework.ajax.AjaxActionComponent |
---|
FOCUS_DATA_ID |
Fields inherited from class javax.faces.component.UICommand |
---|
COMPONENT_FAMILY |
Fields inherited from interface org.ajax4jsf.framework.ajax.AjaxComponent |
---|
AJAX_COMPONETT_PARAMETER |
Constructor Summary | |
---|---|
UITab()
|
Method Summary | |
---|---|
void |
encodeTab(javax.faces.context.FacesContext context,
boolean active)
|
abstract java.lang.String |
getLabel()
Get label for this tab. |
abstract java.lang.String |
getLabelWidth()
Get width of label for this tab. |
abstract java.lang.Object |
getName()
Get Get internal value for this tab - to store in selectedTab attribute of UITabPanel . |
UITabPanel |
getPane()
Get enclosed UITabPanel tab panel for this component. |
java.lang.String |
getSwitchType()
Get Tab selection behavior for panel - one of "client", "server", "ajax", "page". |
abstract java.lang.String |
getTitle()
Get Tab title - for pop-up message. |
abstract java.lang.Object |
getValue()
Get Model Value for this Tab. |
boolean |
isActive()
|
abstract boolean |
isDisabled()
|
void |
restoreState(javax.faces.context.FacesContext context,
java.lang.Object object)
|
java.lang.Object |
saveState(javax.faces.context.FacesContext context)
|
void |
setActive(boolean active)
|
abstract void |
setDisabled(boolean disabled)
|
abstract void |
setLabel(java.lang.String newvalue)
Set label for this tab. |
abstract void |
setLabelWidth(java.lang.String newvalue)
Set width of label for this tab. |
abstract void |
setName(java.lang.Object newvalue)
Set Get internal value for this tab - to store in selectedTab attribute of UITabPanel . |
void |
setSwitchType(java.lang.String newvalue)
Set Tab selection behavior for panel - one of "client", "server", "ajax", "page". |
abstract void |
setTitle(java.lang.String newvalue)
Set Tab title - for pop-up message. |
protected void |
setupReRender()
|
abstract void |
setValue(java.lang.Object newvalue)
Set Model Value for this Tab. |
Methods inherited from class org.ajax4jsf.framework.ajax.AjaxActionComponent |
---|
addAjaxListener, broadcast, getAjaxListeners, getSingleComponent, queueEvent, removeAjaxListener, setupReRender |
Methods inherited from class javax.faces.component.UICommand |
---|
addActionListener, getAction, getActionListener, getActionListeners, getFamily, isImmediate, removeActionListener, setAction, setActionListener, setImmediate |
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 |
Methods inherited from interface org.ajax4jsf.framework.ajax.AjaxComponent |
---|
getData, getEventsQueue, getFocus, getOncomplete, getRequestDelay, getReRender, getStatus, getTimeout, isAjaxSingle, isBypassUpdates, isIgnoreDupResponses, isLimitToList, setAjaxSingle, setBypassUpdates, setData, setEventsQueue, setFocus, setIgnoreDupResponses, setLimitToList, setOncomplete, setRequestDelay, setReRender, setStatus, setTimeout |
Methods inherited from interface org.ajax4jsf.framework.ajax.AjaxSource |
---|
addAjaxListener, getAjaxListeners, removeAjaxListener |
Methods inherited from interface javax.faces.component.ActionSource |
---|
addActionListener, getAction, getActionListener, getActionListeners, isImmediate, removeActionListener, setAction, setActionListener, setImmediate |
Field Detail |
---|
public static final java.lang.String COMPONENT_TYPE
Constructor Detail |
---|
public UITab()
Method Detail |
---|
public void encodeTab(javax.faces.context.FacesContext context, boolean active) throws java.io.IOException
context
- active
-
java.io.IOException
public UITabPanel getPane() throws javax.faces.FacesException
UITabPanel
tab panel for this component.
UITabPanel
javax.faces.FacesException
protected void setupReRender()
setupReRender
in class org.ajax4jsf.framework.ajax.AjaxActionComponent
public boolean isActive()
public void setActive(boolean active)
active
- The active to set. This method should never be called from user code.public abstract java.lang.Object getValue()
getValue
in class javax.faces.component.UICommand
public abstract void setValue(java.lang.Object newvalue)
setValue
in class javax.faces.component.UICommand
newvalue
- public abstract java.lang.Object getName()
TabModel
UITabPanel
.
by default, if no tabValue set, as it's value used ordered number of this tab in panel.
getName
in interface TabModel
public abstract void setName(java.lang.Object newvalue)
TabModel
UITabPanel
.
setName
in interface TabModel
public abstract boolean isDisabled()
isDisabled
in interface TabModel
public abstract void setDisabled(boolean disabled)
setDisabled
in interface TabModel
public abstract java.lang.String getLabel()
TabModel
getLabel
in interface TabModel
public abstract void setLabel(java.lang.String newvalue)
TabModel
setLabel
in interface TabModel
public abstract java.lang.String getLabelWidth()
TabModel
getLabelWidth
in interface TabModel
public abstract void setLabelWidth(java.lang.String newvalue)
TabModel
setLabelWidth
in interface TabModel
public abstract java.lang.String getTitle()
TabModel
getTitle
in interface TabModel
public abstract void setTitle(java.lang.String newvalue)
TabModel
setTitle
in interface TabModel
public java.lang.String getSwitchType()
TabModel
getSwitchType
in interface TabModel
public void setSwitchType(java.lang.String newvalue)
TabModel
setSwitchType
in interface TabModel
public java.lang.Object saveState(javax.faces.context.FacesContext context)
saveState
in interface javax.faces.component.StateHolder
saveState
in class javax.faces.component.UICommand
public void restoreState(javax.faces.context.FacesContext context, java.lang.Object object)
restoreState
in interface javax.faces.component.StateHolder
restoreState
in class javax.faces.component.UICommand
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |