Class OBViewTab
- java.lang.Object
-
- org.openbravo.client.kernel.BaseComponent
-
- org.openbravo.client.kernel.BaseTemplateComponent
-
- org.openbravo.client.application.window.OBViewTab
-
- All Implemented Interfaces:
Component
public class OBViewTab extends BaseTemplateComponent
Represents the Openbravo Tab (form and grid combination).- Author:
- mtaal
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
OBViewTab.ButtonField
class
OBViewTab.IconButton
class
OBViewTab.OtherField
class
OBViewTab.PrintButton
-
Field Summary
Fields Modifier and Type Field Description protected static Map<String,String>
TEMPLATE_MAP
-
Fields inherited from class org.openbravo.client.kernel.BaseTemplateComponent
BASE_QUALIFIER, DATA_PARAMETER
-
Fields inherited from class org.openbravo.client.kernel.BaseComponent
adcs
-
-
Constructor Summary
Constructors Constructor Description OBViewTab()
-
Method Summary
-
Methods inherited from class org.openbravo.client.kernel.BaseTemplateComponent
generate, getData, setComponentTemplate
-
Methods inherited from class org.openbravo.client.kernel.BaseComponent
bypassAuthentication, createComponent, getADCS, getApplicationName, getContentType, getContextUrl, getDependencies, getETag, getId, getLastModified, getModule, getModulePackageName, getParameter, getParameterNames, getParameters, getSafeValue, hasParameter, isClassicMode, isInDevelopment, isInDevelopment, isJavaScriptComponent, nullifyModuleCache, setDependencies, setId, setParameters, stripHost
-
-
-
-
Method Detail
-
getDataSourceJavaScript
public String getDataSourceJavaScript()
-
getNotesDataSourceJavaScript
public String getNotesDataSourceJavaScript()
-
getComponentTemplate
protected Template getComponentTemplate()
- Overrides:
getComponentTemplate
in classBaseTemplateComponent
-
getFieldHandler
public OBViewFieldHandler getFieldHandler()
-
getOtherFields
public List<OBViewTab.OtherField> getOtherFields()
-
addChildTabComponent
public void addChildTabComponent(OBViewTab childTabComponent)
-
getDefaultEditMode
public boolean getDefaultEditMode()
-
getMapping250
public String getMapping250()
-
getButtonFields
public List<OBViewTab.ButtonField> getButtonFields()
-
setGCSettings
public void setGCSettings(Optional<GCSystem> systemGridConfig, Map<String,Optional<GCTab>> tabsGridConfig)
-
getAllButtonFields
public List<OBViewTab.ButtonField> getAllButtonFields()
-
getIconButtons
public List<OBViewTab.IconButton> getIconButtons()
-
getParentProperty
public String getParentProperty()
-
getDeleteableTable
public boolean getDeleteableTable()
-
getViewForm
public String getViewForm()
-
getViewGrid
public String getViewGrid()
-
getParentTabComponent
public OBViewTab getParentTabComponent()
-
setParentTabComponent
public void setParentTabComponent(OBViewTab parentTabComponent)
-
getHasChildTabsProperty
public String getHasChildTabsProperty()
-
getTab
public Tab getTab()
-
setTab
public void setTab(Tab tab)
-
isTabSet
public boolean isTabSet()
-
getTabId
public String getTabId()
-
getModuleId
public String getModuleId()
-
getEntityName
public String getEntityName()
-
getTabTitle
public String getTabTitle()
-
getDataSourceId
public String getDataSourceId()
-
getSelectionFunction
public String getSelectionFunction()
-
setTabTitle
public void setTabTitle(String tabTitle)
-
getAcctTab
public boolean getAcctTab()
-
getTrlTab
public boolean getTrlTab()
-
getTableId
public String getTableId()
-
getKeyProperty
public Property getKeyProperty()
-
isDataSourceTable
public boolean isDataSourceTable()
-
getKeyPropertyType
public String getKeyPropertyType()
-
getKeyColumnName
public String getKeyColumnName()
-
getKeyInpName
public String getKeyInpName()
-
getWindowId
public String getWindowId()
-
isButtonSessionLogic
public boolean isButtonSessionLogic()
-
setUniqueString
public void setUniqueString(String uniqueString)
-
getProcessViews
public String getProcessViews()
-
isAllowAdd
public boolean isAllowAdd()
-
isAllowDelete
public boolean isAllowDelete()
-
isShowSelect
public boolean isShowSelect()
-
getSelectionType
public String getSelectionType()
-
getNewFunction
public String getNewFunction()
-
getRemoveFunction
public String getRemoveFunction()
-
getShowIf
public String getShowIf()
-
getDefaultTreeViewLogicIf
public String getDefaultTreeViewLogicIf()
-
getPreferenceAttributes
public String getPreferenceAttributes()
-
getPreferenceAttributesNames
public String getPreferenceAttributesNames()
-
isRootTab
public boolean isRootTab()
-
setRootTab
public void setRootTab(boolean isRootTab)
-
isShowParentButtons
public boolean isShowParentButtons()
-
isTree
public boolean isTree()
-
getTreeGrid
public String getTreeGrid()
-
getReferencedTableId
public String getReferencedTableId()
-
-