|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.beanfabrics.AbstractBean
org.beanfabrics.ValidatableBean
org.beanfabrics.model.AbstractPM
org.beanfabrics.model.AbstractValuePM
org.beanfabrics.model.TextPM
org.beanfabrics.model.IconTextPM
public class IconTextPM
The IconTextPM
is an extended TextPM
that holds an additional
Icon
attribute.
Please Note: this class will be moved to the org.beanfabrics.swing.model package soon.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.beanfabrics.model.TextPM |
---|
TextPM.DefaultOptionsValidationRule, TextPM.TextComparable |
Nested classes/interfaces inherited from class org.beanfabrics.model.AbstractValuePM |
---|
AbstractValuePM.MandatoryValidationRule |
Nested classes/interfaces inherited from class org.beanfabrics.model.AbstractPM |
---|
AbstractPM.PropertiesValidationRule |
Field Summary |
---|
Fields inherited from class org.beanfabrics.model.TextPM |
---|
KEY_MESSAGE_VALUE_NOT_AN_OPTION |
Fields inherited from class org.beanfabrics.model.AbstractValuePM |
---|
KEY_MESSAGE_MANDATORY |
Fields inherited from class org.beanfabrics.model.AbstractPM |
---|
KEY_MESSAGE_ONE_OR_MORE_INVALID |
Constructor Summary | |
---|---|
IconTextPM()
|
Method Summary | |
---|---|
javax.swing.Icon |
getIcon()
Returns the Icon value of this PM. |
void |
setIcon(javax.swing.Icon newIcon)
Sets the Icon value of this PM. |
void |
setIconUrl(java.net.URL url)
Sets the URL to the resource containing an Image that
should be used as Icon value of this PM. |
Methods inherited from class org.beanfabrics.model.TextPM |
---|
getComparable, getDefaultText, getOptions, getText, getText, isEmpty, isModified, isRestrictedToOptions, preset, reformat, reset, setDefaultText, setOptions, setRestrictedToOptions, setText |
Methods inherited from class org.beanfabrics.model.AbstractValuePM |
---|
getDescription, getTitle, isEditable, isMandatory, revalidate, setDescription, setEditable, setMandatory, setTitle |
Methods inherited from class org.beanfabrics.model.AbstractPM |
---|
getContext, getSupportMap, revalidateProperties |
Methods inherited from class org.beanfabrics.ValidatableBean |
---|
getValidationState, getValidator, isValid, setValidationState |
Methods inherited from class org.beanfabrics.AbstractBean |
---|
addPropertyChangeListener, addPropertyChangeListener, equals, getPropertyChangeSupport, removePropertyChangeListener, removePropertyChangeListener |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.beanfabrics.model.IValuePM |
---|
getDescription, getTitle, isEditable, isEmpty, isMandatory, setDescription, setEditable, setMandatory, setTitle |
Methods inherited from interface org.beanfabrics.Bean |
---|
addPropertyChangeListener, addPropertyChangeListener, getPropertyChangeSupport, removePropertyChangeListener, removePropertyChangeListener |
Methods inherited from interface org.beanfabrics.validation.Validatable |
---|
getValidationState, getValidator, isValid, revalidate |
Methods inherited from interface org.beanfabrics.support.Supportable |
---|
getSupportMap |
Methods inherited from interface org.beanfabrics.context.ContextOwner |
---|
getContext |
Methods inherited from interface org.beanfabrics.HasComparable |
---|
getComparable |
Constructor Detail |
---|
public IconTextPM()
Method Detail |
---|
public void setIcon(javax.swing.Icon newIcon)
Icon
value of this PM.
newIcon
- public javax.swing.Icon getIcon()
Icon
value of this PM.
getIcon
in interface IIconPM
Icon
value of this PMpublic void setIconUrl(java.net.URL url)
URL
to the resource containing an Image
that
should be used as Icon
value of this PM.
url
- the URL to the Image
resourcesetIcon(Icon)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |