/**************************************************************************
* Copyright (c) 2001 by Acunia N.V. All rights reserved. *
* *
* This software is copyrighted by and is the sole property of Acunia N.V. *
* and its licensors, if any. All rights, title, ownership, or other *
* interests in the software remain the property of Acunia N.V. and its *
* licensors, if any. *
* *
* This software may only be used in accordance with the corresponding *
* license agreement. Any unauthorized use, duplication, transmission, *
* distribution or disclosure of this software is expressly forbidden. *
* *
* This Copyright notice may not be removed or modified without prior *
* written consent of Acunia N.V. *
* *
* Acunia N.V. reserves the right to modify this software without notice. *
* *
* Acunia N.V. *
* Vanden Tymplestraat 35 info@acunia.com *
* 3000 Leuven http://www.acunia.com *
* Belgium - EUROPE *
**************************************************************************/
// Author: J. Vandeneede
// Created: 2001/03/13
package com.acunia.wonka.test.awt.TextArea;
import java.awt.TextArea;
public class TextAreaHorizontalVariable extends TextAreaBothFixed {
/**********************************************************************************************************************************/
/**
* Constructors
**/
/** Test Engine constructor */
public TextAreaHorizontalVariable() {
super(TextArea.SCROLLBARS_HORIZONTAL_ONLY, false);
}
public String getHelpText(){
String help = "Displays a text area with horizontal and vertical bars, variable width font (Helvetica 14 pt)\n"+
"Items to test: \n"+
" => Scrolling along horizontal scrollbar:\n"+
" - pressing the arrow boxes should advance one tick, keeping the boxes pressed should continue moving the bar\n"+
" - pressing the spaces between boxes and scrollbox should advance one screen width, keeping the mouse down should continue moving the bar\n"+
" - the scrollbox can be moved by clicking and dragging it\n"+
" also test that the text moves along with the scrollbox\n"+
" => Scrolling by text dragging\n"+
" - selecting and dragging over the right border of the text area should move the scrollbar right. The scrolling can be stopped by moving left again\n"+
" - selecting and dragging over the left border of the text area should move the scrollbar right. The scrolling can be stopped by moving right again\n"+
" - selecting and dragging over the upper border of the text area should move the scrollbar right. The scrolling can be stopped by moving down again\n"+
" - selecting and dragging over the lower border of the text area should move the scrollbar right. The scrolling can be stopped by moving up again\n"+
" also test that the scrollboxes move along with the text\n"+
" => Text selection\n"+
" - Dragging over a text should select that text. Pressing the <DOWN> button should copy that text into the lower TextField\n"+
" => Text insert and replace\n"+
" - Pressing the <UP> button should insert the contents of the TextField into the text area at cursor position\n"+
" - If a part of the TextArea textis selected, pressing the button should replace that text with the contents of the TexField\n";
return help;
}
}