Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Richfaces UI Components UI 4.1.0.20110910-M2
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 java.lang.String` | `BEHAVIOR_ID`

Constructor Summary
`ToggleControl()`

Method Summary
`java.lang.Boolean` | `getDisableDefault()`
`static AbstractTogglePanel` | `getEnclosedPanel(javax.faces.component.UIComponent comp)`
`java.lang.String` | `getEvent()`
`AbstractTogglePanel` | `getPanel(javax.faces.component.UIComponent comp)`
`java.lang.String` | `getPanelId(javax.faces.component.behavior.ClientBehaviorContext behaviorContext)`
`java.lang.String` | `getRendererType()`
`java.lang.String` | `getTargetItem()`
`java.lang.String` | `getTargetPanel()`
`void` | `setDisableDefault(java.lang.Boolean disableDefault)`
`void` | `setEvent(java.lang.String eventName)`
`void` | `setLiteralAttribute(java.lang.String name, java.lang.Object value)`
`void` | `setTargetItem(java.lang.String target)`
`void` | `setTargetPanel(java.lang.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 java.lang.String BEHAVIOR_ID

See Also:
  Constant Field Values

Constructor Detail

### ToggleControl

    public ToggleControl()

Method Detail

### getEvent

    public java.lang.String getEvent()

### setEvent

    public void setEvent(java.lang.String eventName)

### getTargetItem

    public java.lang.String getTargetItem()

### setTargetItem

    public void setTargetItem(java.lang.String target)

### getTargetPanel

    public java.lang.String getTargetPanel()

### setTargetPanel

    public void setTargetPanel(java.lang.String selector)

### setDisableDefault

    public void setDisableDefault(java.lang.Boolean disableDefault)

### getDisableDefault

    public java.lang.Boolean getDisableDefault()

### getPanelId

    public java.lang.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 java.lang.String getRendererType()

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

### setLiteralAttribute

    public void setLiteralAttribute(java.lang.String name,
                                    java.lang.Object value)

  Specified by:
    `setLiteralAttribute` in class `ClientBehavior`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Richfaces UI Components UI 4.1.0.20110910-M2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.