|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.binding.value.support.AbstractPropertyChangePublisher
org.springframework.binding.form.support.DefaultFieldFace
public class DefaultFieldFace
A default implementation of FieldFace
| Field Summary |
|---|
| Fields inherited from class org.springframework.binding.value.support.AbstractPropertyChangePublisher |
|---|
logger |
| Fields inherited from interface org.springframework.richclient.core.DescribedElement |
|---|
CAPTION_PROPERTY, DESCRIPTION_PROPERTY, DISPLAY_NAME_PROPERTY |
| Constructor Summary | |
|---|---|
DefaultFieldFace(String displayName,
String caption,
String description,
LabelInfo labelInfo,
Icon icon)
|
|
DefaultFieldFace(String displayName,
String caption,
String description,
String encodedLabel,
Icon icon)
Constructs a new DefaultFieldFace with the provided values. |
|
| 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. |
Image |
getImage()
Returns the image associated with the application component, or null. |
LabelInfo |
getLabelInfo()
The text, mnemonic and mnemonicIndex for any labels created for the property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultFieldFace(String displayName,
String caption,
String description,
String encodedLabel,
Icon icon)
public DefaultFieldFace(String displayName,
String caption,
String description,
LabelInfo labelInfo,
Icon icon)
| Method Detail |
|---|
public String getDisplayName()
FieldFace
getDisplayName in interface FieldFacegetDisplayName in interface DescribedElementnull.public String getCaption()
FieldFace
getCaption in interface FieldFacegetCaption in interface DescribedElementnull.public String getDescription()
FieldFace
getDescription in interface FieldFacegetDescription in interface DescribedElementnull.public LabelInfo getLabelInfo()
FieldFace
getLabelInfo in interface FieldFacepublic Image getImage()
VisualizedElement
getImage in interface VisualizedElementpublic Icon getIcon()
FieldFace
getIcon in interface FieldFacegetIcon in interface VisualizedElementpublic void configure(JLabel label)
FieldFace
configure in interface FieldFacepublic void configure(AbstractButton button)
FieldFace
configure in interface FieldFace
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||