Class AbstractButton

    • Constructor Detail

      • AbstractButton

        public AbstractButton​(def.dom.HTMLElement element)
        Creates the object
        Parameters:
        element - The HTML element representing this component
    • Method Detail

      • addActionListener

        public void addActionListener​(ActionListener listener)
        Clone of javax.swing.AbstractButton.addActionListener
        Parameters:
        listener - The listener
      • onclick

        public void onclick()
        The method for click events
      • setTooltip

        public void setTooltip​(java.lang.String text)
        Clone of javax.swing.AbstractButton.setTooltip
        Parameters:
        text - The text
      • setIcon

        public void setIcon​(AbstractHTMLImageProducer<?> producer)
        Sets the icon
        Parameters:
        producer - The icon producer