psdi.webclient.components

Class Pushbutton

  • All Implemented Interfaces:
    java.lang.Cloneable


    public class Pushbutton
    extends ComponentInstance
    Overwrites the click event because push buttons always send the mxevent to the dialog, while the registry and the presentations do not specify target to the mxevent of the pushbutton component. Also handles the case whan a menu is attached to the button.
    • Constructor Detail

      • Pushbutton

        public Pushbutton()
    • Method Detail

      • click

        public int click()
                  throws java.rmi.RemoteException,
                         MXException
        The button click() works differntly from the generic click() in the sense that it:
      • can open a menu
      • when targetid is specfified and there is no menu associated with the button, the generic handler is used
      • its default target is the page instance if it is not on a table
      • its default target is the button's parent - presumably the table when it is on a table
Overrides:
click in class ComponentInstance
Returns:
event handler status code
Throws:
java.rmi.RemoteException
MXException