Class Button

  • All Implemented Interfaces:
    java.io.Serializable

    @Entity
    public class Button
    extends Module
    The Image Module is the Ext JS representation of an HTML img element.
    Author:
    Kai Volland
    See Also:
    Serialized Form
    • Constructor Detail

      • Button

        public Button()
        Explicitly adding the default constructor as this is important, e.g. for Hibernate: http://goo.gl/3Cr1pw
    • Method Detail

      • getText

        public java.lang.String getText()
        Returns:
        the text
      • setText

        public void setText​(java.lang.String text)
        Parameters:
        text - the text to set
      • getTooltip

        public java.lang.String getTooltip()
        Returns:
        the tooltip
      • setTooltip

        public void setTooltip​(java.lang.String tooltip)
        Parameters:
        tooltip - the tooltip to set
      • getGlyph

        public java.lang.String getGlyph()
        Returns:
        the glyph
      • setGlyph

        public void setGlyph​(java.lang.String glyph)
        Parameters:
        glyph - the glyph to set
      • getConnectedModule

        public Module getConnectedModule()
        Returns:
        the connectedModule
      • setConnectedModule

        public void setConnectedModule​(Module connectedModule)
        Parameters:
        connectedModule - the connectedModule to set
      • getInteraction

        public java.lang.String getInteraction()
        Returns:
        the interaction
      • setInteraction

        public void setInteraction​(java.lang.String interaction)
        Parameters:
        interaction - the interaction to set
      • getButtonAction

        public java.lang.String getButtonAction()
        Returns:
        the buttonAction
      • setButtonAction

        public void setButtonAction​(java.lang.String buttonAction)
        Parameters:
        buttonAction - the buttonAction to set
      • getDefaultButton

        public java.lang.Boolean getDefaultButton()
        Returns:
        the defaultButton
      • setDefaultButton

        public void setDefaultButton​(java.lang.Boolean defaultButton)
        Parameters:
        defaultButton - the defaultButton to set
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Module
        See Also:
        According to http://stackoverflow.com/questions/27581/overriding-equals -and-hashcode-in-java it is recommended only to use getter-methods when using ORM like Hibernate
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class Module
        See Also:
        According to http://stackoverflow.com/questions/27581/overriding-equals -and-hashcode-in-java it is recommended only to use getter-methods when using ORM like Hibernate