Configable.java
/*
* $RCSfile: Configable.java,v $
* $Id: Configable.java,v 1.6 1998/11/30 02:21:07 devnull Exp $
* by Lee Wilson, http://www.ad1440.net/~devnull
* Development started on 1998 10 01
* (c) Devnull Software, LLC. (http://www.devnullsoftware.com)
*/
package com.devnullsoftware.config;
/**
* Comfigurable Component System item interface.
*
* @version 1.0 $Date$
* @author Lee Wilson (devnull@ad1440.net)
*/
import java.io.*;
import java.util.*;
public interface Configable {
/**
gets the parameters for the ConfigWindow class to create it's window.
@return a Vector which contains the following:
index 0: an Integer with the number of tabs
index 1: a Vector with the titles of the tabs
index 2: a Vector with ConfigComponents for the first tab
index 3: a Vector with ConfigComponents for the second tab
etc.
*/
abstract Vector getParams ();
/**
Any Processing that needs to be done after the ConfigWindow is closed
and has asssigned any values it's going to
*/
abstract void postConfig () throws Exception;
}