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-2001 Jorg Janke, parts 11 * created by ComPiere are Copyright (C) ComPiere, Inc.; All Rights Reserved. 12 * Contributor(s): ______________________________________. 13 *****************************************************************************/ 14 package org.compiere.swing; 15 16 /** 17 * Compiere Field external popup Interface. 18 * The actual class must be a JDialog 19 * 20 * @author Jorg Janke 21 * @version $Id: CFieldPopup.java,v 1.3 2003/09/26 23:49:13 jjanke Exp $ 22 */ 23 public interface CFieldPopup 24 { 25 /** 26 * Show Popup 27 */ 28 public void show (); 29 30 /** 31 * Set Value 32 * @param value 33 */ 34 public void setValue (Object value); 35 36 /** 37 * Get Value 38 * @return value 39 */ 40 public Object getValue(); 41 42 /** 43 * Set Format 44 * @param format 45 */ 46 public void setFormat (Object format); 47 48 /** 49 * Get Format 50 * @return format 51 */ 52 public Object getFormat(); 53 54 } // CFieldPopup 55