1 /****************************************************************************** 2 * The contents of this file are subject to the Compiere License Version 1.1 3 * ("License"); You may not use this file except in compliance with the License 4 * You may obtain a copy of the License at http://www.compiere.org/license.html 5 * Software distributed under the License is distributed on an "AS IS" basis, 6 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for 7 * the specific language governing rights and limitations under the License. 8 * The Original Code is Compiere ERP & CRM Business Solution 9 * The Initial Developer of the Original Code is Jorg Janke and ComPiere, Inc. 10 * Portions created by Jorg Janke are Copyright (C) 1999-2002 Jorg Janke, parts 11 * created by ComPiere are Copyright (C) ComPiere, Inc.; All Rights Reserved. 12 * Contributor(s): ______________________________________. 13 *****************************************************************************/ 14 package org.compiere.grid; 15 16 import org.compiere.apps.*; 17 18 /** 19 * Application Panel Tab Interface. 20 * Interface for CPanels displayed as a Tab in APanel 21 * 22 * @author Jorg Janke 23 * @version $Id: APanelTab.java,v 1.1 2002/08/22 04:20:29 jjanke Exp $ 24 */ 25 public interface APanelTab 26 { 27 /** 28 * Load Data 29 * Called when tab is displayed. 30 */ 31 public void loadData(); 32 33 /** 34 * Save Data 35 * Called when tab is swiched to another tab. 36 */ 37 public void saveData(); 38 39 /** 40 * Register APanel 41 * @param panel panel 42 */ 43 public void registerAPanel (APanel panel); 44 45 /** 46 * Unregister APanel 47 */ 48 public void unregisterPanel (); 49 50 } // APanelTab