org.beanfabrics.samples.properties
Class PropertiesPM

java.lang.Object
  extended by org.beanfabrics.AbstractBean
      extended by org.beanfabrics.ValidatableBean
          extended by org.beanfabrics.model.AbstractPM
              extended by org.beanfabrics.model.ListPM<EntryPM>
                  extended by org.beanfabrics.samples.properties.PropertiesPM
All Implemented Interfaces:
java.lang.Iterable<EntryPM>, Bean, ContextOwner, HasComparable, IListPM<EntryPM>, PresentationModel, Supportable, Validatable

public class PropertiesPM
extends ListPM<EntryPM>

The PropertiesPM is a presentation model that shows the contents of a Properties object.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.beanfabrics.model.ListPM
ListPM.ListElementsValidationRule
 
Nested classes/interfaces inherited from class org.beanfabrics.model.AbstractPM
AbstractPM.PropertiesValidationRule
 
Field Summary
 IntegerPM numberOfEntries
           
 IntegerPM numberOfSelectedEntries
           
 TextPM status
           
 
Fields inherited from class org.beanfabrics.model.ListPM
KEY_MESSAGE_INVALID_ELEMENTS, revalidateElementsOnChangeEnabled
 
Fields inherited from class org.beanfabrics.model.AbstractPM
KEY_MESSAGE_ONE_OR_MORE_INVALID
 
Constructor Summary
PropertiesPM()
           
PropertiesPM(java.util.Properties props)
           
 
Method Summary
 void setProperties(java.util.Properties props)
           
 
Methods inherited from class org.beanfabrics.model.ListPM
add, add, addAll, addListListener, clear, contains, containsAll, getAt, getSelection, getSorter, getSortKeys, indexOf, indicesOf, isEmpty, isRevalidateElementsOnChangeEnabled, iterator, listIterator, onEntriesChanged, remove, removeAll, removeAt, removeListListener, replace, replace, revalidateAllExcept, revalidateElements, reverse, setRevalidateElementsOnChangeEnabled, setSorter, size, sortBy, sortBy, sortBy, swap, swap, toArray, toCollection
 
Methods inherited from class org.beanfabrics.model.AbstractPM
getComparable, getContext, getSupportMap, revalidateProperties
 
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
 
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
 

Field Detail

numberOfSelectedEntries

public final IntegerPM numberOfSelectedEntries

numberOfEntries

public final IntegerPM numberOfEntries

status

public final TextPM status
Constructor Detail

PropertiesPM

public PropertiesPM()

PropertiesPM

public PropertiesPM(java.util.Properties props)
Method Detail

setProperties

public void setProperties(java.util.Properties props)