com.ibm.as400.vaccess

Class CommandCallButton

    • Constructor Detail

      • CommandCallButton

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

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

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

        public CommandCallButton(String text,
                         Icon icon,
                         AS400 system)
        Deprecated. 
        Constructs a CommandCallButton object.
        Parameters:
        text - The button text, or null if there is no text.
        icon - The button icon, or null if there is no icon.
        system - The system on which commands are run.
      • CommandCallButton

        public CommandCallButton(String text,
                         Icon icon,
                         AS400 system,
                         String command)
        Deprecated. 
        Constructs a CommandCallButton object.
        Parameters:
        text - The button text, or null if there is no text.
        icon - The button icon, or null if there is no icon.
        system - The system on which commands are run.
        command - The command.
    • Method Detail

      • addActionCompletedListener

        public void addActionCompletedListener(ActionCompletedListener listener)
        Deprecated. 
        Adds a listener to be notified when a command has been run on the system.
        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.
      • getCommand

        public String getCommand()
        Deprecated. 
        Returns the command that is run when the button is pressed.
        Returns:
        The command that is run when the button is pressed.
      • getMessageList

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

        public String getMessageText()
        Deprecated. 
        Returns the text from the first message resulting from the last command that was run.
        Returns:
        The message text.
      • getSystem

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

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

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

        public void setCommand(String command)
                        throws PropertyVetoException
        Deprecated. 
        Sets the command that is run when the button is pressed.
        Parameters:
        command - The command that is run when the button is pressed.
        Throws:
        PropertyVetoException - If the change is vetoed.
      • setSystem

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