org.beanfabrics.swing.customizer.table
Class ColumnPM

java.lang.Object
  extended by org.beanfabrics.AbstractBean
      extended by org.beanfabrics.ValidatableBean
          extended by org.beanfabrics.model.AbstractPM
              extended by org.beanfabrics.swing.customizer.table.ColumnPM
All Implemented Interfaces:
Bean, ContextOwner, HasComparable, PresentationModel, Supportable, Validatable

public class ColumnPM
extends AbstractPM

The ColumnPM is a presentation model presenting a BnColumn.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.beanfabrics.model.AbstractPM
AbstractPM.PropertiesValidationRule
 
Field Summary
protected  HorizontalAlignmentPM alignment
           
protected  TextPM columnName
           
protected  BooleanPM fixedWidth
           
protected  PathPM operationPath
           
protected  PathPM path
           
 PathNode rootPathNode
           
protected  IntegerPM width
           
 
Fields inherited from class org.beanfabrics.model.AbstractPM
KEY_MESSAGE_ONE_OR_MORE_INVALID
 
Constructor Summary
ColumnPM(PathNode rootPathNode)
           
 
Method Summary
 BnColumn getData()
           
 void setData(BnColumn col)
           
 
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
 

Field Detail

path

protected final PathPM path

columnName

protected final TextPM columnName

width

protected final IntegerPM width

fixedWidth

protected final BooleanPM fixedWidth

operationPath

protected final PathPM operationPath

alignment

protected final HorizontalAlignmentPM alignment

rootPathNode

public PathNode rootPathNode
Constructor Detail

ColumnPM

public ColumnPM(PathNode rootPathNode)
Method Detail

setData

public void setData(BnColumn col)

getData

public BnColumn getData()