Package org.compiere.apps.form
Class TabEditor
- java.lang.Object
-
- org.compiere.apps.form.TabEditor
-
- Direct Known Subclasses:
WTabEditor
public class TabEditor extends Object
- Author:
- Juan David Arboleda, Carlos Ruiz
-
-
Field Summary
Fields Modifier and Type Field Description protected int
AD_UserDef_Tab_ID
protected boolean
isBaseLang
protected boolean
isSystem
static CLogger
log
LoggerMTab
m_tab
-
Constructor Summary
Constructors Constructor Description TabEditor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
cmd_save()
MField
getActiveMField()
String
getFieldGroup(MField field)
Return the name of the group field of the fieldString
getFieldGroupType(MField field)
Return the type of the group field of the fieldprotected GridField
getGridField(MField field)
List<GridField>
getGridFields()
protected MField
getMField(int fieldid)
List<MField>
getMFields()
MTab
getMTab()
protected void
initMFields(int windowNo, int tabid)
protected MField
loadUserDefField(MField field)
Load MUserDefField data to MFieldprotected void
resortArrays()
protected void
saveUserDefField(MField field)
Convert MField to MUserDefField and saveprotected void
setActiveMField(MField field)
void
updateFieldList(MField field)
Update the current field list with new reloaded values for a field
-
-
-
Method Detail
-
getMTab
public MTab getMTab()
-
initMFields
protected void initMFields(int windowNo, int tabid)
-
cmd_save
public boolean cmd_save()
-
getMField
protected MField getMField(int fieldid)
-
getActiveMField
public MField getActiveMField()
-
setActiveMField
protected void setActiveMField(MField field)
-
resortArrays
protected void resortArrays()
-
loadUserDefField
protected MField loadUserDefField(MField field)
Load MUserDefField data to MField- Parameters:
field
-- Returns:
- MField
-
saveUserDefField
protected void saveUserDefField(MField field)
Convert MField to MUserDefField and save- Parameters:
field
-
-
updateFieldList
public void updateFieldList(MField field)
Update the current field list with new reloaded values for a field- Parameters:
field
-
-
getFieldGroup
public String getFieldGroup(MField field)
Return the name of the group field of the field
-
-