|
Servoy 5.x Public API | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface IDisplay
Interface for components that have some additional functionality.
It is meant for components that are linked to dataProviders.
| Method Summary | |
|---|---|
boolean |
isEnabled()
Enabled displays are displays the user can interact with and are an active part of the UI. |
boolean |
isReadOnly()
Read-only displays are displays that do not let the user alter their displayed value. |
void |
setValidationEnabled(boolean mode)
Displays usually have special behavior in find mode - most of the times disabling validation & becoming editable. This is called when entering/exiting find mode. |
boolean |
stopUIEditing(boolean looseFocus)
The method gets called when Servoy wants the contents of an display to be committed to it's model and make sure it is not editing content (can be record change, active form change, save, ...). |
| Method Detail |
|---|
boolean isEnabled()
boolean isReadOnly()
void setValidationEnabled(boolean mode)
mode - true if not in find mode (so normal mode) and false if in find mode.boolean stopUIEditing(boolean looseFocus)
looseFocus - if true perform any special action needed for the display to loose focus. Most of the times this is not used. Example - a table like
display might need to do some "cell editing stop" related tasks.
|
Copyright © 2010 Servoy B.V. | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||