Method from javax.faces.component.UISelectBoolean Detail: |
public String getFamily() {
return (COMPONENT_FAMILY);
}
|
public ValueBinding getValueBinding(String name) {
if ("selected".equals(name)) {
return (super.getValueBinding("value"));
} else {
return (super.getValueBinding(name));
}
} Deprecated! This - has been replaced by #getValueExpression .
Return any ValueBinding set for value if a
ValueBinding for selected is requested; otherwise,
perform the default superclass processing for this method.
Rely on the superclass implementation to wrap the returned
ValueExpression in a ValueBinding .
|
public ValueExpression getValueExpression(String name) {
if ("selected".equals(name)) {
return (super.getValueExpression("value"));
} else {
return (super.getValueExpression(name));
}
}
Return any ValueExpression set for value
if a ValueExpression for selected is
requested; otherwise, perform the default superclass processing
for this method.
|
public boolean isSelected() {
Boolean value = (Boolean) getValue();
if (value != null) {
return (value.booleanValue());
} else {
return (false);
}
}
Return the local value of the selected state of this component.
This method is a typesafe alias for getValue() .
|
public void setSelected(boolean selected) {
if (selected) {
setValue(Boolean.TRUE);
} else {
setValue(Boolean.FALSE);
}
}
Set the local value of the selected state of this component.
This method is a typesafe alias for setValue() .
|
public void setValueBinding(String name,
ValueBinding binding) {
if ("selected".equals(name)) {
super.setValueBinding("value", binding);
} else {
super.setValueBinding(name, binding);
}
} Deprecated! This - has been replaced by #setValueExpression .
Store any ValueBinding specified for selected
under value instead; otherwise, perform the default
superclass processing for this method.
Rely on the superclass implementation to wrap the argument
ValueBinding in a ValueExpression .
|
public void setValueExpression(String name,
ValueExpression binding) {
if ("selected".equals(name)) {
super.setValueExpression("value", binding);
} else {
super.setValueExpression(name, binding);
}
}
Store any ValueExpression specified for selected
under value instead; otherwise, perform the default
superclass processing for this method.
|