org.globus.cog.gridface.impl.util
Class FormInputPanelMain

java.lang.Object
  extended byorg.globus.cog.gridface.impl.util.FormInputPanelMain

public class FormInputPanelMain
extends Object

A Demo of how FormInputPanel works


Constructor Summary
FormInputPanelMain()
           
 
Method Summary
 void checkThisOutMike(KeyEvent e)
          This was for mike who wanted to know how to add items from an editable ComboBox
 void createAndShowGUI()
           
 void getIntValue()
          Shows how to get the value based upon the index Need to have something in the Field Labeled Index (Int): of the indexValue form
 void getStringValue()
          Shows how to get the value based upon the Label Need to have something in the Field Labeled Value: of the indexValue form
 void getValues()
          Shows how to get all the values using either their label or their index (no input needed)
 void insert()
          Shows how to insert a field Need to have something in the Field Labeled Index (Int): of the indexValue form Need to have something selected in the Field Labeled Type: of the indexValue form
static void main(String[] args)
          Starts up the program
 void remove()
          Shows how to remove a field Need to have something in the Field Labeled Index (Int): of the indexValue form
 void setLabel()
          Shows how to set the label of a field Need to have something in the Field Labeled Index (Int): of the indexValue form Need to have something in the Field Labeled Value: of the indexValue form
 void setValue()
          Shows how to set the value of a field Need to have something in the Field Labeled Index (Int): of the indexValue form Need to have something in the Field Labeled Value: of the indexValue form
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormInputPanelMain

public FormInputPanelMain()
                   throws FormInputPanelException
Method Detail

createAndShowGUI

public void createAndShowGUI()
                      throws FormInputPanelException,
                             Exception
Throws:
FormInputPanelException
Exception

getValues

public void getValues()
Shows how to get all the values using either their label or their index (no input needed)


getStringValue

public void getStringValue()
Shows how to get the value based upon the Label Need to have something in the Field Labeled Value: of the indexValue form


getIntValue

public void getIntValue()
Shows how to get the value based upon the index Need to have something in the Field Labeled Index (Int): of the indexValue form


setValue

public void setValue()
Shows how to set the value of a field Need to have something in the Field Labeled Index (Int): of the indexValue form Need to have something in the Field Labeled Value: of the indexValue form


setLabel

public void setLabel()
Shows how to set the label of a field Need to have something in the Field Labeled Index (Int): of the indexValue form Need to have something in the Field Labeled Value: of the indexValue form


remove

public void remove()
Shows how to remove a field Need to have something in the Field Labeled Index (Int): of the indexValue form


insert

public void insert()
Shows how to insert a field Need to have something in the Field Labeled Index (Int): of the indexValue form Need to have something selected in the Field Labeled Type: of the indexValue form


checkThisOutMike

public void checkThisOutMike(KeyEvent e)
This was for mike who wanted to know how to add items from an editable ComboBox

Parameters:
e -

main

public static void main(String[] args)
Starts up the program

Parameters:
args -