|
Compiere Looks 1.2.1 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Compiere 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 |
public void setReadWrite(boolean rw)
rw
- true, if you can enter/select datapublic boolean isReadWrite()
public void setMandatory(boolean mandatory)
mandatory
- true, if you have to enter datapublic boolean isMandatory()
public void setBackground(boolean error)
error
- if true, set background to error color, otherwise mandatory/editablepublic void setVisible(boolean visible)
visible
- true if field is to be shownpublic void setValue(Object value)
value
- value of the editorpublic Object getValue()
public String getDisplay()
|
Compiere Looks 1.2.1 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |