Class WindowTabs
- java.lang.Object
-
- org.openbravo.erpCommon.businessUtility.WindowTabs
-
public class WindowTabs extends Object
- Author:
- Fernando Class in charge of building the application's tabs for each window type.
-
-
Constructor Summary
Constructors Constructor Description WindowTabs(ConnectionProvider _conn, VariablesSecureApp _vars, String _className)
Constructor Used by manual windows.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
breadcrumb()
Method to obtain the breadcrumb for this tab.String
childTabs()
String
childTabs(boolean readOnly)
Method to get the child tabs from the actual.String
mainTabs()
Method to get the tabs of the same level as the actual.String
parentTabs()
Method to get the parent's tabs of the actual (If exists).
-
-
-
Constructor Detail
-
WindowTabs
public WindowTabs(ConnectionProvider _conn, VariablesSecureApp _vars, String _className) throws Exception
Constructor Used by manual windows.- Parameters:
_conn
- Object with the database connection methods._vars
- Object with the session information._className
- String with the form's classname.- Throws:
Exception
-
-
Method Detail
-
parentTabs
public String parentTabs()
Method to get the parent's tabs of the actual (If exists).- Returns:
- String with the HTML text for the tabs.
-
mainTabs
public String mainTabs()
Method to get the tabs of the same level as the actual.- Returns:
- String with the HTML of the tabs.
-
childTabs
public String childTabs(boolean readOnly)
Method to get the child tabs from the actual.- Returns:
- String with the HTML of the tabs.
-
childTabs
public String childTabs()
-
breadcrumb
public String breadcrumb()
Method to obtain the breadcrumb for this tab.- Returns:
- String with the HTML of the breadcrumb.
-
-