org.beanfabrics.model
Interface IOperationPM

All Superinterfaces:
Bean, ContextOwner, PresentationModel, Supportable, Validatable
All Known Implementing Classes:
AbstractOperationPM, OperationPM

public interface IOperationPM
extends PresentationModel

Author:
Michael Karneim

Method Summary
 void check()
           
 void execute()
           
 java.lang.String getDescription()
           
 javax.swing.Icon getIcon()
           
 java.lang.String getTitle()
           
 Validator getValidator()
          Returns the Validator of this validatable object.
 boolean isEnabled()
           
 void setDescription(java.lang.String description)
           
 void setIcon(javax.swing.Icon icon)
           
 void setIconUrl(java.net.URL url)
           
 void setTitle(java.lang.String title)
           
 
Methods inherited from interface org.beanfabrics.Bean
addPropertyChangeListener, addPropertyChangeListener, getPropertyChangeSupport, removePropertyChangeListener, removePropertyChangeListener
 
Methods inherited from interface org.beanfabrics.validation.Validatable
getValidationState, isValid, revalidate
 
Methods inherited from interface org.beanfabrics.support.Supportable
getSupportMap
 
Methods inherited from interface org.beanfabrics.context.ContextOwner
getContext
 

Method Detail

execute

void execute()
             throws java.lang.Throwable
Throws:
java.lang.Throwable

isEnabled

boolean isEnabled()

check

void check()
           throws java.lang.IllegalStateException
Throws:
java.lang.IllegalStateException

getDescription

java.lang.String getDescription()

setDescription

void setDescription(java.lang.String description)

getValidator

Validator getValidator()
Returns the Validator of this validatable object.

Specified by:
getValidator in interface Validatable
Returns:
the Validator of this validatable object

getTitle

java.lang.String getTitle()

setTitle

void setTitle(java.lang.String title)

getIcon

javax.swing.Icon getIcon()

setIcon

void setIcon(javax.swing.Icon icon)

setIconUrl

void setIconUrl(java.net.URL url)


© 2010 by Michael Karneim, http://www.beanfabrics.org