|
||||||||||
| 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.IconPM
public class IconPM
The IconPM is a presentation model for a Swing icon.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.beanfabrics.model.AbstractValuePM |
|---|
AbstractValuePM.DefaultValidationRule |
| Nested classes/interfaces inherited from class org.beanfabrics.model.AbstractPM |
|---|
AbstractPM.PropertiesValidationRule |
| Constructor Summary | |
|---|---|
IconPM()
|
|
| Method Summary | |
|---|---|
java.lang.Comparable |
getComparable()
|
javax.swing.Icon |
getIcon()
|
boolean |
isEmpty()
Return true if the content of this model is interpreted as
empty. |
void |
setIcon(javax.swing.Icon newIcon)
|
void |
setIconUrl(java.net.URL url)
|
| 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 |
|---|
createPropertiesValidationRule, 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, 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 |
| Constructor Detail |
|---|
public IconPM()
| Method Detail |
|---|
public void setIcon(javax.swing.Icon newIcon)
public javax.swing.Icon getIcon()
getIcon in interface IIconPMpublic void setIconUrl(java.net.URL url)
public boolean isEmpty()
IValuePMtrue if the content of this model is interpreted as
empty.
isEmpty in interface IValuePMtrue if content is empty, else falsepublic java.lang.Comparable getComparable()
getComparable in interface IValuePM
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||