com.ibm.as400.vaccess

Class ProgramCallMenuItem

    • Constructor Detail

      • ProgramCallMenuItem

        public ProgramCallMenuItem()
        Deprecated. 
        Constructs a ProgramCallMenuItem object.
      • ProgramCallMenuItem

        public ProgramCallMenuItem(String text)
        Deprecated. 
        Constructs a ProgramCallMenuItem object.
        Parameters:
        text - The menu item text, or null if there is no text.
      • ProgramCallMenuItem

        public ProgramCallMenuItem(String text,
                           Icon icon)
        Deprecated. 
        Constructs a ProgramCallMenuItem object.
        Parameters:
        text - The menu item text, or null if there is no text.
        icon - The menu item icon, or null if there is no icon.
      • ProgramCallMenuItem

        public ProgramCallMenuItem(String text,
                           Icon icon,
                           AS400 system)
        Deprecated. 
        Constructs a ProgramCallMenuItem object.
        Parameters:
        text - The menu item text, or null if there is no text.
        icon - The menu item icon, or null if there is no icon.
        system - The system on which the programs are run.
      • ProgramCallMenuItem

        public ProgramCallMenuItem(String text,
                           Icon icon,
                           AS400 system,
                           String program,
                           ProgramParameter[] parmlist)
        Deprecated. 
        Constructs a ProgramCallMenuItem object.
        Parameters:
        text - The menu item text, or null if there is no text.
        icon - The menu item icon, or null if there is no icon.
        system - The system on which the programs are run.
        program - The program name as a fully qualified path name in the library file system. The library and program name must each be 10 characters or less.
        parmlist - A list of up to 35 parameters with which to run the program.
    • Method Detail

      • addActionCompletedListener

        public void addActionCompletedListener(ActionCompletedListener listener)
        Deprecated. 
        Adds a listener to be notified when an action is completed.
        Parameters:
        listener - The listener.
      • addErrorListener

        public void addErrorListener(ErrorListener listener)
        Deprecated. 
        Adds a listener to be notified when an error occurs.
        Parameters:
        listener - The listener.
      • addPropertyChangeListener

        public void addPropertyChangeListener(PropertyChangeListener listener)
        Deprecated. 
        Adds a listener to be notified when the value of any bound property changes.
        Overrides:
        addPropertyChangeListener in class Container
        Parameters:
        listener - The listener.
      • addVetoableChangeListener

        public void addVetoableChangeListener(VetoableChangeListener listener)
        Deprecated. 
        Adds a listener to be notified when the value of any constrained property changes.
        Overrides:
        addVetoableChangeListener in class JComponent
        Parameters:
        listener - The listener.
      • getMessageList

        public AS400Message[] getMessageList()
        Deprecated. 
        Returns the message list resulting from the last program call that was run.
        Returns:
        The message list.
      • getMessageText

        public String getMessageText()
        Deprecated. 
        Returns the message text from the last program that was run. The message will be the first message received.
        Returns:
        The message text.
      • getParameterList

        public ProgramParameter[] getParameterList()
        Deprecated. 
        Returns the parameter list.
        Returns:
        The parameter list.
      • getProgram

        public String getProgram()
        Deprecated. 
        Returns the program which will be called when the button is pressed.
        Returns:
        The program which will be called when the button is pressed.
      • getSystem

        public AS400 getSystem()
        Deprecated. 
        Returns the system on which programs are run.
        Returns:
        The system on which programs are run.
      • removeActionCompletedListener

        public void removeActionCompletedListener(ActionCompletedListener listener)
        Deprecated. 
        Removes a action completed listener.
        Parameters:
        listener - The listener.
      • removeErrorListener

        public void removeErrorListener(ErrorListener listener)
        Deprecated. 
        Removes an error listener.
        Parameters:
        listener - The listener.
      • setParameterList

        public void setParameterList(ProgramParameter[] parmlist)
                              throws PropertyVetoException
        Deprecated. 
        Sets the list of parameters to pass to the program.
        Parameters:
        parmlist - A list of up to 35 parameters with which to run the program. It will replace any parameters previously set.
        Throws:
        PropertyVetoException - If the change is vetoed.
      • setSystem

        public void setSystem(AS400 system)
                       throws PropertyVetoException
        Deprecated. 
        Sets the system on which programs are run.
        Parameters:
        system - The system on which programs are run.
        Throws:
        PropertyVetoException - If the change is vetoed.