|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Control
Represents an interactive element in the UI (typically an HTML control)
Each control that can be rendered in the UIF should be an implement the
Control
interface. The control is a regular component, thus has
a corresponding template that will render the control for the UI. Controls
provide the mechanism for gathering data from the User or for the User to
initiate an action. HTML controls must be rendered within a Form
element.
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 |
Method Summary | |
---|---|
String |
getDisabledReason()
If the control is disabled, gives a reason for why which will be displayed as a tooltip on the control |
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 interface org.kuali.rice.krad.datadictionary.uif.UifDictionaryBean |
---|
getExpressionGraph, getPropertyExpression, getPropertyExpressions, getRefreshExpressionGraph, setExpressionGraph, setPropertyExpressions, setRefreshExpressionGraph |
Methods inherited from interface org.kuali.rice.krad.datadictionary.DictionaryBean |
---|
getComponentCode, getNamespaceCode |
Methods inherited from interface org.kuali.rice.krad.uif.component.ScriptEventSupport |
---|
getOnBlurScript, getOnChangeScript, getOnClickScript, getOnCloseScript, getOnDblClickScript, getOnDocumentReadyScript, getOnFocusScript, getOnKeyDownScript, getOnKeyPressScript, getOnKeyUpScript, getOnLoadScript, getOnMouseDownScript, getOnMouseMoveScript, getOnMouseOutScript, getOnMouseOverScript, getOnMouseUpScript, getOnSubmitScript, getOnUnloadScript, setOnBlurScript, setOnLoadScript |
Method Detail |
---|
int getTabIndex()
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.
void setTabIndex(int tabIndex)
tabIndex
- boolean isDisabled()
void setDisabled(boolean disabled)
disabled
- String getDisabledReason()
isDisabled()
void setDisabledReason(String disabledReason)
disabledReason
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |