|
||||||||||
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.field.FieldBase org.kuali.rice.krad.uif.field.MessageField
public class MessageField
Encapsulates a text message to be displayed
The MessageField
is used to display static text in the user
interface. The message type can be used to group similar messages for styling
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 | |
---|---|
MessageField()
|
|
MessageField(String messageType)
|
|
MessageField(String messageText,
String messageType)
|
Method Summary | |
---|---|
String |
getMessageText()
Text that makes up the message that will be displayed |
String |
getMessageType()
Type of the field's message, used to suffix the message fields id |
boolean |
isRender()
Override to render only if the message text has been given or there is a conditional expression on the message text |
void |
setMessageText(String messageText)
Setter for the message text |
void |
setMessageType(String messageType)
Setter for the message's type |
Methods inherited from class org.kuali.rice.krad.uif.field.FieldBase |
---|
getComponentSecurityClass, getComponentsForLifecycle, getComponentTypeName, getFieldSecurity, getLabel, getLabelField, getLabelPlacement, getShortLabel, isLabelFieldRendered, performFinalize, performInitialization, setComponentSecurity, setLabel, setLabelField, setLabelFieldRendered, setLabelPlacement, setShortLabel, setShowLabel |
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 MessageField()
public MessageField(String messageType)
public MessageField(String messageText, String messageType)
Method Detail |
---|
public boolean isRender()
isRender
in interface Component
isRender
in class ComponentBase
ComponentBase.isRender()
public String getMessageText()
public void setMessageText(String messageText)
messageText
- public String getMessageType()
Messages that have similar intent can be grouped by this type string. For messages of the same type, their id will contain the same suffix which can be used for scripting to apply additional styling or behavior to that groups of messages (for example show/hide)
public void setMessageType(String messageType)
messageType
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |