Interface Model

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void addPropertyChangeListener​(java.beans.PropertyChangeListener listener)
      Adds a PropertyChangeListener to this model element.
      int getX()
      Obtains the X co-ordinate for the model.
      int getY()
      Obtains the Y co-ordinate for the model.
      void removePropertyChangeListener​(java.beans.PropertyChangeListener listener)
      Removes a PropertyChangeListener from this model element.
      void setX​(int x)
      Specifies the X co-ordinate for the model.
      void setY​(int y)
      Specifies the Y co-ordinate for the model.
    • Method Detail

      • getX

        int getX()
        Obtains the X co-ordinate for the model.
        Returns:
        X co-ordinate for the model.
      • setX

        void setX​(int x)
        Specifies the X co-ordinate for the model.
        Parameters:
        x - X co-ordinate for the model.
      • getY

        int getY()
        Obtains the Y co-ordinate for the model.
        Returns:
        Y co-ordinate for the model.
      • setY

        void setY​(int y)
        Specifies the Y co-ordinate for the model.
        Parameters:
        y - Y co-ordinate for the model.
      • addPropertyChangeListener

        void addPropertyChangeListener​(java.beans.PropertyChangeListener listener)
        Adds a PropertyChangeListener to this model element.
        Parameters:
        listener - PropertyChangeListener to this model element.
      • removePropertyChangeListener

        void removePropertyChangeListener​(java.beans.PropertyChangeListener listener)
        Removes a PropertyChangeListener from this model element.
        Parameters:
        listener - PropertyChangeListener.