InputBox

Document Actions
last edited 4 years ago by MAnn

description

This part shows a window with one text field for input a string. It allows the user to enter a string and press Enter - then it fires the STR outpin. User can close the window - then it fires CLOSED outpin.

figure

inpins

  1. GEOM(int, int, int, int) - ID = 1 - Sets window's size and location.
    • int - x coordinate of window's location
    • int - y coordinate of window's location
    • int - window's width
    • int - window's height
  2. SHOW() - ID = 2 - Shows the window.
  3. HIDE() - ID = 3 - Hides the window.

outpins

  1. STR(string) - ID = 51 - User closed the window.
    • string - fired input
  2. CLOSED(string) - ID = 52 - User closed the window.
    • string - fired "CLOSED"

links to cvs

java source file 1.0 "http://cvs.sourceforge.net/viewcvs.py/vcb/VCB/libraries/src/org/vcb/parts/ui/InputBox.java" at sourceforge.net

XML configuration file 1.0 "http://cvs.sourceforge.net/viewcvs.py/vcb/VCB/libraries/configs/ui/inputbox.vcb" at sourceforge.net