|
|||||||||
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
public abstract class AbstractPM
The AbstractPM
is the general superclass of PM components.
Usually you will extend this class to create new PM components, or any of its descendents.
Nested Class Summary | |
---|---|
class |
AbstractPM.PropertiesValidationRule
This rule evaluates to invalid if at least one of this PM's direct children is invalid (but not an instance of IOperationPM ). |
Field Summary | |
---|---|
protected static java.lang.String |
KEY_MESSAGE_ONE_OR_MORE_INVALID
|
Constructor Summary | |
---|---|
protected |
AbstractPM()
Constructs a AbstractPM . |
Method Summary | |
---|---|
java.lang.Comparable<?> |
getComparable()
Returns the comparable substitute. |
Context |
getContext()
Returns the Context . |
SupportMap |
getSupportMap()
Returns the SupportMap of this object. |
void |
revalidateProperties()
Revalidates all properties of this PM. |
Methods inherited from class org.beanfabrics.ValidatableBean |
---|
getValidationState, getValidator, isValid, revalidate, 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.Bean |
---|
addPropertyChangeListener, addPropertyChangeListener, getPropertyChangeSupport, removePropertyChangeListener, removePropertyChangeListener |
Methods inherited from interface org.beanfabrics.validation.Validatable |
---|
getValidationState, getValidator, isValid, revalidate |
Field Detail |
---|
protected static final java.lang.String KEY_MESSAGE_ONE_OR_MORE_INVALID
Constructor Detail |
---|
protected AbstractPM()
AbstractPM
.
Method Detail |
---|
public SupportMap getSupportMap()
SupportMap
of this object.
getSupportMap
in interface Supportable
SupportMap
of this objectpublic Context getContext()
Context
.
The context is assumed being constant. Implementors must not change their context reference during lifetime.
getContext
in interface ContextOwner
public java.lang.Comparable<?> getComparable()
Override this method to control how instances of this class are sorted by a Sorter.
getComparable
in interface HasComparable
public void revalidateProperties()
Validatable.revalidate()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |