org.globus.cog.gridface.interfaces
Interface StringInputPanel


public interface StringInputPanel

A panel the inputs a String. is a Panel that looks similar to
+--------------------------------+
| Name : __________________ |
+--------------------------------+
it is useful to input quickly some names


Method Summary
 void addListener(Listener listener)
          Adds a Listener so that changes are propagated.
 void get()
          gets the value that is used in the panel.
 void removeListener(Listener listener)
          Removes a listener for the component.
 void set(String value)
          Set the value that is used in the panel.
 void setLabel(String label)
          Set the label that is used in the panel.
 

Method Detail

setLabel

public void setLabel(String label)
Set the label that is used in the panel.

Parameters:
label - The new label.

set

public void set(String value)
Set the value that is used in the panel.


get

public void get()
gets the value that is used in the panel.


addListener

public void addListener(Listener listener)
Adds a Listener so that changes are propagated.

Parameters:
listener - a Listener that listens to the changes

removeListener

public void removeListener(Listener listener)
Removes a listener for the component.

Parameters:
listener - a Listener that used to listen to the changes