org.beanfabrics.swing.customizer.path
Class PathChooserPM

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.path.PathChooserPM
All Implemented Interfaces:
Bean, ContextOwner, HasComparable, PresentationModel, Supportable, Validatable

public class PathChooserPM
extends AbstractPM

The PathChooserPM is the presentation model of the PathChooserDialog.


Nested Class Summary
static interface PathChooserPM.OnApplyHandler
           
 
Nested classes/interfaces inherited from class org.beanfabrics.model.AbstractPM
AbstractPM.PropertiesValidationRule
 
Field Summary
protected  OperationPM apply
           
protected  PathBrowserPM pathBrowser
           
 
Fields inherited from class org.beanfabrics.model.AbstractPM
KEY_MESSAGE_ONE_OR_MORE_INVALID
 
Constructor Summary
PathChooserPM()
           
 
Method Summary
 void apply()
           
 Path getData()
           
 void onApply(PathChooserPM.OnApplyHandler handler)
           
 void setData(Path data)
           
 void setPathContext(PathContext pathContext)
           
 
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

pathBrowser

protected final PathBrowserPM pathBrowser

apply

protected final OperationPM apply
Constructor Detail

PathChooserPM

public PathChooserPM()
Method Detail

onApply

public void onApply(PathChooserPM.OnApplyHandler handler)

setPathContext

public void setPathContext(PathContext pathContext)

getData

public Path getData()

setData

public void setData(Path data)

apply

public void apply()