You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

6.2.8 JSMListインターフェース

JSM_COMMAND組み込み関数に対してオプションの作業リスト引数が使用される場合、このインターフェースを使用して作業リストの内容にアクセスできます。
public interface JSMList
{
  public int getFieldCount () ;
  public int getEntryCount () ;
  public int getMaxEntryCount () ;
 
  public Enumeration getNames () ;
  public Enumeration getLongNames () ;
 
  public String[] getNameArray () ;
  public String[] getLongNameArray () ;
 
  public Enumeration getFields () ;
  public JSMField[] getFieldArray () ;
 
  public int getIndex ( String name ) ;
  public boolean contains ( String name ) ;
 
  public String[] newEntryArray () ;
  public String[] getEntryArray ( int index ) ;
 
  public void clear () ;
  public void remove ( int index ) ;
  public void add ( String[] data ) ;
  public void set ( int index, String[] data ) ;
  public void insert ( int index, String[] data ) ;
}
 

  • No labels