|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FieldFace
Provides metadata related to the visualization of a form property and convenience methods for configuring GUI components using the metadata.
Field Summary |
---|
Fields inherited from interface org.springframework.richclient.core.DescribedElement |
---|
CAPTION_PROPERTY, DESCRIPTION_PROPERTY, DISPLAY_NAME_PROPERTY |
Method Summary | |
---|---|
void |
configure(AbstractButton button)
Configures the supplied button using LabelInfo and Icon. |
void |
configure(JLabel label)
Configures the supplied JLabel using LabelInfo and Icon. |
String |
getCaption()
A short caption describing the property, typically used for tool tips. |
String |
getDescription()
A longer caption describing the property. |
String |
getDisplayName()
The name of the property in human readable form, typically used for validation messages. |
Icon |
getIcon()
The icon that is used for any labels created for this property. |
LabelInfo |
getLabelInfo()
The text, mnemonic and mnemonicIndex for any labels created for the property. |
Methods inherited from interface org.springframework.richclient.core.VisualizedElement |
---|
getImage |
Method Detail |
---|
String getDisplayName()
getDisplayName
in interface DescribedElement
null
.String getCaption()
getCaption
in interface DescribedElement
null
.String getDescription()
getDescription
in interface DescribedElement
null
.LabelInfo getLabelInfo()
Icon getIcon()
getIcon
in interface VisualizedElement
void configure(JLabel label)
void configure(AbstractButton button)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |