key0-96/
key0-96/doc/key/
key0-96/doc/key/credits/
key0-96/doc/key/developers/
key0-96/doc/key/developers/resources/
key0-96/setup/caves/
key0-96/setup/help/
key0-96/setup/ruins/
key0-96/src/
key0-96/src/commands/
key0-96/src/events/
key0-96/src/hack/
key0-96/src/sql/
key0-96/src/swing/
key0-96/src/talker/forest/
key0-96/src/talker/objects/
key0-96/src/terminals/
/*
**               j###t  ########## ####   ####
**              j###t   ########## ####   ####
**             j###T               "###L J###"
**          ######P'    ##########  #########
**          ######k,    ##########   T######T
**          ####~###L   ####
**          #### q###L  ##########   .#####
**          ####  \###L ##########   #####"
**
**  $Id: ConnectionConfiguration.java,v 1.3 1997/07/29 12:46:49 subtle Exp subtle $
**
**  Class History
**  
**  Date        Name         Description
**  ---------|------------|-----------------------------------------------
**  20Jul97     subtle       created this class
**
*/

package key.config;

import key.*;
import java.io.*;

public class ConnectionConfiguration extends Atom implements Configuration
{
	public static final AtomicElement[] ELEMENTS =
	{
		AtomicElement.construct( ConnectionConfiguration.class, Paragraph.class,
			"newbieConfirm",
			AtomicElement.PUBLIC_FIELD,
			"the message displayed to a newbie to confirm their name" ),
		AtomicElement.construct( ConnectionConfiguration.class, Paragraph.class,
			"disclaimer",
			AtomicElement.PUBLIC_FIELD,
			"the standard disclaimer, agreed to by all on the program" ),
		AtomicElement.construct( ConnectionConfiguration.class, Paragraph.class,
			"newbieA",
			AtomicElement.PUBLIC_FIELD,
			"an introductory screen for newbies" ),
		AtomicElement.construct( ConnectionConfiguration.class, Paragraph.class,
			"newbieB",
			AtomicElement.PUBLIC_FIELD,
			"the second introductory screen for newbies" ),
		AtomicElement.construct( ConnectionConfiguration.class, Paragraph.class,
			"genderRequest",
			AtomicElement.PUBLIC_FIELD,
			"the screen used to ask a newbie for their gender" )
	};
	
	public static final AtomicStructure STRUCTURE = new AtomicStructure( Atom.STRUCTURE, ELEMENTS );
	
	public Paragraph newbieConfirm = new TextParagraph( TextParagraph.LEFT, "At this point in time I'm going to ask you if you want to use this name, or select another.  First, however, it is important that you understand that names on Forest are often abbreviated and that its always much easier if you pick a name that doesn't conflict closely with anyone elses.  To help you decide whether you really want to use this name or not, here is a list of names that we believe may be close matches to yours:", 2, 2, 0, 0 );

	public Paragraph disclaimer = new TextParagraph();
	public Paragraph newbieA = new TextParagraph();
	public Paragraph newbieB = new TextParagraph();
	public Paragraph genderRequest = new TextParagraph( TextParagraph.LEFT, "This program requires that you specify your gender.  This is used for the purposes of correct grammar.  Below, enter either m or f to indicate whether you are male or female.", 2, 2, 0, 0 );
	
	public ConnectionConfiguration()
	{
		setKey( "connection" );
	}
	
	public AtomicStructure getDeclaredStructure()
	{
		return( STRUCTURE );
	}
}