|
||||||||||
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.UIPanel
javax.faces.component.html.HtmlPanelGroup
org.apache.myfaces.custom.toggle.AbstractTogglePanel
org.apache.myfaces.custom.toggle.TogglePanel
public class TogglePanel
Nested Class Summary | |
---|---|
protected static class |
TogglePanel.PropertyKeys
|
Field Summary | |
---|---|
static String |
COMPONENT_FAMILY
|
static String |
COMPONENT_TYPE
|
static String |
DEFAULT_RENDERER_TYPE
|
Fields inherited from class org.apache.myfaces.custom.toggle.AbstractTogglePanel |
---|
DEFAULT_DISABLED, DEFAULT_TOGGLED |
Fields inherited from class javax.faces.component.UIComponent |
---|
ATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, HONOR_CURRENT_COMPONENT_ATTRIBUTES_PARAM_NAME, VIEW_LOCATION_KEY |
Constructor Summary | |
---|---|
TogglePanel()
|
Method Summary | |
---|---|
void |
addClientBehavior(String eventName,
javax.faces.component.behavior.ClientBehavior behavior)
|
String |
getDir()
HTML: The direction of text display, either 'ltr' (left-to-right) or 'rtl' (right-to-left). |
Collection<String> |
getEventNames()
|
String |
getFamily()
|
String |
getLang()
HTML: The base language of this document. |
String |
getOnclick()
HTML: Script to be invoked when the element is clicked. |
String |
getOndblclick()
HTML: Script to be invoked when the element is double-clicked. |
String |
getOnkeydown()
HTML: Script to be invoked when a key is pressed down over this element. |
String |
getOnkeypress()
HTML: Script to be invoked when a key is pressed over this element. |
String |
getOnkeyup()
HTML: Script to be invoked when a key is released over this element. |
String |
getOnmousedown()
HTML: Script to be invoked when the pointing device is pressed over this element. |
String |
getOnmousemove()
HTML: Script to be invoked when the pointing device is moved while it is in this element. |
String |
getOnmouseout()
HTML: Script to be invoked when the pointing device is moves out of this element. |
String |
getOnmouseover()
HTML: Script to be invoked when the pointing device is moved into this element. |
String |
getOnmouseup()
HTML: Script to be invoked when the pointing device is released over this element. |
String |
getStyle()
|
String |
getStyleClass()
|
String |
getTitle()
HTML: An advisory title for this element. |
boolean |
isDisabled()
|
boolean |
isToggled()
You can set toggled to true to force the toggleGroup to always be in toggle mode. |
void |
setDir(String dir)
|
void |
setDisabled(boolean disabled)
|
void |
setLang(String lang)
|
void |
setOnclick(String onclick)
|
void |
setOndblclick(String ondblclick)
|
void |
setOnkeydown(String onkeydown)
|
void |
setOnkeypress(String onkeypress)
|
void |
setOnkeyup(String onkeyup)
|
void |
setOnmousedown(String onmousedown)
|
void |
setOnmousemove(String onmousemove)
|
void |
setOnmouseout(String onmouseout)
|
void |
setOnmouseover(String onmouseover)
|
void |
setOnmouseup(String onmouseup)
|
void |
setStyle(String style)
|
void |
setStyleClass(String styleClass)
|
void |
setTitle(String title)
|
void |
setToggled(boolean toggled)
|
void |
setValueBinding(String name,
javax.faces.el.ValueBinding binding)
|
void |
setValueExpression(String name,
javax.el.ValueExpression expression)
|
Methods inherited from class org.apache.myfaces.custom.toggle.AbstractTogglePanel |
---|
processDecodes, processUpdates |
Methods inherited from class javax.faces.component.html.HtmlPanelGroup |
---|
getLayout, setLayout |
Methods inherited from class javax.faces.component.UIComponentBase |
---|
addFacesListener, broadcast, clearInitialState, decode, encodeAll, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, initialStateMarked, invokeOnComponent, isRendered, isTransient, markInitialState, processRestoreState, processSaveState, processValidators, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, visitTree |
Methods inherited from class javax.faces.component.UIComponent |
---|
getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, subscribeToEvent, unsubscribeFromEvent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.faces.component.behavior.ClientBehaviorHolder |
---|
getClientBehaviors, getDefaultEventName |
Field Detail |
---|
public static final String COMPONENT_FAMILY
public static final String COMPONENT_TYPE
public static final String DEFAULT_RENDERER_TYPE
Constructor Detail |
---|
public TogglePanel()
Method Detail |
---|
public String getFamily()
getFamily
in class javax.faces.component.html.HtmlPanelGroup
public Collection<String> getEventNames()
getEventNames
in interface javax.faces.component.behavior.ClientBehaviorHolder
getEventNames
in class javax.faces.component.UIComponentBase
public void addClientBehavior(String eventName, javax.faces.component.behavior.ClientBehavior behavior)
addClientBehavior
in interface javax.faces.component.behavior.ClientBehaviorHolder
addClientBehavior
in class javax.faces.component.UIComponentBase
public boolean isToggled()
AbstractTogglePanel
isToggled
in class AbstractTogglePanel
public void setToggled(boolean toggled)
setToggled
in class AbstractTogglePanel
public boolean isDisabled()
isDisabled
in class AbstractTogglePanel
public void setDisabled(boolean disabled)
public String getOnclick()
EventAware
public void setOnclick(String onclick)
public String getOndblclick()
EventAware
public void setOndblclick(String ondblclick)
public String getOnkeydown()
EventAware
public void setOnkeydown(String onkeydown)
public String getOnkeypress()
EventAware
public void setOnkeypress(String onkeypress)
public String getOnkeyup()
EventAware
public void setOnkeyup(String onkeyup)
public String getOnmousedown()
EventAware
public void setOnmousedown(String onmousedown)
public String getOnmousemove()
EventAware
public void setOnmousemove(String onmousemove)
public String getOnmouseout()
EventAware
public void setOnmouseout(String onmouseout)
public String getOnmouseover()
EventAware
public void setOnmouseover(String onmouseover)
public String getOnmouseup()
EventAware
public void setOnmouseup(String onmouseup)
public String getDir()
UniversalProperties
public void setDir(String dir)
public String getLang()
UniversalProperties
public void setLang(String lang)
public String getTitle()
UniversalProperties
public void setTitle(String title)
public String getStyle()
getStyle
in class javax.faces.component.html.HtmlPanelGroup
public void setStyle(String style)
setStyle
in class javax.faces.component.html.HtmlPanelGroup
public String getStyleClass()
getStyleClass
in class javax.faces.component.html.HtmlPanelGroup
public void setStyleClass(String styleClass)
setStyleClass
in class javax.faces.component.html.HtmlPanelGroup
public void setValueBinding(String name, javax.faces.el.ValueBinding binding)
setValueBinding
in class javax.faces.component.html.HtmlPanelGroup
public void setValueExpression(String name, javax.el.ValueExpression expression)
setValueExpression
in class javax.faces.component.html.HtmlPanelGroup
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |