|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITextPM
The ITextPM
is the interface of PM components that support a text
value.
Method Summary | |
---|---|
Options |
getOptions()
Returns the options. |
java.lang.String |
getText()
Returns the text value of this PM. |
boolean |
isModified()
Returns whether this PM is modified. |
void |
preset()
Sets the default text of this PM to the text value of this PM. |
void |
reformat()
Reformats the text value by first parsing it and the formatting it with an appropriate format. |
void |
reset()
Sets the value of this PM to the value of the default text. |
void |
setOptions(Options options)
Sets the Options . |
void |
setText(java.lang.String aText)
Set the value of this OPm to the given text. |
Methods inherited from interface org.beanfabrics.model.IValuePM |
---|
getDescription, getTitle, isEditable, isEmpty, isMandatory, setDescription, setEditable, setMandatory, setTitle |
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 getText()
void setText(java.lang.String aText)
null
, it will be changed into the empty string
""
.
aText
- the text valueboolean isModified()
getText()
,
preset()
void reset()
void preset()
void setOptions(Options options)
Options
. This attribute is used by some view components
to show possible text values that can be choosen.
options
- Options getOptions()
setOptions(Options)
void reformat()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |