org.pm4j.core.pm.impl
Class PmElementImpl

java.lang.Object
  extended by org.pm4j.core.pm.impl.PmObjectBase
      extended by org.pm4j.core.pm.impl.PmDataInputBase
          extended by org.pm4j.core.pm.impl.PmElementBase
              extended by org.pm4j.core.pm.impl.PmElementImpl
All Implemented Interfaces:
java.lang.Comparable<PmObject>, PmDataInput, PmElement, PmObject, PmTreeNode
Direct Known Subclasses:
PmTabSetImpl

public class PmElementImpl
extends PmElementBase

A presentation model that is not in front of a bean. It holds its data values locally.

Author:
olaf boede

Nested Class Summary
 
Nested classes/interfaces inherited from class org.pm4j.core.pm.impl.PmObjectBase
PmObjectBase.MetaData, PmObjectBase.NameBuilder, PmObjectBase.NameBuilderAbsoluteName, PmObjectBase.NameBuilderShortName, PmObjectBase.NameBuilderTitle
 
Field Summary
 
Fields inherited from class org.pm4j.core.pm.impl.PmObjectBase
pmCacheLog
 
Fields inherited from interface org.pm4j.core.pm.PmObject
STYLE_CLASS_DISABLED, STYLE_CLASS_ERROR, STYLE_CLASS_INFO, STYLE_CLASS_REQUIRED, STYLE_CLASS_WARN
 
Constructor Summary
PmElementImpl()
          Default constructor.
PmElementImpl(PmObject pmParent)
          Creates an element within its session scope.
 
Method Summary
 
Methods inherited from class org.pm4j.core.pm.impl.PmElementBase
accept, clearCachedPmValues, findAnnotationsInPmHierarchy, getNodeDetailsPm, getPmAttribute, getPmAttributes, getPmChildNodes, getPmChildNodesImpl, getPmConversation, getPmKey, isPmReadonlyImpl, isPmTreeLeaf, isValidatingOnSetPmValue, makeMetaData
 
Methods inherited from class org.pm4j.core.pm.impl.PmDataInputBase
commitBufferedPmChanges, isBufferedPmValueMode, isPmValueChanged, pmValidate, resetPmValues, rollbackBufferedPmChanges
 
Methods inherited from class org.pm4j.core.pm.impl.PmObjectBase
addToPmComposite, canSetPmTitle, clearPmInvalidValues, compareTo, ensurePmMetaDataInitialization, getPmConversationImpl, getPmIconPath, getPmMetaData, getPmMetaDataWithoutPmInitCall, getPmName, getPmParent, getPmProperty, getPmRelativeName, getPmResKey, getPmResKeyBase, getPmResLoaderCtxtClasses, getPmShortTitle, getPmStyleClasses, getPmStyleClassesImpl, getPmTitle, getPmTitleDef, getPmTitleImpl, getPmTooltip, getPmTooltipImpl, getVisiblePmCommands, getVisiblePmCommands, initMetaData, isMetaDataInitialized, isPmEnabled, isPmEnabledImpl, isPmReadonly, isPmValid, isPmVisible, isPmVisibleImpl, onPmChildStateChange, onPmInit, onPmValueChange, readCacheStrategy, removePmChild, setPmEnabled, setPmParent, setPmProperty, setPmTitle, setPmVisible, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.pm4j.core.pm.PmDataInput
commitBufferedPmChanges, isBufferedPmValueMode, isPmValueChanged, pmValidate, resetPmValues, rollbackBufferedPmChanges
 
Methods inherited from interface org.pm4j.core.pm.PmObject
canSetPmTitle, compareTo, getPmIconPath, getPmName, getPmParent, getPmProperty, getPmRelativeName, getPmShortTitle, getPmStyleClasses, getPmTitle, getPmTooltip, isPmEnabled, isPmReadonly, isPmValid, isPmVisible, setPmEnabled, setPmParent, setPmProperty, setPmTitle, setPmVisible
 

Constructor Detail

PmElementImpl

public PmElementImpl()
Default constructor. Creates a not yet initialized element. Before further usage the method PmObjectBase.setPmParent(PmObject) should be called.

Used for dependency injection frameworks that don't support constructor initialization. For example JSF.


PmElementImpl

public PmElementImpl(PmObject pmParent)
Creates an element within its session scope.

Parameters:
pmParent - The PM context the element is created in.