Package org.openbravo.erpCommon.utility
Class ToolBar
- java.lang.Object
-
- org.openbravo.erpCommon.utility.ToolBar
-
public class ToolBar extends Object
-
-
Constructor Summary
Constructors Constructor Description ToolBar(ConnectionProvider _conn, boolean _isEditable, String _language, String _action, boolean _isNew, String _keyINP, String _gridID, String _PDFName, boolean _isDirectPrinting, String _windowName, String _baseDirection, boolean _debug)
ToolBar(ConnectionProvider _conn, boolean _isEditable, String _language, String _action, boolean _isNew, String _keyINP, String _gridID, String _PDFName, boolean _isDirectPrinting, String _windowName, String _baseDirection, boolean _debug, boolean _isSrcWindow)
ToolBar(ConnectionProvider _conn, boolean _isEditable, String _language, String _action, boolean _isNew, String _keyINP, String _gridID, String _PDFName, boolean _isDirectPrinting, String _windowName, String _baseDirection, boolean _debug, boolean _isSrcWindow, boolean _isFrame)
ToolBar(ConnectionProvider _conn, boolean _isEditable, String _language, String _action, boolean _isNew, String _keyINP, String _gridID, String _PDFName, boolean _isDirectPrinting, String _windowName, String _baseDirection, boolean _debug, boolean _isSrcWindow, boolean _isFrame, boolean _hasAttachments)
ToolBar(ConnectionProvider _conn, boolean _isEditable, String _language, String _action, boolean _isNew, String _keyINP, String _gridID, String _PDFName, boolean _isDirectPrinting, String _windowName, String _baseDirection, boolean _debug, boolean _isSrcWindow, boolean _isFrame, boolean _hasAttachments, boolean _hasNewButton)
Constructor used by the edit view of all generated windows.ToolBar(ConnectionProvider _conn, String _language, String _action, boolean _isNew, String _keyINP, String _gridID, String _PDFName, boolean _isDirectPrinting, String _windowName, String _baseDirection, boolean _debug)
Constructor used by the grid view of all generated windows.ToolBar(ConnectionProvider _conn, String _language, String _action, boolean _isNew, String _keyINP, String _gridID, String _PDFName, boolean _isDirectPrinting, String _windowName, String _baseDirection, boolean _debug, boolean _isSrcWindow)
ToolBar(ConnectionProvider _conn, String _language, String _action, boolean _isNew, String _keyINP, String _gridID, String _PDFName, boolean _isDirectPrinting, String _windowName, String _baseDirection, boolean _debug, boolean _isSrcWindow, boolean _isFrame)
ToolBar(ConnectionProvider _conn, String _language, String _action, boolean _isNew, String _keyINP, String _gridID, String _PDFName, boolean _isDirectPrinting, String _windowName, String _baseDirection, boolean _debug, boolean _isSrcWindow, boolean _isFrame, boolean _hasAttachements)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
prepareQueryTemplate(boolean hasPrevious, boolean hasNext, boolean isTest)
void
prepareRelationBarTemplate(boolean hasPrevious, boolean hasNext)
void
prepareRelationBarTemplate(boolean hasPrevious, boolean hasNext, String excelScript)
void
prepareSimpleExcelToolBarTemplate(String excelScript)
void
prepareSimpleToolBarTemplate()
void
removeElement(String name)
void
setEmail(boolean email)
String
toString()
-
-
-
Constructor Detail
-
ToolBar
public ToolBar(ConnectionProvider _conn, String _language, String _action, boolean _isNew, String _keyINP, String _gridID, String _PDFName, boolean _isDirectPrinting, String _windowName, String _baseDirection, boolean _debug)
Constructor used by the grid view of all generated windows.
-
ToolBar
public ToolBar(ConnectionProvider _conn, String _language, String _action, boolean _isNew, String _keyINP, String _gridID, String _PDFName, boolean _isDirectPrinting, String _windowName, String _baseDirection, boolean _debug, boolean _isSrcWindow)
-
ToolBar
public ToolBar(ConnectionProvider _conn, String _language, String _action, boolean _isNew, String _keyINP, String _gridID, String _PDFName, boolean _isDirectPrinting, String _windowName, String _baseDirection, boolean _debug, boolean _isSrcWindow, boolean _isFrame)
-
ToolBar
public ToolBar(ConnectionProvider _conn, String _language, String _action, boolean _isNew, String _keyINP, String _gridID, String _PDFName, boolean _isDirectPrinting, String _windowName, String _baseDirection, boolean _debug, boolean _isSrcWindow, boolean _isFrame, boolean _hasAttachements)
-
ToolBar
public ToolBar(ConnectionProvider _conn, boolean _isEditable, String _language, String _action, boolean _isNew, String _keyINP, String _gridID, String _PDFName, boolean _isDirectPrinting, String _windowName, String _baseDirection, boolean _debug)
-
ToolBar
public ToolBar(ConnectionProvider _conn, boolean _isEditable, String _language, String _action, boolean _isNew, String _keyINP, String _gridID, String _PDFName, boolean _isDirectPrinting, String _windowName, String _baseDirection, boolean _debug, boolean _isSrcWindow)
-
ToolBar
public ToolBar(ConnectionProvider _conn, boolean _isEditable, String _language, String _action, boolean _isNew, String _keyINP, String _gridID, String _PDFName, boolean _isDirectPrinting, String _windowName, String _baseDirection, boolean _debug, boolean _isSrcWindow, boolean _isFrame)
-
ToolBar
public ToolBar(ConnectionProvider _conn, boolean _isEditable, String _language, String _action, boolean _isNew, String _keyINP, String _gridID, String _PDFName, boolean _isDirectPrinting, String _windowName, String _baseDirection, boolean _debug, boolean _isSrcWindow, boolean _isFrame, boolean _hasAttachments)
-
ToolBar
public ToolBar(ConnectionProvider _conn, boolean _isEditable, String _language, String _action, boolean _isNew, String _keyINP, String _gridID, String _PDFName, boolean _isDirectPrinting, String _windowName, String _baseDirection, boolean _debug, boolean _isSrcWindow, boolean _isFrame, boolean _hasAttachments, boolean _hasNewButton)
Constructor used by the edit view of all generated windows.
-
-
Method Detail
-
setEmail
public void setEmail(boolean email)
-
removeElement
public void removeElement(String name)
-
prepareSimpleToolBarTemplate
public void prepareSimpleToolBarTemplate()
-
prepareRelationBarTemplate
public void prepareRelationBarTemplate(boolean hasPrevious, boolean hasNext)
-
prepareRelationBarTemplate
public void prepareRelationBarTemplate(boolean hasPrevious, boolean hasNext, String excelScript)
-
prepareSimpleExcelToolBarTemplate
public void prepareSimpleExcelToolBarTemplate(String excelScript)
-
prepareQueryTemplate
public void prepareQueryTemplate(boolean hasPrevious, boolean hasNext, boolean isTest)
-
-