|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CEditor
Adempiere Editor interface
| Method Summary | |
|---|---|
String |
getDisplay()
Return Display Value |
Object |
getValue()
Return Editor value |
boolean |
isMandatory()
Is Field mandatory |
boolean |
isReadWrite()
Is it possible to edit |
void |
setBackground(boolean error)
Set Background based on editable / mandatory / error |
void |
setMandatory(boolean mandatory)
Set Editor Mandatory |
void |
setReadWrite(boolean rw)
Enable Editor |
void |
setValue(Object value)
Set Editor to value |
void |
setVisible(boolean visible)
Set Visible |
| Method Detail |
|---|
void setReadWrite(boolean rw)
rw - true, if you can enter/select databoolean isReadWrite()
void setMandatory(boolean mandatory)
mandatory - true, if you have to enter databoolean isMandatory()
void setBackground(boolean error)
error - if true, set background to error color, otherwise mandatory/editablevoid setVisible(boolean visible)
visible - true if field is to be shownvoid setValue(Object value)
value - value of the editorObject getValue()
String getDisplay()
|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||