|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.krad.uif.component.ConfigurableBase
org.kuali.rice.krad.uif.component.ComponentBase
org.kuali.rice.krad.uif.control.ControlBase
public abstract class ControlBase
Base class for all Control implementations
Control,
Serialized Form| Field Summary |
|---|
| Fields inherited from interface org.kuali.rice.krad.uif.component.Ordered |
|---|
INITIAL_ORDER_VALUE |
| Fields inherited from interface org.springframework.core.Ordered |
|---|
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE |
| Constructor Summary | |
|---|---|
ControlBase()
|
|
| Method Summary | |
|---|---|
String |
getComponentTypeName()
The name for the component type |
String |
getDisabledReason()
If the control is disabled, gives a reason for why which will be displayed as a tooltip on the control |
boolean |
getSupportsOnBlur()
Indicates whether the component supports the onBlur event |
boolean |
getSupportsOnChange()
Indicates whether the component supports the onChange event |
boolean |
getSupportsOnClick()
Indicates whether the component supports the onClick event |
boolean |
getSupportsOnDblClick()
Indicates whether the component supports the onDblClick event |
boolean |
getSupportsOnFocus()
Indicates whether the component supports the onFocus event |
int |
getTabIndex()
Unique index of the control within the tab order |
boolean |
isDisabled()
Indicates whether the control is disabled (doesn't allow input) |
void |
setDisabled(boolean disabled)
Setter for the disabled indicator |
void |
setDisabledReason(String disabledReason)
Setter for the disabled reason text |
void |
setTabIndex(int tabIndex)
Setter for the controls tab order index |
| Methods inherited from class org.kuali.rice.krad.uif.component.ConfigurableBase |
|---|
getPropertyExpression, getPropertyExpressions, setPropertyExpressions |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.kuali.rice.krad.uif.component.Configurable |
|---|
getPropertyExpression, getPropertyExpressions, setPropertyExpressions |
| Constructor Detail |
|---|
public ControlBase()
| Method Detail |
|---|
public final String getComponentTypeName()
ComponentThis is used within the rendering layer to pass the component instance into the template. The component instance is exported under the name given by this method.
getComponentTypeName in interface ComponentComponent.getComponentTypeName()public int getTabIndex()
ControlTab index provides a way to set the order users will tab through the controls. The control with index 1 will receive focus when the page is rendered. Tabing from the field will then take the user to the control with index 2, then index 3, and so on.
getTabIndex in interface ControlControl.getTabIndex()public void setTabIndex(int tabIndex)
Control
setTabIndex in interface ControlControl.setTabIndex(int)public boolean isDisabled()
Control
isDisabled in interface ControlControl.isDisabled()public void setDisabled(boolean disabled)
Control
setDisabled in interface ControlControl.setDisabled(boolean)public String getDisabledReason()
Control
getDisabledReason in interface ControlControl.getDisabledReason()public void setDisabledReason(String disabledReason)
Control
setDisabledReason in interface ControlControl.setDisabledReason(java.lang.String)public boolean getSupportsOnChange()
ScriptEventSupport
getSupportsOnChange in interface ScriptEventSupportgetSupportsOnChange in class ComponentBaseScriptEventSupport.getSupportsOnChange()public boolean getSupportsOnBlur()
ScriptEventSupport
getSupportsOnBlur in interface ScriptEventSupportgetSupportsOnBlur in class ComponentBaseScriptEventSupport.getSupportsOnBlur()public boolean getSupportsOnClick()
ScriptEventSupport
getSupportsOnClick in interface ScriptEventSupportgetSupportsOnClick in class ComponentBaseScriptEventSupport.getSupportsOnClick()public boolean getSupportsOnDblClick()
ScriptEventSupport
getSupportsOnDblClick in interface ScriptEventSupportgetSupportsOnDblClick in class ComponentBaseScriptEventSupport.getSupportsOnDblClick()public boolean getSupportsOnFocus()
ScriptEventSupport
getSupportsOnFocus in interface ScriptEventSupportgetSupportsOnFocus in class ComponentBaseScriptEventSupport.getSupportsOnFocus()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||