Package com.orchestranetworks.ui
Class UIFormLabelSpec
java.lang.Object
com.orchestranetworks.ui.UIFormLabelSpec
Specifies a label to display and optional additional documentation,
accessible in a pop-up.
In the context of a UI bean, for standard documentation extracted from the data model,
it is recommended to use the method UIResponseContext.addUILabel(Path)
instead.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
Describes the content of a documentation pane. -
Constructor Summary
ConstructorsConstructorDescriptionUIFormLabelSpec
(UserMessage aLabelMessage) Creates a simple label with aUserMessage
.UIFormLabelSpec
(UIFormLabelSpec.DocumentationPane aDocumentationPane, UserMessage aLabelMessage) Creates a simple label with aUserMessage
and a documentation pane that is displayed in a pop-up.UIFormLabelSpec
(UIFormLabelSpec.DocumentationPane aDocumentationPane, String aLabelText) Creates a simple label and documentation pane displayed in a pop-up.UIFormLabelSpec
(String aLabelText) Creates a simple label. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Sets the mandatory field indicator on this label.
-
Constructor Details
-
UIFormLabelSpec
Creates a simple label. This method is equivalent to:UIFormLabelSpec(null, aLabelText)
-
UIFormLabelSpec
Creates a simple label and documentation pane displayed in a pop-up. -
UIFormLabelSpec
Creates a simple label with aUserMessage
. This method is equivalent to:UIFormLabelSpec(null, aLabelMessage)
-
UIFormLabelSpec
public UIFormLabelSpec(UIFormLabelSpec.DocumentationPane aDocumentationPane, UserMessage aLabelMessage) Creates a simple label with aUserMessage
and a documentation pane that is displayed in a pop-up.
-
-
Method Details
-
setMandatoryIndicator
public void setMandatoryIndicator()Sets the mandatory field indicator on this label.- Since:
- 5.2.3
-