|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
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 FieldFace
getDisplayName
in interface DescribedElement
null
.public String getCaption()
FieldFace
getCaption
in interface FieldFace
getCaption
in interface DescribedElement
null
.public String getDescription()
FieldFace
getDescription
in interface FieldFace
getDescription
in interface DescribedElement
null
.public LabelInfo getLabelInfo()
FieldFace
getLabelInfo
in interface FieldFace
public Image getImage()
VisualizedElement
getImage
in interface VisualizedElement
public Icon getIcon()
FieldFace
getIcon
in interface FieldFace
getIcon
in interface VisualizedElement
public void configure(JLabel label)
FieldFace
configure
in interface FieldFace
public void configure(AbstractButton button)
FieldFace
configure
in interface FieldFace
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |