|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BoundControl
The BoundControl interface defines the basic functions that controls must provide for data binding.
Method Summary | |
---|---|
nextapp.echo2.app.Border |
getBorder()
Returns the widget's border. |
java.lang.Object |
getValue()
Returns the value currently stored in the widget. |
boolean |
isDirty()
Checks, if the widget's input was changed by the user. |
boolean |
isValid()
Checks, if the widget's input is valid. |
void |
save()
Commits the control's state to the modell. |
void |
setAdapterId(java.lang.String adapterId)
Sets the adaper id for this widget. |
void |
setBindingConext(BindingContext context)
Sets the binding context for this widget. |
void |
setBorder(nextapp.echo2.app.Border border)
Sets the widget's border. |
void |
setValue(java.lang.Object value)
Sets the value of the widget. |
void |
update()
Loads the model's state into the control. |
void |
validateInput()
Validates the widget's input and invokes the validation handler to report validation errors. |
Methods inherited from interface net.sf.echobinding.model.ComponentModel |
---|
addActionListener, addPropertyChangeListener, isEnabled, isVisible, setEnabled, setVisible |
Methods inherited from interface java.beans.PropertyChangeListener |
---|
propertyChange |
Method Detail |
---|
void setBindingConext(BindingContext context)
context
- the contextvoid setAdapterId(java.lang.String adapterId)
adapterId
- the adapter idvoid update()
void save()
boolean isValid()
boolean isDirty()
void validateInput()
java.lang.Object getValue()
void setValue(java.lang.Object value)
value
- nextapp.echo2.app.Border getBorder()
void setBorder(nextapp.echo2.app.Border border)
border
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |