|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IValuePM
The IValuePM
is the general interface of PM components that contain
some 'value' and other additional attributes which are generally usefull for
user interface programming, like title, description, mandatory, and editable.
Method Summary | |
---|---|
java.lang.String |
getDescription()
Returns the description of this PM. |
java.lang.String |
getTitle()
Returns the title of this PM. |
boolean |
isEditable()
Returns whether the value of this PM could be modified by the view. |
boolean |
isEmpty()
Returns whether the value of this PM is interpreted as an empty value. |
boolean |
isMandatory()
Returns whether this PM requires a non-empty value. |
void |
setDescription(java.lang.String description)
Sets the description of this PM. |
void |
setEditable(boolean editable)
Sets the specified boolean to indicate whether or not this PM is editable. |
void |
setMandatory(boolean mandatory)
Sets whether this PM requires a non-empty value. |
void |
setTitle(java.lang.String title)
Sets the title of this PM. |
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 |
Method Detail |
---|
java.lang.String getDescription()
void setDescription(java.lang.String description)
description
- getDescription()
boolean isMandatory()
isEmpty()
void setMandatory(boolean mandatory)
mandatory
- set to true
if this PM requires a non-empty
valueisMandatory()
java.lang.String getTitle()
void setTitle(java.lang.String title)
title
- getTitle()
boolean isEditable()
false
the view must not change the value but the
programmer still can do it.
void setEditable(boolean editable)
editable
- the boolean to be setisEditable()
boolean isEmpty()
true
if this PM contains an empty value
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |