Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| RichFaces UI Components UI 4.2.0.CR1
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.richfaces.component.behavior
Class ToggleControl

    java.lang.Object
      javax.faces.component.behavior.BehaviorBase
          javax.faces.component.behavior.ClientBehaviorBase
              org.richfaces.component.behavior.ClientBehavior
                  org.richfaces.component.behavior.ToggleControl

All Implemented Interfaces:
  javax.faces.component.behavior.Behavior, javax.faces.component.behavior.ClientBehavior, javax.faces.component.PartialStateHolder, javax.faces.component.StateHolder

    public class ToggleControl

extends ClientBehavior

Author:
  akolonitsky

Field Summary
`static String` | `BEHAVIOR_ID`

Constructor Summary
`ToggleControl()`

Method Summary
`Boolean` | `getDisableDefault()`
`static AbstractTogglePanel` | `getEnclosedPanel(javax.faces.component.UIComponent comp)`
`String` | `getEvent()`
`AbstractTogglePanel` | `getPanel(javax.faces.component.UIComponent comp)`
`String` | `getPanelId(javax.faces.component.behavior.ClientBehaviorContext behaviorContext)`
`String` | `getRendererType()`
`String` | `getTargetItem()`
`String` | `getTargetPanel()`
`void` | `setDisableDefault(Boolean disableDefault)`
`void` | `setEvent(String eventName)`
`void` | `setLiteralAttribute(String name, Object value)`
`void` | `setTargetItem(String target)`
`void` | `setTargetPanel(String selector)`

Methods inherited from class org.richfaces.component.behavior.ClientBehavior
`compare, getFacesContext, getStateHelper, getValueExpression, restoreState, saveState, setLiteralValue, setValueExpression`

Methods inherited from class javax.faces.component.behavior.ClientBehaviorBase
`decode, getHints, getRenderer, getScript`

Methods inherited from class javax.faces.component.behavior.BehaviorBase
`addBehaviorListener, broadcast, clearInitialState, initialStateMarked, isTransient, markInitialState, removeBehaviorListener, setTransient`

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.Behavior
`broadcast`

Field Detail

### BEHAVIOR_ID

    public static final String BEHAVIOR_ID

See Also:
  Constant Field Values

Constructor Detail

### ToggleControl

    public ToggleControl()

Method Detail

### getEvent

    public String getEvent()

### setEvent

    public void setEvent(String eventName)

### getTargetItem

    public String getTargetItem()

### setTargetItem

    public void setTargetItem(String target)

### getTargetPanel

    public String getTargetPanel()

### setTargetPanel

    public void setTargetPanel(String selector)

### setDisableDefault

    public void setDisableDefault(Boolean disableDefault)

### getDisableDefault

    public Boolean getDisableDefault()

### getPanelId

    public String getPanelId(javax.faces.component.behavior.ClientBehaviorContext behaviorContext)
                      throws javax.faces.FacesException

  Throws:
    `javax.faces.FacesException`

### getPanel

    public AbstractTogglePanel getPanel(javax.faces.component.UIComponent comp)
                                 throws javax.faces.FacesException

  Throws:
    `javax.faces.FacesException`

### getEnclosedPanel

    public static AbstractTogglePanel getEnclosedPanel(javax.faces.component.UIComponent comp)

### getRendererType

    public String getRendererType()

  Overrides:
    `getRendererType` in class `javax.faces.component.behavior.ClientBehaviorBase`

### setLiteralAttribute

    public void setLiteralAttribute(String name,
                                    Object value)

  Specified by:
    `setLiteralAttribute` in class `ClientBehavior`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| RichFaces UI Components UI 4.2.0.CR1
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.