|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 FormField 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()
Component
This 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 Component
Component.getComponentTypeName()
public int getTabIndex()
Control
Tab 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 Control
Control.getTabIndex()
public void setTabIndex(int tabIndex)
Control
setTabIndex
in interface Control
Control.setTabIndex(int)
public boolean isDisabled()
Control
isDisabled
in interface Control
Control.isDisabled()
public void setDisabled(boolean disabled)
Control
setDisabled
in interface Control
Control.setDisabled(boolean)
public String getDisabledReason()
Control
getDisabledReason
in interface Control
Control.getDisabledReason()
public void setDisabledReason(String disabledReason)
Control
setDisabledReason
in interface Control
Control.setDisabledReason(java.lang.String)
public boolean getSupportsOnChange()
ScriptEventSupport
getSupportsOnChange
in interface ScriptEventSupport
getSupportsOnChange
in class ComponentBase
ScriptEventSupport.getSupportsOnChange()
public boolean getSupportsOnBlur()
ScriptEventSupport
getSupportsOnBlur
in interface ScriptEventSupport
getSupportsOnBlur
in class ComponentBase
ScriptEventSupport.getSupportsOnBlur()
public boolean getSupportsOnClick()
ScriptEventSupport
getSupportsOnClick
in interface ScriptEventSupport
getSupportsOnClick
in class ComponentBase
ScriptEventSupport.getSupportsOnClick()
public boolean getSupportsOnDblClick()
ScriptEventSupport
getSupportsOnDblClick
in interface ScriptEventSupport
getSupportsOnDblClick
in class ComponentBase
ScriptEventSupport.getSupportsOnDblClick()
public boolean getSupportsOnFocus()
ScriptEventSupport
getSupportsOnFocus
in interface ScriptEventSupport
getSupportsOnFocus
in class ComponentBase
ScriptEventSupport.getSupportsOnFocus()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |