jp.gr.javacons.jim
インタフェース DataParameterEditor


public interface DataParameterEditor

The DataParameterEditor Interface provides methods for configuring the initial values of parameter information in the DataHolder parameter configuration editor. It can also get parameter information that has been set in the editor. The DataHolder parameter configuration editor that implements this interface is usually defined as a subclass of java.awt.Panel.

The DataHolder parameter configuration editor can be used by calling it from the editors for DataProvider Beans or JIM GUI Beans.


メソッドの概要
 Object getParameter(String paraName)
          This returns the parameter value, which corresponds to paraName, from the value set in the DataHolder parameter configuration editor.
 String[] getParameterNames()
          This returns the list of the parameter names handled by the DataHolder parameter configuration editor.
 void setParameter(String[] paraNames, Object[] paraValues)
          This sets an initial values in the DataHolder parameter configuration editor.
 void setParameter(String paraName, Object paraValue)
          This sets an initial value in the DataHolder parameter configuration editor.
 

メソッドの詳細

getParameter

public Object getParameter(String paraName)
This returns the parameter value, which corresponds to paraName, from the value set in the DataHolder parameter configuration editor.

getParameterNames

public String[] getParameterNames()
This returns the list of the parameter names handled by the DataHolder parameter configuration editor.

setParameter

public void setParameter(String[] paraNames,
                         Object[] paraValues)
This sets an initial values in the DataHolder parameter configuration editor.

setParameter

public void setParameter(String paraName,
                         Object paraValue)
This sets an initial value in the DataHolder parameter configuration editor.